SHN-2800 Totalizer Communication Driver

 

SHN-2800 Totalizer Communication Driver is the driver to communicate with SHN-2800 Totalizer Equipment of Shinho System Co., Ltd. in Korea.

 

 

1. Read Settings

 

<Figure 1> is SHN-2800 Totalizer communication driver read setting examples.

 

<Figure 1> SHN-2800 Totalizer communication driver read setting examples

 

<Figure 1> is the screen where Com Port(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) are input in DEVICE part

SHN-2800 Totalizer¡¯s Com Baud is set to one of the three(4800, 9600, 19200).

 

 

SHN-2800 Totalizer communication driver read schedule

Read schedule setting parameters are as follows:

1)       STATION – Input equipment address between 0 ~ 99.

2)       Read Command – ALARM1, ALARM2, A_STATUS, PV, TOTAL, C_TOTAL, AO, SCALE_H, SCALE_L, ADJ, AL1, AL2, DEADBAND, HIGH_O, LOW_O, FACTOR (Refer to <Table 1>)

3)       Read Start Address – Don¡¯t care.

4)       Save Start Address for Communication Server – Input Memory Start Address which will store the data from equipment.

5)       Read Size – Read Size is fixed with 1.

 

Read schedule example

READ,     1,    PV,     0,    0,   1,

READ,     1, TOTAL,     0,    1,   1,

 

<Table 1> is a description of read commands and stored values of SHN-2800 Totalizer communication driver.

 

Command Contents Stored Value(Save Start Address + 0) Remarks
ALARM1 Reading ALARM 1 ALARM 1 Value
ALARM2 Reading ALARM 2 ALARM 2 Value  
A_STATUS Reading ALARM Status ALARM Status
PV Reading Current Value(PV) PV Value  
TOTAL Reading Integrated Value Integrated value  
C_TOTAL Reading Instantaneous Integrated Value Instantaneous Integrated Value  
AO Reading Analog Output Value Current Output Value  
SCALE_H Reading Scale High Value Scale High Value  
SCALE_L Reading Scale Low Value Scale Low Value  
ADJ Reading Sensor Adj Value Sensor Adj Value  
AL1 Reading AL 1 Type Value AL 1 Type Value 0 = High Alarm, 1 = Low Alarm
AL2 Reading AL 2 Type Value AL 2 Type Value
DEADBAND Reading AL DeadBand Value AL DeadBand Value  
HIGH_O Reading High Output Value High Output Value  
LOW_O Reading Low Output Value Low Output Value  
FACTOR Reading Factor Value Factor Value  

<Table 1> Read commands and stored values of SHN-2800 Totalizer Communication Driver

 

SHN-2800 Totalizer store the same data in WORD, DWORD, FLOAT memory, but the data format are different.

If you click the icon ¼³¸í: ¼³¸í: ¼³¸í: ¼³¸í: 2 in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.

 

<Figure 2> Example SHN-2800 Totalizer Communication Driver¡¯s Option dialogue box

 

 

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

 

<Figure 3> Example of SHN-2800 Totalizer communication driver¡¯s read schedule Add/Edit dialogue box

 

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

 

 

2. Write settings

You can change the setting values of SHN-2800 Totalizer Equipment by using write commands.

 

 

Bit write

Bit write and word write have the same setting parameters except output value(0 or 1).

 

 

Word write

Word write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION Equipment ID between 0 ~ 99.

3)  ADDRESS            Don¡¯t care.

4)  Extra1                  60 ALARM1, ALARM2, TOTAL, C_TOTAL, SCALE_H, SCALE_L, ADJ, AL1, AL2, DEADBAND, HIGH_O, LOW_O, FACTOR, POINT, T_POINT (Refer to <Table 2>)

5)  Extra2                  The number of decimal places. 0 = No decimal places, 1 ~ 7 = 1 ~ 7 decimal places.

 

<Table 2> is a description of write commands and the range of write value of SHN-2800 Totalizer communication driver.

 

Command Contents Range of Write Value
ALARM1 ALARM 1 Value Setting Range of Setting Value
(Including decimal places)
ALARM2 ALARM 1 Value Setting
TOTAL Integrated-Value Reset
C_TOTAL Instantaneous-Integrated-Value Reset
SCALE_H Scale High Value Setting
SCALE_L Scale Low Value Setting
ADJ Sensor Adj Value Setting
AL1 AL 1 Type Setting 0 = High Alarm, 1 = Low Alarm
AL2 AL 2 Type Setting
DEADBAND AL DeadBand Value Setting Range of Setting Value
(Including decimal places)
HIGH_O High Output Value Setting
LOW_O Low Output Value Setting
FACTOR Factor Value Setting
POINT Decimal Places Setting related Instantaneous-Value 0 = No decimal places,
1 ~ 7 = 1 ~ 7 decimal places
FACTOR Decimal Places Setting related Integratead-Value

<Table 2> Write commands and the range of write value of SHN-2800 Totalizer Communication Driver

 

Write example 1)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : TOTAL  EXTRA2 : 0

The setting parameter shown above is an example of word write for reseting integrated-value of SHN-2800 Totalizer Equipment connected with 0 port, set to 1 station.

 

Write example 2)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : SCALE_H  EXTRA2 : 1

The setting parameter shown above is an example of word write for changing Scale High Value of SHN-2800 Totalizer Equipment connected with 0 port, set to 1 station.

Because of ¡®Extra2 = 1¡¯, Scale High Value has one decimal place. Therefore, ¡®Actual Output Value = Setting Value x 10¡¯.

 

 

Block-Write

SHN-2800 Totalizer communication driver don¡¯t support ¡®Block write¡¯.

 

 

3. Communication Cable Connection of EnerPulse Power Supply Equipment

You can connect SHN-2800 Totalizer Equipment and communication cable in the following ways.

 

Communication Cable Connection

To connect SHN-2800 Totalizer Equipment and communication cable, you must use 8(+), 9(-) of serial socket shown in the back of equipment and RS-485 +, - of comunication cable.

<Figure 4> shows the appearance of SHN-2800 Totalizer.

 

1.png

<Figure 4> Appearance of SHN-2800 Totalizer Equipment

 

4. SHN-2800 Totalizer Equipment¡¯s Address, Com Baud, so on Setting

You can set SHN-2800 Totalizer Equipment¡¯s Address, Com Baud and so on, such as <Figure 5>.

 

2.png

<Figure 5> SHN-2800 Totalizer Equipment¡¯s Address, Com Baud, so on Setting examples