Chapter 9. Modbus/TCP Client
164
PACSystems* RX7i & RX3i TCP/IP Ethernet Communications User Manual
GFK-2224Q
5
6
Figure 59: COMMREQ Ladder Logic Segment (continued)
Rung # 5
: The COMMREQ Function Block has three input parameters and one output parameter.
▪
The IN field points to the starting location of the Command Block parameters (%R00301 in this example).
▪
The SYSID field of the COMMREQ Function Block defines the target rack and slot of the Ethernet interface to
receive the command data. This is a hexadecimal word value that gives the rack (high byte) and slot (low
byte) location of the Ethernet interface module. In the example, the first three number places (from left to
right) are zeroes and are not displayed; only the last number, 4, appears. This indicates rack 0, slot 4.
▪
The TASK field of the COMMREQ Function Block indicates which mailbox task ID to use for the specified rack
and slot. For the RX3i and Rx7i ETM001 Ethernet interfaces TASK must always be set to zero. For
PACSystems CPU embedded Ethernet interface, TASK must be set to 65536 (0x10000) to address the CPU’s
Ethernet daughterboard.
▪
The FT output (energizes the OPEN_FLT coil in this example) is turned ON (set to 1) if there were problems
preventing the delivery of the Command Block to the Ethernet interface. In this case, the other status
indicators are not updated for this COMMREQ.
Rung # 6
: When ETH_READY is set the CRS word for the Open Modbus/TCP Connection COMMREQ is monitored
for a status of 1, indicating that the Open COMMREQ completed successfully. The CRS word change to 1 sets
coil OPEN_SUCCESS.
Summary of Contents for PACSystems RX7i
Page 45: ......
Page 80: ...Chapter 4 Configuration GFK 2224Q January 2017 67 ...
Page 81: ......
Page 122: ...Chapter 6 Programming EGD Commands GFK 2224Q January 2017 109 ...
Page 147: ......
Page 211: ......
Page 262: ...Chapter 13 Network Administration GFK 2224Q January 2017 249 ...
Page 263: ......