Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 161
Affects Math Status Flags
No
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 either 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 the 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 the Ladder Diagram table.
Extended Error Codes
Extended Error Codes provide additional instruction specific information for the
Error Codes that are not specific enough to help pinpoint the problem. When the
MCCP instruction receives an Illegal Cam Length (26) error message to let it
know that the length input parameter does not correspond to what the instruction
expects, the corresponding Extended Error code provides the number of cams in
the Cam Tag provided to the instruction. When the MCCP instruction receives
an Illegal Cam Profile Length (27) error message to let it know that the length
input parameter does not correspond to what the instruction expects, the
corresponding Extended Error code provides the number of cam points the
instruction is attempting to generate. See Error Codes (ERR) for Motion
Instructions.
MCCP Changes to Status Bits
No