Error codes in Sysmac Studio

Updated February 19, 2023

Controller Event Error Codes

Controller errors are treated as events. There are two types of controller errors:

- Fatal Error: these are not detected by the event management function because the CPU unit stops operation.

- Non-fatal Errors: these are managed with the event management function in SYSMAC. Details of the error are displayed in the lower half of the Troubleshooting window. 

Use the "Switch Display to Show Action and Correction" button to toggle between the Error Description view and the Action and Correction view.

For a more thorough description of the Event Codes, please refer to the NJ/NX-series Troubleshooting Manual (Cat. No. W503):

Instructions ErrorID Codes

Error codes are assigned to the errors that can occur when instructions are executed. When you use instructions that have an error code output variable (ErrorID), you can use the error codes to program error processing.

The following table lists the instructions with ErrorID and the error codes that can occur for those instructions. The Instruction Reference manual W502 contains the full list of Function Block ErrorID value and their cause.

For example: 



Delete

Tip:

Some function blocks have their error codes listed in Sysmac Studio's Instruction References. Select the function block and press the "F1" key to open the relevant Instruction Reference. Error codes are listed in the Precaution of Correct Use section.


Resetting errors via Function Blocks

Dedicated function blocks allow resetting PLC faults programmatically. This saves time by removing the need for a technician to connect to the PLC to reset the fault at every occurrence. 

Simply combine these with the corresponding "GetxxxError" functions to automate the whole process. 


Start a Conversation
This conversation is closed
Uploading...