While a program is executing, a fault may occur within the operating system or your program. When a fault occurs, you have various options to determine what the fault is and how to correct it. This section describes how to clear faults and provides a list of possible advisory messages with recommended corrective actions.
Automatically Clearing Faults
You can automatically clear a fault by cycling power to the controller when the Fault Override at
You can also configure the controller to clear faults and go to RUN every time the controller is power cycled. This is a feature that OEMs can build into their equipment to allow end users to reset the controller. If the controller faults, it can be reset by simply cycling power to the machine. To accomplish this, set the following bits in the status file:
∙S2:1/8 - Fault Override at
∙S2:1/12 - Mode Behavior
If the fault condition still exists after cycling power, the controller
NOTE | You can declare your own | |
writing your own unique value to S:6 and then setting bit S:1/13 | ||
| ||
| ||
| to prevent reusing system defined codes. The recommended | |
| values for user defined faults are FF00 to FF0F. |
Manually Clearing Faults Using the Fault Routine
The occurrence of recoverable or
The subroutine does not execute for
Fault Messages
Refer to the MicroLogix 1200 and 1500 Instruction Set Reference Manual for the controller fault messages that can occur during operation of the MicroLogix 1500 programmable controllers. Each fault message includes the error code description, the probable cause, and the recommended corrective action.
Basic 32 Loader Control UGC007/0702