Omron Sysmac NJ-series User Manual page 241

Machine automation controller cpu unit built-in ethernet/iptm port
Hide thumbs Also See for Sysmac NJ-series:
Table of Contents

Advertisement

 Programming Example to Detect Errors
The following programming can be used to check for tag data link errors for each target node. This
programming is used to detect errors only after the data links for all nodes have started normally.
Online
(_EIP_EtnOnlineSta)
*1 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_EtnOnlineSta
Built-in EtherNet/IP port 2: _EIP2_EtnOnlineSta
For an NX1P2 CPU Unit, shown below.
Built-in EtherNet/IP port 1: _EIP1_EtnOnlineSta
*2 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_EstbTargetSta
Built-in EtherNet/IP port 2: _EIP2_EstbTargetSta
For an NX1P2 CPU Unit, shown below.
Built-in EtherNet/IP port 1: _EIP1_EstbTargetSta
 Data Processing Programming Example
• The following type of programming can be used to process data only when the data links are oper-
ating normally.
Additional parts
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Normal Target
Node Information (#1)
*1
_EIP_EstbTargetSta[1]
*2
Normal Target
Node Information (#1)
Node 1
_EIP_EstbTargetSta[1]
*2
error output
Normal Target
Node Information (#2)
*2
_EIP_EstbTargetSta[2]
Normal Target
Node Information (#2)
Node 2
*2
_EIP_EstbTargetSta[2]
error output
Normal operation flag
Normal operation flag
7 Tag Data Link Functions
Node 1 error output
Node 2 error output
The parts of the ladder
program that use the data
link area for the relevant
node are processed only
when the corresponding
normal operation flag is ON.
7
7-81

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-seriesSysmac nx1p2-10 seriesSysmac nx1p2-90 seriesSysmac nj501-5 seriesSysmac nj501-4 seriesSysmac nj501-3 series ... Show all

Table of Contents