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.
Содержание PACSystems RX7i
Страница 45: ......
Страница 54: ...Chapter 4 Configuration GFK 2224Q January 2017 41 Figure 18 CPE400 Advanced Ethernet Configuration LAN1 LAN 2 ...
Страница 80: ...Chapter 4 Configuration GFK 2224Q January 2017 67 ...
Страница 81: ......
Страница 122: ...Chapter 6 Programming EGD Commands GFK 2224Q January 2017 109 ...
Страница 142: ...Chapter 7 Programming SRTP Channel Commands GFK 2224Q January 2017 129 Figure 51 Sample Ladder Logic for COMMREQ ...
Страница 147: ......
Страница 193: ...Chapter 10 OPC UA Server 180 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q Example ...
Страница 202: ...Chapter 10 OPC UA Server GFK 2224Q January 2017 189 Figure 73 Machine Edition Online Command to Set Passwords ...
Страница 211: ......
Страница 253: ...Chapter 12 Diagnostics 240 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q ...
Страница 262: ...Chapter 13 Network Administration GFK 2224Q January 2017 249 ...
Страница 263: ......