Motion Group Instructions
232 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 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
MGSP Changes to Status Bits
The MGSP instruction does not make any changes to the status bits.
Examples
When the input conditions are true, the controller latches the current command
and the actual position of all axes in group1.
Ladder Diagram
Structured Text
MGSP(Motion,MGSP_2);
See also
Structured Text Syntax on page 635
Motion Error Codes (.ERR) on page 557
Common Attributes on page 663