14-5
14 Troubleshooting
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
14-1 Overview of Errors
14
14-1-1 How to Check for Errors
Refer to the NJ-series Troubleshooting Manual (Cat. No. W503) for the procedures to check for errors
with the Sysmac Studio.
If you can connect communications between an NS-series PT and the Controller when an error occurs,
you can check for current Controller errors and the log of past Controller errors. You can also check the
cause of the error and corrections.
Refer to the
NJ-series Troubleshooting Manual (Cat. No. W503) for the procedures to check for errors
with an NS-series PT.
You can use instructions in the user program to check the error status of each function module. The fol-
lowing table gives the instruction that is used to get error information for the EtherNet/IP Function Mod-
ule.
For details on the instructions that get error status, refer to the
NJ-series Instructions Reference Manual
(Cat. No. W502).
You can use system-defined variables to check for errors in the EtherNet/IP Master Function Module.
z Error Status Variables
You can check for errors in each function module of the NJ-series Controller with error status vari-
ables. The following variables show the error status of the EtherNet/IP Function Module.
The meanings of the individual bits in the above error status variables are given below.
Checking with the Troubleshooter of an NS-series PT
Checking with Instructions That Read Error Status
Instruction Name Outline of function
GetEIPError Get EtherNet/IP Error Status The GetEIPError instruction gets the highest level status
(partial fault or minor fault) and highest level event code
of the current Controller errors in the EtherNet/IP Func-
tion Module.
Checking with System-defined Variables
Variable name Data type Meaning Function
_EIP_ErrSta WORD Built-in EtherNet/IP
Error
Gives the collective error status of all error
status for the EtherNet/IP Error Function
Module.
_EIP_PortErr WORD Communications Port
Error
Gives the collective error status of all error
status for the EtherNet/IP communications
port.
_EIP_CipErr WORD CIP Communications
Error
Gives the collective error status for CIP com-
munications.
_EIP_TcpAppErr WORD TCP Application Com-
munications Error
Gives the collective error status for TCP
applications communications.
Bit Name Description Value Meaning
15
Master Detection
*
This bit indicates whether the master
detected an error in the slaves that it
manages.
TRUE Error
FALSE No error
14
Slave Summary
*
Indicates whether there is an error at
a level below the function module.
TRUE Error
FALSE No error