AMSYS RS1 Meter Communication Driver is the driver to communicate with RS1 model power meter of Omni System Co., Ltd. in Korea.
<Figure 1> is read setting example of AMSYS RS1 Meter communication driver.
<Figure 1> Read setting example of AMSYS RS1 Meter communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(1200), Parity Bit(2), Data Bit(8), Stop Bit(1) respectively.
RS1 power meter's baud rate, Parity Bit, Data Bit, Stop Bit are fixed to 1200, 2, 8, 1.
AMSYS RS1 Meter communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – Low WORD address of equipment = 0 ~ FFFFh(65535, total address of equipment = 0 ~ FFFFFFFFh)
2) Read command – MASTER : 1 : 1 connection,
ADDR : Multi Drop connection.
3) High WORD address of equipment –High WORD address of equipment = 0 ~ FFFFh(65535, total address of equipment = 0 ~ FFFFFFFFh)
4) Save Start Address for Communication Server – Saving start address of Communication Server.
5) Read Size – Size = Fix to 1.(read of one power value)
Read schedule example)
READ, 0, ADDR, 0, 0, 1,
READ, 1, ADDR, 0, 1, 1,
AMSYS RS1 Meter communication driver store the same data in WORD, DWORD, FLOAT memory, but the data formats are different.
If you click the icon 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 of AMSYS RS1 Meter communication driver¡¯s Option dialogue box |
You can also set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of AMSYS RS1 Meter 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> will be shown.
You can set AMSYS RS1 Meter's address of equipment by using write settings.
Bit write
Bit write setting parameters are as follows:
1) PORT : Port no. (0 ~ 255)
2) STATION : Low WORD address of equipment to be set = 0 ~ FFFFh(65535, total address of equipment = 0 ~ FFFFFFFFh)
3) ADDRESS : High WORD address of equipment to be set = 0 ~ FFFFh(65535, total address of equipment = 0 ~ FFFFFFFFh)
4) EXTRA 1 : Don't care.
5) EXTRA 2 : Don't care.
Write example 1)
PORT : 0 STATION : 1 ADDRESS : 0000 EXTRA1 : R.0 EXTRA2 : 0
The setting parameter shown above is an example of AMSYS RS1 Meter's address setting to 1.
Write example 2)
PORT : 0 STATION : 1 ADDRESS : 0001 EXTRA1 : R.0 EXTRA2 : 0
The setting parameter shown above is an example of AMSYS RS1 Meter's address setting to 65537(10001h).
Word write
Word write and bit write have the same setting parameters except output value.
Read schedule setting parameters are as follows:
Communication cable connection of AMSYS RS1 Meter are as follows.
Connection of RS-485 communication cable
Please connect A1, B1 connector of AMSYS RS1 Meter and +, - connector of computer's RS-485 respectively.
RS1 Meter connector of computer's RS-485
5 connector ------------------------------ - connector
6 connector ------------------------------ + connector
<Figure 4> shows the appearance of AMSYS RS1 Meter.
<Figure 4> Appearance of AMSYS RS1 Meter |