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

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

Advertisement

The following example is for when RoutePath is '02\192.168.250.2' and TimeOut is UINT#20.
The Open CIP Class 3 Connection (Large_Forward_Open) instruction opens a CIP class 3 connection
with the remote node with an IP address of 192.168.250.2. The timeout time is 2 s. The handle is
assigned to variable pqr.
LD
A
'02\192.168.250.2'
UINT#20
The Open CIP Class 3 Connection (Large_Forward_Open) instruction opens a CIP
class 3 connection with a remote node on a CIP network. The remote node is
specified with RoutePath.
Controller that executed the instruction
Handle=pqr
The acquired handle is assigned to this variable.
If the value of ErrorID is WORD#16#1C00, the CIP message error code is stored in ErrorIDEx. The
meaning and values of ErrorIDEx depend on the remote node. Refer to the manual for the remote
node.
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 following manuals for details on CIP communications.
• NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (Cat. No. W506)
• NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (Cat.
No. W563)

NY-series Instructions Reference Manual (W560)

CIPOpen_instance
CIPOpen
Execute
Done
RoutePath
Busy
TimeOut
Error
ErrorID
ErrorIDEx
Handle
The connection timeout time for establishing a CIP
Class 3 connection (Large_Forward_Open) is 2 s.
Meaning
Online
BOOL
2 Instruction Descriptions
ST
CIPOpen_instance(A, '2\192.168.250.2', UINT#20, abc,
abc
def
ghi
jkl
mno
pqr
IP address: 192.168.250.2
Data
type
This variable indicates when built-in EtherNet/IP
port communications can be used.
TRUE: Communications are possible.
FALSE: Communications are not possible.
def, ghi, jkl, mno, pqr);
Description
2-991
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents