Typical sequence of transactions for a tcp server – Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual
Page 129

Publication ENET-UM527E-EN-P - October 2006
Socket Interface 129
Typical Sequence of Transactions For a TCP Server
The following diagram shows a typical sequence of socket interface
transactions with the Logix controller as a TCP server. Each transaction
between the Logix controller and web server is a MSG instruction.
The following is a typical sequence of transactions. The exact
sequence of sending and receiving data depends on the application
protocol.
Logix
controller
Web Server Module
10.10.10.10
Device
10.10.10.11
Open
Connection
Send
Data
Receive
Data
Open TCP Connection
Port=49100
Data = abc
Data = xyz
The response is returned to the
controller as soon as the data is sent.
CreateSocket
Port=49100
CreateSocket Response
Instance = 102
AcceptConnection
Write
Data = xyz
Write Response
Read
Read Response
Data = abc
AcceptConnection
Response