l
Programming Example for Error Detection
The following program can be used to check for tag data link errors for each target node. This pro-
gramming is used to detect errors which may occur after the data links for all the nodes are started
normally.
Communication port1
Online
(N2_ETN_Port1Status.
EtnOnlineSta)
CIP Commnucations1
Normal Target
Node Information (#2)
N2_EIP_Comm1Status
.
EstbTargetSta[2]
Node 02
error output
CIP Commnucaitons1
Normal Target
Node Information (#2)
N2_EIP_Comm1Status
.
EstbTargetSta[2]
CIP Communications1
Normal Target
Node Information (#1)
N2_EIP_Comm1Status.
EstbTargetSta[1]
Node 01
error output
CIP Communications1
Normal Target
Node Information (#1)
N2_EIP_Comm1Status
.
EstbTargetSta[1]
Node 01 error output
Node 02 error output
l
Data Processing Programming Example
• The following shows an example where data processing is performed only when data links are
operating normally.
Normal operation flag
Normal operation flag
Additional parts
The parts of the ladder
progr
am that use the data
link area for the relevant
node are processed only
when the corresponding
normal operation flag is ON.
• The following shows an example where data processing is performed only when data links are
operating normally with MC and MCR instructions, or with JMP instructions.
9 Tag Data Link Functions
9-75
NX-series EtherNet/IP Unit User's Manual (W627)
9-3 Ladder Programming for Tag Data Links
9
9-3-1 Ladder Programming for Tag Data Links