92 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand related
faults.
Execution
Ladder Diagram
Condition/State Action Taken
Prescan The .EN, .DN, .ER, and .IP bits are cleared to false.
Rung-condition-in is false The .EN bit is cleared to false if the .DN or .ER bit is true.
Rung-condition-in is true The .EN bit is set to true and the instruction executes.
Postscan N/A
Structured Text
Condition/State Action Taken
Prescan See Prescan in Ladder Diagram table
Normal execution See Rung-condition-in is false, followed by rung is true in the Ladder
Diagram table.
Postscan See Postscan in Ladder Diagram table.
Error Codes
See Motion Error Codes (.ERR).
Extended Error Codes
Use Extended Error Codes (.EXERR) for more instructions about an error. See
Motion Error Codes (.ERR).
If ERR is And EXERR is Then
Cause Corrective Action
13 Varies An operand is outside its range. The EXERR is the number of the operand that is out of
range. The first operand is 0.
For example, if EXERR = 4, then check the Decel Rate.
EXERR MAS Operand
0 Axis
1 Motion Control
2 Stop Type
3 Change Decel
4 Decel Rate