6 Troubleshooting
6 - 10
NX-series NX1P2 CPU Unit Hardware User’s Manual (W578)
If you can connect communications between an HMI and the Controller when an error occurs, you can
check for current Controller errors and the log of past Controller errors.
To perform troubleshooting from an HMI, connect the HMI to the built-in EtherNet/IP port on the CPU
Unit.
Precautions for Correct UsePrecautions for Correct Use
Refer to the appendices of the NJ/NX-series Troubleshooting Manual (Cat. No. W503) for the
applicable range of the HMI Troubleshooter.
Current Errors
You can check the current error’s event name, event code, level, source, source details, details, and
attached information 1 to 4. Observations are not displayed as errors.
Log of Past Errors
You can check the time of occurrence, level, source, source details, event name, event code,
details, attached information 1 to 4 for past errors.
Refer to the relevant HMI manual for information on the HMI Troubleshooter.
Instructions are provided that allow you to read the error status of each function module from the user
program. These instructions get the status and the event code of the error with the highest level.
For details on the instructions that get error status, refer to the NJ/NX-series Instructions Reference
Manual (Cat. No. W502).
You can check the error status variables in the system-defined variables to determine the status of
errors in a Controller. You can read the error status variables from an external device by using commu-
nications. Refer to the NJ/NX-series CPU Unit Software User’s Manual (Cat. No. W501) for the system-
defined variables.
Checking with the Troubleshooter of an HMI
Checking with Instructions That Read Function Module Error Status
Applicable function module Instruction name Instruction
PLC Function Module Get PLC Controller Error Status GetPLCError
NX Bus Function Module Get NX Bus Error Status GetNXBError
Get NX Unit Error Status GetNXUnitError
Motion Control Function Module Get Motion Control Error Status GetMCError
EtherCAT Function Module Get EtherCAT Error Status GetECError
EtherNet/IP Function Module Get EtherNet/IP Error Status GetEIPError
Checking with System-defined Variables