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
Related System-defined Variables
Name
*1
_EIP_EtnOnlineSta
*2
_EIP1_EtnOnlineSta
*3
_EIP2_EtnOnlineSta
*4
_EIPIn1_EtnOnlineSta
*1 Use this variable name for an NJ-series CPU Unit.
*2 Use this variable name for port 1 on an NX-series CPU Unit, or for an NY-series Controller.
*3 Use this variable name for port 2 on an NX-series CPU Unit.
*4 Use this variable name for the internal communication port on an NY-series Controller.
Additional Information
Refer to the NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (Cat. No. W506) or the
series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (Cat. No. W563)
on the socket service functions.
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 the NJ/NX-series CPU Units and on
the NY-series Controllers.
• You can use this instruction after the socket handle is opened by the SktTCPAccept, or SktTCPCon-
nect instruction and before data transmission is started by SktTCPRcv, SktTCPSend, or SktClearBuf
instruction. An error will occur if you execute this instruction after data transmission is started.
• You must set the socket option for each handle specified with Socket. The socket option that was set
is enabled while the handle is open. After closing the handle with the SktClose instruction, execute
the SktTCPAccept and SktTCPConnect instructions again to open the handle, and then execute this
instruction to set the socket option.
• 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 will occur in the following cases. Error will change to TRUE.
• The value of a member of Socket is outside of the valid range.
• The data type specified for OptionParam is not supported by OptionType.
• The specified handle socket already started transmission.
• The specified socket type is not supported by the handle type. Such a case includes when the
TCP_NODELAY is executed for UDP socket.
• The handle specified by Socket.Handle does not exist.
2-1088
Data
Meaning
type
Online
BOOL
Description
This variable indicates when built-in EtherNet/IP
port communications can be used.
TRUE: Communications are possible.
FALSE: Communications are not possible.

NY-series Instructions Reference Manual (W560)

NY-
for details

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents