KD Power Relay 206 communication driver is the driver to communicate with relay input, output controller of KD Power Co,. Ltd. in Korea.
<Figure 1> is read setting example of KD Power Relay 206 communication driver.
<Figure 1> Read setting example of KD Power Relay 206 communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to controller.
Baud rate, parity bit, data bit stop bit of Relay 206 series are fixed to 9600, 0, 8, 1.
KD Power Relay 206 communication driver read schedule
Read schedule setting parameters are as follows:
1) Station – 0 ~ 31 controller station number. portable controller = 255.
2) Equipment type – R : OR-206 ( output module ), I : IR-206 ( input module )
3) Read start address – Don't care.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – Fixed to 1. ( 6 input, output status, refer to <Table 1> )
Read schedule example)
READ, 1, R, 0, 0, 1,
READ, 2, I, 0, 10, 1,
<Table 1> is data saving address and contnets of KD Power Relay 206 communication driver.
Equipment type | Contents | Data saving address | Remarks |
R | status read of output relay | Start addr + 0 ~ 5 : 1 ~ 6 output relay status | 0 = OFF,1 = ON |
I | status read of input relay | Start addr + 0 ~ 5 : 1 ~ 6 input relay status | |
<Table 1> Data saving address and contnets of KD Power Relay 206 communication driver |
If you click the icon in protocol option part at <Figure 1>, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> Example of KD Power Relay 206 communication driver¡¯s Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of KD Power Relay 206 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.
You can control Relay 206 by using 'writing settings'.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION 0 ~ 31 controller station number. portable controller = 255.
3) ADDRESS Relay number when R.1 write command.
4) Extra1 Write command = R.0 : all relay control of OR-206 module, R.1 : indivisual relay control of OR-206 module.
5) Extra2 Don't care.
Write example 1)
PORT:0, station:1, ADDRESS:0000, Extra1: R.0, Extra2 : 0
The setting parameter shown above is all relay control( 1 = on, 0 = off ) example of 1 station number Relay 206 controller.
Write example 2)
PORT:0, station:1, ADDRESS:0002, Extra1: R.1, Extra2 : 0
The setting parameter shown above is a relay control( 1 = on, 0 = off ) example for number 2( 3rd ) relay.
Write example 3)
PORT:0, station:1, ADDRESS:0003, Extra1: R.1, Extra2 : 0
The setting parameter shown above is a relay control( 1 = on, 0 = off ) example for number 3( 4th ) relay.
Analog Write
Analog write and digital write have the same setting parameters except output value.
Connection of communication cable and main power are as follows.
Connection of RS-485 communication cable
Please connect A1, B1(RS-485) connector of AD-206 and T+, T- of computer such as <Figure 4>.
RELAY-206 RS-485 connector of computer
A1 --------------------------------- +
B1 --------------------------------- -
<Figure 4> is connection example of communication cable and main power to AD-206( OR-206 and IR-206 ) controller
<Figure 4> Connection example of communication cable and main power to AD-206 controller |
Connection of main power
Please connect 100 ~ 240V AC 50/60 Hz power to main power connector such as <Figure 4>.