Motion Event Instructions 
 
298  Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018 
 
This information applies to the CompactLogix 5370, ControlLogix 5570, 
Compact GuardLogix 5370, GuardLogix 5570, Compact GuardLogix 5380, 
CompactLogix 5380, CompactLogix 5480, ControlLogix 5580, and GuardLogix 
5580 controllers. Controller differences are noted where applicable. 
The Motion Disarm Output Cam (MDOC) instruction initiates the disarming of 
one or more Output Cams connected to the specified axis. Based on the disarm 
type, the MDOC instruction disarms either all Output Cams or only a specific 
Output Cam. The corresponding outputs maintain the last state after the 
disarming. 
Available Languages 
Ladder Diagram 
 
Function Block 
This instruction is not available in function block. 
Structured Text 
MDOC(Axis, ExecutionTarget, MotionControl, DisarmType); 
Operands 
Ladder Diagram and Structured Text 
Operand  Type 
CompactLogix 5380, CompactLogix 
5480, ControlLogix 5580, Compact 
GuardLogix 5380, and GuardLogix 5580 
controllers 
Type 
CompactLogix 5370, 
ControlLogix 5570, Compact 
GuardLogix 5370, and 
GuardLogix 5570 controllers 
Format  Description 
Axis  AXIS_CIP_DRIVE 
AXIS_CONSUMED 
AXIS_VIRTUAL 
AXIS_CIP_DRIVE 
AXIS_CONSUMED 
AXIS_VIRTUAL 
AXIS_GENERIC 
AXIS_GENERIC_DRIVE 
AXIS_SERVO 
AXIS_SERVO_DRIVE 
Tag  Name of the axis that 
provides the position 
input to the Output Cam. 
Ellipsis launches Axis 
Properties dialog. 
(MDOC)