SPT600 Series UPS Communication Driver

 

SPT600 Series UPS is driver to communicate with UPS device of Sampoong Power Tech Co., Ltd, in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of SPT600 Series UPS communication driver.

<Figure 1> Read setting example of SPT600 Series UPS driver

Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to device.

 

SPT600 Series UPS driver's read schedule

Read schedule setting parameters are as follows : 

1) Device Number – Don't care.

2) Read Command – Set among the Q1, I, F. (Refer to <Table 1>)

3) Read Start Address – Don't care.

4) Save start address for Communication Server - Saving start address of Communication Server.

5) Read Size – Always fixed to 1. Fixed according to read command type. (Refer to <Table 1>)

 

Read schedule)

READ,     0,     Q1,     0,    0,   1,

   

<Table 1> is read command type and data saving address of SPT600 Series UPS communication driver.

Read Command

Contents

Data Saving Address

Remarks

Q1

Status Inquiry

Start Add + 0 : I/P Voltage

Start Add  + 1 : I/P Fault Voltage

Start Add  + 2 : O/P Voltage

Start Add  + 3 : O/P Current

Start Add  + 4 : I/P Frequency

Start Add  + 5 : Battery Voltage

Start Add  + 6 : Temperature

Start Add  + 7 : UPS Status

UPS Status :

No.0 bit : Beeper ON,

No.1 bit : Shutdown Active,

No.2 bit : Test In Progress,

No.3 bit : UPS Standby(0 = On Line),

No.4 bit : UPS Failed,

No.5 bit : Bypass/Boost,

No.6 bit : Battery Low,

No.7 bit : Utility Fail,

I

Read UPS Information

Start Add  + 0 : Company Name

Start Add  + 1 : UPS Model

Start Add  + 2 : Version

Refer to string value of STRING memory

F

Read UPS Rating Information

Start Add  + 0 : Rating Voltage

Start Add  + 1 : Rating Current

Start Add  + 2 : Battery Voltage

Start Add  + 3 : Frequency

 

<Table 1> Read command type and data saving address of SPT600 Series UPS communication driver

Notice) Read value which is read by SPT600 Series UPS communication driver is saved as same value to WORD/DWORD/FLOAT/STRING memory of data saving position( Only value format is different ).

If you click the icon 2 in protocol option part, you can see the dialog box such as <Figure 2>. You can also set read schedule by using this part.

<Figure 2> Example of SPT600 Series UPS communication driver's Option dialog box

You can set read schedule by using 3, 4, 5 button and listbox of <Figure 2>.

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

<Figure 3> Example of SPT600 Series UPS communication driver's read schedule Add/Edit dialog box
2. Writing settings

 

You can control UPS by using writing settings.

 

Digital Write

Digital write setting parameters are as follows: 

1) Port             Connected port number. (Not COM number)

2) Station         Don't care.

3) Address      Don't care.

4) Extra1          Enter as T, TL, T01 ~ T99, Q, S01 ~ S10, S01R0001 ~ S10R9999, C, CT and etc. (Refer to <Table 2>)

5) Extra2          Don't care.

Write command

Contents

Remarks

T

10 Second Test

 

TL

Test Until Battery Low

 

T01 ~ T99

Test for Specified Time Period

Test after 1~ 99 minute

Q

Turn On/Off Beep

Toggle Beep

S01 ~ S10 or

S.1 ~ S.10

Shutdown Command

Shutdown after 1 ~ 10 minute

S01R0000 ~ S10R9999 or

S.1R0000 ~ S.10R9999

Shutdown and Restore Command

Shutdown after 1 ~ 10 minute

Restore after 1 ~ 9999 minute

C

Cancel Shutdown Command

 

CT

Cancel Test Command

<Table 2> Write command and contents of SPT600 Series UPS communication driver

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : T  EXTRA2 : Blank

The setting parameter shown above is digital writing example to test SPT600 Series UPS device connected with no.0 port during 10 second.

 

Write example 2)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : TL  EXTRA2 : Blank

The setting parameter shown above is digital writing example to test SPT600 Series UPS device connected no.0 port until status of battery Low.

 

Write example 3)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : C  EXTRA2 : Blank

The setting parameter shown above is digital writing example to cancel Shutdown command of SPT600 Series UPS device connected with no.0 port.

 

Analog Write

Set the analog write setting by using same method with digital write.

 

3. Appearance of device

<Figure 4> is front appearance of SPT600 Series UPS device, <Figure 5> is back appearance.

<Figure 4> Front appearance of SPT600 Series UPS device

<Figure 5> Back appearance of SPT600 Series UPS device