Configure User-definable Major Faults
To suspend (shut down) the controller based on conditions in the application, create a user-defined major fault. With a user-defined major fault:
- The fault type = 4.
- Define a value for the fault code. Choose a value between 990…999. These codes are reserved for user-defined faults.
- The controller handles the fault the same as other major faults:
- The controller changes to the Program mode and stops running the logic. Outputs are set to their configured state or value for faulted mode.
To create a user-defined major fault, do the following.
- Create a fault routine for the program.
- Configure the program to use the fault routine.
- Jump to the fault routine.
Provide Feedback