SF-2200 Protocol is the driver to communicate with Gas Volume Conversion Device of JB Enertek in Korea.
<Figure 1> is read setting example of SF-2200 Protocol communication driver.
<Figure 1> Read setting example of SF-2200 Protocol communication driver |
Device part of <Figure 1> input com portCOM4), baud rate( 9600 ), parity bit( 0 ), data bit( 8 ), stop bit( 1 )respectively, accordint to the setting of equipment.
Read schedule of SF-2200 Protocol communication driver
Read schedule setting parameters are as follows:
1) station – don't card.
2) read command – Command = SERIAL, TEMP, PRES, CORR, FLOW, BATT.
3) read address – don't care.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read size – fixed to 1.
Read schedule example)
READ, 0, TEMP, 0, 0, 1,
READ, 0, PRES, 0, 2, 1,
READ, 0, FLOW, 0, 4, 1,
<Table 1> is data saving address and readed value for each read command of SF-2200 Protocol communication driver.
Read Command |
Contents |
Data saving value of Communication Server |
Remarks |
SERIAL |
read of serial number |
Saving Start Address + 0 : 1st serial number data ... Saving Start Address + n : serial number data |
save serial number character at STRING memory (Saving Start Address + 0) |
TEMP |
read of temperature |
Saving Start Address + 0 : current temperature Saving Start Address + 1 : unit |
FLOAT unit 0 : C, 1 : F |
PRES |
read of pressure |
Saving Start Address + 0 : current pressure Saving Start Address + 1 : unit |
FLOAT unit 0:kpa, 1:kgf/cm2, 2:bar, 3:psi, 4:atm |
CORR |
read of correction value |
Saving Start Address + 0 : before value of correction Saving Start Address + 1 : correction value Saving Start Address + 2 : K Factor Saving Start Address + 3 : LCD Off time Saving Start Address + 4 : Data saving interval Saving Start Address + 5 : À¯È¿Ç¥½ÃÀÚ¸®¼ö Saving Start Address + 6 : Battery Alarm Saving Start Address + 7 : Battery Offset |
DWORD unit DWORD unit WORD unit BYTE unit BYTE unit BYTE unit WORD unit WORD unit |
FLOW |
read of flow rate |
Saving Start Address + 0 : flow rate value |
FLOAT unit |
BATT |
read of Battery, C, K value |
Saving Start Address + 0 : Battery value Saving Start Address + 1 : C value Saving Start Address + 2 : K value |
FLOAT unit FLOAT unit FLOAT unit |
<Table 1> Data saving address and readed value for each read command |
SF-2200 Protocol communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE, INT64 memory, but the data format are different.
If you click the icon in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> Example of SF-2200 Protocol communication driver¡¯s Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of SF-2200 Protocol communication driver¡¯s read schedule Add/Edit dialog box |
When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.
SF-2200 Protocol don't support 'Write settings'.
<Figure 4> shows the appearance of SF-2200 Controller.
<Figure 4> Appearance of SF-2200 Protocol Controller |