![background image](http://html1.mh-extra.com/html/omron/sysmac-nx1p2-10-1-series/sysmac-nx1p2-10-1-series_user-manual_1633435367.webp)
9-6
Details on Using the Socket Services
9-6-1
Using the Socket Services
The following table shows the maximum total number of TCP and UDP sockets for the built-in Ether-
Net/IP port.
UDP/TCP
Maximum number of sockets
NX-series CPU Unit
NJ-series CPU Unit
NX102
Other than NX102
Unit version 1.00
to 1.02
Unit version 1.03
or later
UDP socket service
Total of 60 sockets
Total of 30 sockets
Total of 16 sockets
Total of 30 sockets
TCP socket service
To use these sockets for communications, special ST instructions for sockets are executed to perform
the following processes.
Open processing:
This process places the socket in a usable state. This is the first process to use 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 the receive buffer to remove data received from the remote node.
9-6-2
Procedure to Use Socket Services
You execute special instructions for sockets in sequence to use the socket services according to the
procedure shown below.
Use the values of the output variables for each instruction to confirm that each instruction is normally
completed.
9 Socket Service
9-13
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
9-6 Details on Using the Socket Services
9
9-6-1
Using the Socket Services
Summary of Contents for Sysmac NX1P2-10 1 Series
Page 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Page 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Page 577: ......