15 Troubleshooting
15-8
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
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/NX-series Instructions Reference
Manual (Cat. No. W502).
You can use system-defined variables to check for errors in the EtherNet/IP Master Function Module.
Error Status Variables
You can check for errors in each function module of the NJ/NX-series Controller with error status
variables. The following variables show the error status of the EtherNet/IP Function Module.
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 on an NJ-series CPU Unit.
For an NX-series CPU Unit, this variable
gives the same status as the Communica-
tions Port 1 Error variable and you can use it
instead of the Communications Port 1 Error
variable.
_EIP1_PortErr WORD Communications Port
1 Error
Gives the collective error status of all error
status for the EtherNet/IP communications
port 1 on an NX-series CPU Unit.
_EIP2_PortErr WORD Communications Port
2 Error
Gives the collective error status of all error
status for the EtherNet/IP communications
port 2 on an NX701 CPU Unit.
_EIP_CipErr WORD CIP Communications
Error
Gives the collective error status of all error
status for CIP communications on an NJ-
series CPU Unit.
For an NX-series CPU Unit, this variable
gives the same status as the CIP Communi-
cations 1 Error variable and you can use it
instead of the CIP Communications 1 Error
variable.
_EIP1_CipErr WORD CIP Communications
1 Error
Gives the collective error status for CIP
communications 1 for an NX-series CPU
Unit.
_EIP2_CipErr WORD CIP Communications
2 Error
Gives the collective error status for CIP
communications 2 for an NX701 CPU Unit.
_EIP_TcpAppErr WORD TCP Application Com-
munications Error
Gives the collective error status for TCP
applications communications.