EasyManua.ls Logo

Omron NX102-12 Series - Page 257

Omron NX102-12 Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
.
Online
(_EIP_EtnOnlineSta)
*1
Normal Target
Node Information (#2)
_EIP_EstbTargetSta[2]
*2
Node 2
error output
Normal Target
Node Information (#2)
_EIP_EstbTargetSta[2]
*2
Normal Target
Node Information (#1)
_EIP_EstbTargetSta[1]
*2
Node 1
error output
Normal Target
Node Information (#1)
_EIP_EstbTargetSta[1]
*2
Node 1 error output
Node 2 error output
*1. This is a system-defined variable for NJ-series CPU Units.
For NX701 and NX102 CPU Units, the variable varies depending on the built-in EtherNet/IP port, as
shown below
.
Built-in EtherNet/IP port 1: _EIP1_EtnOnlineSta
Built-in EtherNet/IP port 2: _EIP2_EtnOnlineSta
For NX1P2 CPU Units, the variable is as below.
Built-in EtherNet/IP port 1: _EIP1_EtnOnlineSta
*2. This is a system-defined variable for NJ-series CPU Units.
For NX701 and NX102 CPU Units, the variable varies depending on the built-in EtherNet/IP port, as
shown below.
Built-in EtherNet/IP port 1: _EIP1_EstbTargetSta
Built-in EtherNet/IP port 2: _EIP2_EstbTargetSta
For NX1P2 CPU Units, the variable is as below.
Built-in EtherNet/IP port 1: _EIP1_EstbTargetSta
Data Processing Programming Example
The following shows an example where data processing is performed only when data links are
operating normally
.
7 Tag Data Link Functions
7-83
NJ/NX-series CPU Unit Built-in EtherNet/IP Port Users Manual (W506)
7-3 Ladder Programming for Tag Data Links
7
7-3-1 Ladder Programming for Tag Data Links

Table of Contents

Related product manuals