9 Socket Service
9-14
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
9-6 Details on Using the Socket Services
The built-in EtherNet/IP port has 8 sockets for TCP and 8 sockets for UDP. To use these sockets for
communications, special ST instructions for sockets are executed to execute the following processes.
9-6-1 Using the Socket Services
Open processing: This process places the socket in a usable state. This is the first process that is exe-
cuted when using socket services. With TCP, open processing is performed until a
connection is established.
Close processing: This process ends the use of the socket. With TCP, it closes the connection.
Send processing: This process sends data from the socket.
Receive processing: This process receives data from the socket.
Clear processing: This process clears data in the receive buffer received from the remote node.