7 Troubleshooting
7-4
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
Checking with the Troubleshooting Function of Sysmac Studio
When an error occurs, you can connect Sysmac Studio online to the Controller to check 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/NX-series Troubleshooting Manual (Cat. No. W503) for the procedures to check
for errors with Sysmac Studio.
Checking with the Troubleshooter of an HMI
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. You can also
check the cause of the error and corrections.
Refer to the NJ/NX-series Troubleshooting Manual (Cat. No. W503) for the procedures to check
for errors with an HMI.
Checking with Instructions That Read Error Status
You can use instructions in the user program to check the error status of each function module.
The following table gives the instruction that is used to get error information for the DB
Connection Service.
GetPLCError Get PLC Error Status The GetPLCError instruction gets the highest level status
(partial fault or minor fault) and highest level event code of
the current Controller errors in the PLC Function Module.
For details on the instructions that get error status, refer to the NJ/NX-series Instructions
Reference Manual (Cat. No. W502).
Checking with System-defined Variables
You can use the error status variables and status variables in the system-defined variables to
check for errors that have occurred in the DB Connection Service.
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 PLC Function Module.
_PLC_ErrSta WORD PLC Function Module
Gets the collective error status of all error
status for the PLC Function Module.