Motion Event Instructions
302 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
Status Bits
MDOC Effects Status Bits
The MDOC instruction affects the following status words in the Motion Axis
Structure:
• OutputCamStatus
• OutputCamPendingStatus
• OutputCamLockStatus
• OutputCamTransitionStatus
Each above is a DINT with bits 0 to 7 corresponding to the 8 execution targets.
Bit 0 is execution target 0; bit 1 is execution target 1, etc.
Example
Ladder Diagram
Structured Text
MDOC(Axis1, ExecutionTarget1, MDOC_2, All);
See also
Structured Text Syntax on page 635
MDOC Flow Chart (True) on page 303
Motion Error Codes (.ERR) on page 557
Motion Event Instructions on page 235
Common Attributes on page 663