7-79
7 Tag Data Link Functions
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
7-3 Ladder Programming for Tag Data Links
7
7-3-1 Ladder Programming for Tag Data Links
*3 This is a system-defined variable for an NJ-series CPU Unit.
For an NX701 CPU Unit, the variable is varied by the built-in EtherNet/IP port number to communicate with.
Built-in EtherNet/IP port 1: _EIP1_TargetPLCModeSta
Built-in EtherNet/IP port 2: _EIP2_TargetPLCModeSta
For an NX1P2 CPU Unit, shown below.
Built-in EtherNet/IP port 1: _EIP1_TargetPLCModeSta
*4 This is a system-defined variable for an NJ-series CPU Unit.
For an NX701 CPU Unit, the variable is varied by the built-in EtherNet/IP port number to communicate with.
Built-in EtherNet/IP port 1: _EIP1_TargetPLCErr
Built-in EtherNet/IP port 2: _EIP2_TargetPLCErr
For an NX1P2 CPU Unit, shown below.
Built-in EtherNet/IP port 1: _EIP1_TargetPLCErr
Programming Example to Detect Normal Operation
The following programming can be used to confirm that normal communications are being per-
formed for each target node. If the Controller status is included in the tag data, the status of the Con-
troller can also be detected.
• Programming Example 1 to Detect Normal Operation
• Programming Example 2 to Detect Normal Operation
Online
(_EIP_EtnOnlineSta)
*1
Normal Target Node
Information (#1)
_EIP_EstbTargetSta[1]
*2
Normal Target Node
Information
(#2)
_EIP_EstbTargetSta[2]
*2
Target PLC Operating
Mode (#2)
_EIP_TargetPLCModeSta[2]
*3
Target PLC Operating
Mode (#1)
_EIP_TargetPLCModeSta[1]
*3
Target PLC Error
Information (#1)
_EIP_TargetPLCErr[1]
*4
Target PLC Error
Information (#2)
_EIP_TargetPLCErr[2]
*4
Node 1 data
link operatio
normal
Node 2 data
link operatio
normal
Node 1 data
link operatio
normal
Data link
operation
normal
Target PLC
Error Information (#1)
_EIP_TargetPLCErr[1]
*4
All Tag Data Links
Communications Status
_EIP_TDLinkAllRunSta
*5
Online
(_EIP_EtnOnlineSta)
*1
Target PLC
Operating Mode (#1)
_EIP_EstbTargetSta[1]
*2
Node 2 data
link operatio
normal
Target PLC
Error Information (#2)
_EIP_TargetPLCErr[2]
*4
Target PLC
Operating Mode (#2)
_EIP_EstbTargetSta[2]
*2