Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
• If the SktUDPRcv or SktTCPRcv instruction is executed and then the SktClose instruction is exe-
cuted while the socket for the specified handle is on standby to received data, the standby status is
canceled.
• If more than one connection is open for the same local port number, only the connection for the spec-
ified socket is closed.
• If the value of the socket handle Socket.Handle is 0, all connections that are on standby for the
SktTCPAccept instruction are canceled.
• You can execute a maximum of 32 of the following instructions at the same time: SktUDPCreate,
SktUDPRcv, SktUDPSend, SktTCPAccept, SktTCPConnect, SktTCPRcv, SktTCPSend, SktGetTCP-
Status, SktClose, SktClearBuf, and SktSetOption.
• An error occurs in the following cases. Error will change to TRUE.
• There is a setting error for the local IP address.
• The value of a member of Socket is outside of the valid range.
• The handle specified by Socket.Handle does not exist.
Sample Programming
Refer to the sample programming for the following instructions: SktUDPCreate (page 2-1045) and
SktTCPConnect (page 2-1062).
2-1082

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents