Rockwell Automation Publication 1756-UM001O-EN-P - October 2014
145
Develop Motion Applications
Chapter 9
Program Motion Control
The controller provides a set of motion control instructions for your axes:
•
The controller uses these instructions just like the rest of the Logix5000
instructions.
•
Each motion instruction works on one or more axes.
•
Each motion instruction needs a motion control tag. The tag uses a
MOTION_INSTRUCTION data type and stores the information status
of the instruction.
•
You can program by using motion control instructions in these
programming languages:
–
Ladder Diagram (LD)
–
Structured Text (ST)
–
Sequential Function Chart (SFC)
Figure 26 - Motion Control Instruction
Example
In this example, a simple ladder diagram that homes, jogs, and moves an axis.
ATTENTION:
Use the tag for the motion control operation of motion
instruction only once. Unintended operation of the control variables can
happen if you reuse of the same motion control tag in other instructions.
Motion Control Tag
If Initialize_Pushbutton = on and the axis = off (My_Axis_X.ServoActionStatus = off) then the MSO instruction turns on the axis.
If Home_Pushbutton = on and the axis hasn’t been homed (My_Axis_X.AxisHomedStatus = off) then the MAH instruction homes the axis.
Summary of Contents for 1756-L63XT
Page 4: ...4 Rockwell Automation Publication 1756 UM001O EN P October 2014 Summary of Changes Notes...
Page 18: ...18 Rockwell Automation Publication 1756 UM001O EN P October 2014 Preface Notes...
Page 136: ...136 Rockwell Automation Publication 1756 UM001O EN P October 2014 Chapter 8 I O Modules...
Page 210: ...210 Rockwell Automation Publication 1756 UM001O EN P October 2014 Index Notes...
Page 211: ......