Combinet-Network Wireless PLC Communication Driver is the driver to communicate with network wireless PLC controller of SungRim M&C Co., Ltd. in Korea.
<Figure 1> is read setting example of Combinet-Network Wireless PLC communication driver.
<Figure 1> Read setting example of Combinet-Network Wireless PLC communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.
Combinet contrller can set baud rate, etc by using 'setting button',
Combinet-Network Wireless PLC communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – Unit address and computer number = 0 ~ 255 or 0 ~ 65535(high byte = computer number).
2) Read command – Read memory type = X, Y, M, K, F, A, B, W, L, D, G. ( Refer to <Table 1> )
3) Read Start Address – Read start address of memory type. ( X, Y, M, K, F, A = word unit address, 1 = 10h )
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – Word unit read data size.
Read schedule example)
READ, 1, M, 0, 0, 5,
READ, 1, W, 0, 10, 10,
FLOAT, 1, D, 50, 20, 10,
<Table 1> is memory type of Combinet-Network Wireless PLC communication driver.
Memory (Variable) Type | Data Unit |
Contents |
X | Bit |
Discrete input variables |
Y | Discrete output variables |
|
M | Auxiliary memory |
|
K | Non-volatile memory |
|
F | Status bits |
|
A | Step control bits |
|
B | Byte |
Byte variables |
W | WORD |
Word (16bit) variables |
L | DWORD |
Double word (LONG, 32bit) variables |
D | FLOAT |
Float( 32bit) variables |
G | WORD |
Maintain word variables when power cut |
<Table 1> Memory type of Combinet-Network Wireless PLC communication driver |
Combinet-Network Wireless PLC 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 Combinet-Network Wireless PLC communication driver¡¯s Option dialogue box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of Combinet-Network Wireless PLC 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.
You can write Combinet-Network Wireless PLC by using write settings.
Bit Write
Bit write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Unit address and computer number = 0 ~ 255 or 0 ~ 65535(high byte = computer number).
3) ADDRESS Bit write address of memory.
Upper 3 ~ 7 digit : X, Y, M, K, F, A memory = hexadecimal nunber( x 16 ), else memory = decimal number( x 10 ),
Lower 1 digit : 0 ~ F bit position of 'X, Y, M, K, F, A' memory type.
4) Extra1 Write command = X, Y, M, K, F, A, B, W, L, D, G. ( Refer to <Table 1> )
5) Extra2 Don't care.
Write example 1)
PORT : 0 STATION : 1 ADDRESS : 000A EXTRA1 : M EXTRA2 : 0
The setting parameter shown above is an example of bit write for 'A'(11th) bit of M memory of Combinet-Network Wireless PLC.
Write example 2)
PORT : 0 STATION : 1 ADDRESS : 003A EXTRA1 : M EXTRA2 : 0
The setting parameter shown above is an example of bit write for '3A'(59th) bit of M memory of Combinet-Network Wireless PLC.
Word Write
Word write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Unit address and computer number = 0 ~ 255 or 0 ~ 65535(high byte = computer number).
3) ADDRESS Decimal uint word write address of memory.
X, Y, M, K, F, A memory = address x 16, else memory = decimal address,
4) Extra1 Write command = X, Y, M, K, F, A, B, W, L, D, G. ( Refer to <Table 1> )
5) Extra2 Don't care.
Write example 1)
PORT : 0 STATION : 1 ADDRESS : 0000 EXTRA1 : W EXTRA2 : 0
The setting parameter shown above is an example of word write for '0' word of M memory of Combinet-Network Wireless PLC.
Write example 2)
PORT : 0 STATION : 1 ADDRESS : 0015 EXTRA1 : W EXTRA2 : 0
The setting parameter shown above is an example of word write for '15' word of W memory of Combinet-Network Wireless PLC.
Write example 3)
PORT : 0 STATION : 1 ADDRESS : 0021 EXTRA1 : L EXTRA2 : 0
The setting parameter shown above is an example of double word write for '21' double word of L memory of Combinet-Network Wireless PLC.
Write example 4)
PORT : 0 STATION : 1 ADDRESS : 0032 EXTRA1 : D EXTRA2 : 0
The setting parameter shown above is an example of float write for '32' double word of D memory of Combinet-Network Wireless PLC.
Connection of main power line and communication cable are as follows.
Connection of RS-232C communication cable
You have to connect Combinet PLC's 1(TXD), 2(RXD), 5(GND) connector and 2(RXD), 3(TXD), 5(GND) connector(9 pin) of computer side
Combinet side 5pin connector RS-232C 9pin connector of computer side
connector 1 (TXD) ----------------------------- connector 2 (RXD)
connector 2 (RXD) ----------------------------- connector 3 (TXD)
connector 5 (GND) ----------------------------- connector 5 (GND)
Connection of RS-485 communication cable
You have to connect Combinet PLC's 3(+), 4(-) connector and +, - connector( RS-485) of computer side
Combinet side 5pin connector RS-485 connector of computer side
connector 3 (+) ---------------------------------- + connector
connector 4 (-) ---------------------------------- - connector
<Figure 4> shows the appearance of Combinet PLC equipment.
<Figure 4> Appearance of Combinet PLC equipment. |
Connection of main power line
Please connect DC 24V main power to 23( + ), 24( - ) connector.