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
Precautions for Correct Use
• Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
• Refer to Using this Section on page 2-3 for a timing chart for Execute, Done, Busy, and Error.
• This instruction can be used only for the built-in EtherNet/IP on NJ/NX-series CPU Units and NY-
series Controllers.
• Use the SktClose instruction to close handles that are created with this instruction.
• Handles that are created with this instruction are disabled when you change to PROGRAM mode.
• 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 DstAdr is outside of the valid range.
• The value of DstTcpPort is outside of the valid range.
• The TCP port that is specified with SrcTcpPort is already open.
• The remote node that is specified with DstAdr does not exist.
• The remote node that is specified with DstAdr and DstTcpPort is not waiting for a connection.
• Address resolution failed for the host name that is specified with DstAdr.
• A connection is already open for the same client (IP address and TCP port).
Version Information
• The number of sockets that you can open at the same time depends on the unit version of the
CPU Unit as shown in the following table. These limits are the totals for both UDP and TCP
sockets.
Unit version of CPU Unit
1.03 or higher
1.02 or lower
• For CPU Unit version 1.10 or later, the value of Socket does not change even if Error changes
to TRUE. For version 1.09 or earlier, the value of Socket changes to 0.
2-1064
Number of sockets
30 max.
16 max.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents