![background image](http://html1.mh-extra.com/html/omron/sysmac-nx1p2-10-1-series/sysmac-nx1p2-10-1-series_user-manual_1633435257.webp)
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 User’s Manual (W506)
7-3 Ladder Programming for T
ag Data Links
7
7-3-1
Ladder Programming for T
ag Data Links
Содержание Sysmac NX1P2-10 1 Series
Страница 8: ...Manual Structure 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 34: ...Revision History 32 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 174: ...6 Testing Communications 6 4 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 354: ...8 CIP Message Communications 8 92 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 388: ...9 Socket Service 9 34 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 394: ...10 Modbus TCP Master Function 10 6 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 430: ...12 FTP Client 12 14 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 569: ...I Index I 1 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506 I...
Страница 576: ...Index I 8 NJ NX series CPU Unit Built in EtherNet IP Port User s Manual W506...
Страница 577: ......