Omron NJ Series User Manual page 257

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

 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. 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.
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Normal Target
Node Information (#1)
*1
*2
_EIP_EstbTargetSta[1]
Normal Target
Node Information (#1)
Node 1
*2
_EIP_EstbTargetSta[1]
error output
Normal Target
Node Information (#2)
*2
_EIP_EstbTargetSta[2]
Normal Target
Node Information (#2)
Node 2
_EIP_EstbTargetSta[2]
*2
error output
7 Tag Data Link Functions
Node 1 error output
Node 2 error output
7
7-83

Advertisement

Table of Contents
loading

Table of Contents