9-13
9 Socket Service
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
9-5 Socket Service Instructions
9
9-5 Socket Service Instructions
You can use the following socket service instructions for socket services use. Refer to the NJ/NX-series
Instructions Reference Manual (Cat. No. W502) for information on the socket service instructions.
Precautions for Correct UsePrecautions for Correct Use
You can execute a maximum of 32 socket service instructions at the same time. Use exclusive
control in the user program so that no more than 32 socket service instructions are executed at
the same time.
UDP/TCP Instruction Socket service
UDP sockets SktUDPCreate Create UDP Socket instruction
SktUDPRcv UDP Socket Receive instruction
SktUDPSend UDP Socket Send instruction
TCP sockets SktTCPAccept Accept TCP Socket instruction
SktTCPConnect Connect TCP Socket instruction
SktTCPRcv TCP Socket Receive instruction
SktTCPSend TCP Socket Send instruction
SktGetTCPStatus Read TCP Socket Status instruction
Services for both
UDP and TCP
sockets
SktClose Close TCP/UDP Socket instruction
SktClearBuf Clear TCP/UDP Socket Receive Buffer instruction
SktSetOption Set TCP Socket Option instruction