Chapter 1 Major Faults
10 Rockwell Automation Publication 1756-PM014N-EN-P - March 2022
Example 1
In this example, a JSR instruction passes an input parameter containing an
indirect address that is out of bounds. If the fault clears, the JSR instruction
aborts (the subroutine does not run) and execution resumes with the EQU
instruction.
Example 2
In this example, the logic inside an Add-On Instruction generates a fault.
While the logic of an Add-On Instruction may look like a subroutine, it is not–
the Add-On Instruction is an instruction. When a fault occurs inside an
Add-On Instruction, the remainder of the Add-On Instruction aborts. If the
fault clears, execution resumes with the MOV instruction.
Important points regarding Add-On Instructions
Keep these considerations in mind when using Add-On Instructions and
major faults.