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

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

Advertisement

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 SrcTcpPort is outside of the valid range.
• Open processing is in progress for the socket specified with SrcTcpPort.
• Close processing is in progress for the socket specified with SrcTcpPort.
• A connection is not opened within the time that is specified with TimeOut.
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.
Sample Programming
Refer to the sample programming that is provided for the SktTCPConnect instruction (page 2-1062).

NY-series Instructions Reference Manual (W560)

Number of sockets
30 max.
16 max.
2 Instruction Descriptions
2-1061
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents