HanYoung SM100 Communication Driver is the driver to communicate with SM100 multi-channel temperature controller of HanYoungNux Co,. Ltd. in Korea.
<Figure 1> is read setting example of HanYoung SM100 communication driver.
<Figure 1> Read setting example of HanYoung SM100 communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(2), Data Bit(8), Stop Bit(1) respectively.
Also 'Use Check Sum'(0 : don't use, 1 : use, default = 0) is set by using option part.
HanYoung SM100 communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – 1 ~ 99 equipment address.
2) Read Command – Read command = D.(Refer to <Table 1>)
3) Read Start Address – Address = 1 ~ 1099, read start address of D register. (Refer to <Table 2> )
4) Save Start Address for Communication Server – Saving start address of Communication Server.
5) Read Size – Size = 1 ~ 32.
Read schedule example)
READ, 1, D, 1, 0, 20,
READ, 1, D, 21, 20, 20,
<Table 1> is a description of read start address and read command of HanYoung SM100 communication driver.
<Table 2> is content of D Register.
Read Command | Content | Read Start Address | Store Values (Save Start Address + 0) |
Remark |
D | Read of D Register Current Value | 1 ~ 1099 | Save Start Address + 0 ~ : Current of D Register |
Read Size = 1 ~ 32 , <Refer to <Table 2> |
<Table 1> Read start address and command of HanYoung SM100 communication driver |
|
<Table 2> Content of D Register at HanYoung SM100 |
HanYoung SM100 communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE, INT64 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 HanYoung SM100 communication driver¡¯s Option dialogue box |
Whether to use 'check sum' is set by using the part of ¡®Use Check Sum¡¯ shown in <Figure 2>.
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of HanYoung SM100 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 write setting values of HanYoung SM100 by using write commands.
Digital write
Digital write and analog write have the same setting parameters except output value(0 or 1).
Analog write
Analog write setting parameters are as follows:
1) PORT : Port no. (0 ~ 255)
2) STATION : 1 ~ 99 equipment address.
3) ADDRESS : Address = 1 ~ 1099, read start address of D register. (Refer to <Table 2> )
4) EXTRA 1 : Write command = D. (D Register)
5) EXTRA 2 : Don't care. .
Write example 1)
PORT:0, station:1, ADDRESS:0102, Extra1:D, Extra : 0
The setting parameter shown above is an example of word write for SV1(D0102 register) value of HanYoung SM100 connected with 0 port and 1 address(station).
Write example 2)
PORT:0, station:1, ADDRESS:0152, Extra1:D, Extra : 0
The setting parameter shown above is an example of word write for SV2(D0152 register) value of HanYoung SM100 connected with 0 port and 1 address(station).
Write example 2)
PORT:0, station:1, ADDRESS:0143, Extra1:D, Extra : 0
The setting parameter shown above is an example of word write for SVH1(D0143 register) value of HanYoung SM100 connected with 0 port and 1 address(station).
Block write
HanYoung SM100 communication driver don¡¯t support ¡®Block write¡¯.
<Figure 4> shows the appearance of HanYoung SM100.
<Figure 4> Appearance of HanYoung SM100 |