9-5
Socket Service Instructions
You can use the following socket service instructions for socket services.
Refer to the NJ/NX-series Instructions Reference Manual (Cat. No. W502) for information on the sock-
et service instructions.
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
Precautions for Correct Use
You can execute a maximum of 32 socket service instructions (64 for NX102) at the same time.
Perform exclusive control in the user program so that 33 or more socket instructions (65 or
more for NX102) will not be executed at the same time.
9 Socket Service
9-12
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)