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.
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: ......