HOST-LINK communication driver

 

HOST-LINK communication driver is the driver to communicate with PLC of OMRON Corporation in Japan.

 

1. Read Settings

 

<Figure 1> is read setting example of HOST-LINK communication driver.

<Figure 1>  Read setting example of HOST-LINK communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(2), Data Bit(7), Stop Bit(2) respectively, according to setting of PLC.

 

HOST-LINK communication driver read schedule

Read schedule setting parameters are as follows:

1) Unit number – 0 ~ 31 PLC unit number.

2) Read memory type – memory type = IR, HR, AR, LR, DM, PV, ...

3) Read start address – read start address in memory type.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read size – word unit read size.

 

Read schedule example)

READ, 0, IR, 0, 0,  10,

READ, 0, HR, 0, 10, 10,

READ, 0, AR, 0, 20, 10,

READ, 0, LR, 0, 30, 10,

READ, 0, DM, 0, 40, 10,

READ, 0, PV, 0, 50, 10,

 

2. Write settings

You can set OMRON PLC by using 'write settings'. 

 

Note) You can write only 'Monitoring' mode. ( can't write when 'Run' mode )

 

Digital Write

Dgital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 31 PLC unit number.

3)  ADDRESS          writing address in memory type.

4)  Extra1                  writte memory type = IR, HR, AR, LR, DM, PV, STAT.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0003, Extra1:HR,  Extra2 : 0

The setting parameter shown above is bit write control( On/Off ) example for 0 word, 3 bit of HR memory.

 

Analog Write 

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 31 PLC unit number.

3)  ADDRESS          writing address in memory type.

4)  Extra1                  writte memory type = IR, HR, AR, LR, DM, PV, STAT.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0015, Extra1:IR,  Extra2 : 0

The setting parameter shown above is word write example for 15 word of IR memory.

 

Notes of DIP switch setting

Please set 'ON - RS232:Fixed Setting' when communiting RS-232C for C200HS model.