The following sample message block is an example of sending unsolicited message from an SLC-5/04 or SLC-5/05 to a CIMPLICITY host running RSLinx software through a PI Gateway.
Control Block: |
N7:50 |
Read/Write: |
Write |
Target Device: |
485-CIF |
Local / Remote: |
Local |
Channel: |
1 |
Target Node: |
13 (015) (Octal 15 is DH+ node address of EI module on PI Gateway) |
Local File address: |
N55:0 |
Target file address/offset: |
48 (The target offset is in byte count. Enter PLC-2 application address*2 expressed in decimal) |
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
Ethernet through PI Gateway. |