9 Socket Service
9-14
NJ/NX-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 the total number of sockets for TCP and UDP that is given in the fol-
lowing table.
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
UDP/TCP
Number of sockets
NX-series CPU Unit
NJ-series CPU Unit
Unit version 1.00 to 1.02 Unit version 1.03 or later
UDP socket service Total of 30 sockets Total of 16 sockets Total of 30 sockets
TCP socket service
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.