Download NJ-series Troubleshooting Manual

Transcript
2 Error Troubleshooting Methods
Example of Error Detection for the EtherCAT Master Function Module
User-defined Variables
trigger: BOOL;
//Get condition
ec_error: BOOL; //EtherCAT master error flag
ec_error
GetECError
trigger
EN
Level
Code
Resetting Controller Errors with Instructions
You can use the instructions that are provided to reset errors in the user program to reset errors that
occur in the Controller. Before you attempt to reset a Controller error, isolate and remove the cause of
the error. Reset the errors with the instruction provided to reset errors for each function module.
Instruction name
Reset PLC Controller Error
Instruction
ResetPLCError
Reset I/O Bus Controller Error
Reset Motion Control Error
ResetCJBError
ResetMCError
Reset EtherCAT Error
ResetECError
Function
Resets current Controller errors from the PLC Function
Module.
Resets current Controller errors from the I/O bus.
Resets current Controller errors from the Motion Control
Function Module.
Resets current Controller errors from the EtherCAT Master Function Module.
Refer to the NJ-series Instructions Reference Manual (Cat. No. W502) for details on these instructions.
2-12
NJ-series Troubleshooting Manual (W503)