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
Содержание Sysmac NX1P2-10 1 Series
Страница 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 174: ...6 Testing Communications 6 4 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 354: ...8 CIP Message Communications 8 92 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 394: ...10 Modbus TCP Master Function 10 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Страница 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 577: ......