Chapter 9. Modbus/TCP Client
142
PACSystems* RX7i & RX3i TCP/IP Ethernet Communications User Manual
GFK-2224Q
Operation of the Communications Request
Figure 54 below shows how Communications Requests are executed to complete a data read from the remote
Modbus/TCP device. The figure specifically illustrates the successful operation of a data read.
Client
PACSystems
RX3i CPU
Ethernet
Interface
Server
Ethernet Interface
LAN
Power flows to Read
COMMREQ in ladder
program
Command Block sent to
Interface
Verify
Command Block
and set up channel
to server
Read Request
Data
Data
Client
COMMREQ
Status Word
Return COMMREQ
Status (CRS) Word
to CPU
Data
Data
Domain of a channel
Domain of a TCP connection
Domain of a remote server
Server
CPU
Interface
Read Request
Data
Backplan
PLC
Server
Power flows to Open
ConnectionCOMMREQ in
ladder program
Command Block sent to
Interface
Verify Command
Block and set up
channel to server
COMMREQ
Status Word
Return COMMREQ
Status (CRS) Word
to CPU
Set Channel Open Bit
Channel Open Bit is
set to 1
Power flows to Close
Connection COMMREQ in
ladder program
Command Block sent to
Interface
Verify
Command Block
and close channel
to server
COMMREQ
Status Word
Return COMMREQ
Status (CRS) Word
to CPU
Clear Channel Open Bit
Channel Open Bit is
set to 0
This sequence must
be repeated for each
read or write request
Accept
connection
Send connection
acknowlegement
Send disconnect
acknowlegement
Receive Disconnect
Figure 55: Illustration of Phased Operation of a COMMREQ
1.
A Communications Request begins when there is power flow to a COMMREQ function in the client. The
Command Block data is sent from the CPU to the Ethernet interface.
2.
The COMMREQ Status word (CRS word) is returned immediately if the Command Block is invalid. If the
syntax is correct, then the CRS word is returned after the transfer of data.
Содержание 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: ......