Motion Group Instructions
228 Rockwell Automation Publication MOTION-RM002H-EN-P-February 2018
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.
Status Bits
MGSR Changes to Status Bits
Bit Name State Meaning
ServoActionStatus FALSE Axis in Servo Off state with the servo loop inactive.
DriveEnableStatus FALSE Axis Drive Enable output is inactive.
ShutdownStatus FALSE Axis is in Shutdown state.
Examples
When the input conditions are true, the controller transitions all axes in group1
from the shutdown operating state to the axis ready operating state.
Ladder Diagram
Structured Text
MGSR(Motion,MGSR_3);
See also
Motion Group Shutdown (MGSD) on page 220