PLC-5 Example

The following sample message block is an example of sending unsolicited message from a PLC-5 to a CIMPLICITY host running RSLinx software through a PI Gateway.

Control Address:

N50:0

Communication Command:

PLC-2 Unprotected Write

PLC-5 Data Table Address:

N55:0

Size In Elements:

2

Local / Remote:

LOCAL

Remote Station:

N/A

Link ID:

N/A

Remote Link type:

N/A

Local Node Address:

15

(This is the DH+ node address of the EI module on the PI Gateway. It is also called the virtual port no. on PI Gateway)

Destination DT address:

30

In CIMPLICITY software, if you define an INT type array point of 2 elements with address N55:0>30, and scan type UNSOLICITED for the device sending the unsolicited data, values are updated each time the data is received from the device.

The following section must be included in piunsol.ini file on host computer.

[IP address of PI Gateway]

30=2

More information

Ethernet through PI Gateway.