Publication 1756-UM001E-EN-P - August 2002
Program Motion Control
24-19
Develop Logic for Motion
Control
To write a motion application program, you can insert motion
instructions directly into your ladder logic program.
The motion instructions operate on one or more axes. You must
identify and configure axes before you can use them. For more
information about configuring axes, see the
ControlLogix Motion
Module Setup and Configuration Manual
, publication 1756-UM006.
For more information on individual motion instructions, see the
Logix5000 Controllers Motion Instruction Set Reference Manual
,
publication 1756-RM007.
Each motion instruction has an operand named Motion control. This
field uses a MOTION_INSTRUCTION tag to store status information
during the execution of motion instructions. This status information
can include instruction status, errors, etc.
For more information about the MOTION_INSTRUCTION tag, refer to
the appropriate motion instruction in the
Logix5000 Controllers
Motion Instruction Set Reference Manual
, publication 1756-RM007.
You can read motion status and configuration parameters in your logic
using two methods.
ATTENTION
!
Tags used for the motion control operand of motion
instruction should only be used once. Re-use of the
same motion control operand in other instructions
can cause unintended operation of the control
variables.
Method:
Example:
Directly accessing the MOTION_GROUP
and AXIS structures
•
Axis faults
•
Motion status
Using the GSV instruction
Actual position
Enable the Auto Tag Update attribute for a
motion group
CommandAcceleration
The
Motion control
operand
Summary of Contents for controllogix 1756-L63
Page 1: ...ControlLogix System 1756 L1 L1Mx L55Mxx L63 User Manual Allen Bradley HMIs...
Page 4: ...Publication 1756 UM001E EN P August 2002 Summary of Changes 2 Notes...
Page 16: ...Publication 1756 UM001E EN P August 2002 Table of Contents x...
Page 268: ...Publication 1756 UM001E EN P August 2002 15 4 Monitor Connections Notes...
Page 276: ...Publication 1756 UM001E EN P August 2002 16 8 Communicate with a DeviceNet Device Notes...
Page 402: ...Publication 1756 UM001E EN P August 2002 24 22 Program Motion Control Notes...
Page 408: ...Publication 1756 UM001E EN P August 2002 25 6 Maintain the 1756 BA1 Battery Notes...
Page 418: ...Publication 1756 UM001E EN P August 2002 B 2 Estimate Execution Time...
Page 420: ...Publication 1756 UM001E EN P August 2002 C 2 Estimate Memory Use...
Page 422: ...Publication 1756 UM001E EN P August 2002 D 2 Determine When Data Is Updated Notes...
Page 424: ...Publication 1756 UM001E EN P August 2002 E 2 Reconfigure an I O module Notes...
Page 428: ...Publication 1756 UM001E EN P August 2002 4 Index...
Page 429: ...Publication 1756 UM001E EN P August 2002 Index 5 Allen Bradley HMIs...
Page 430: ...Publication 1756 UM001E EN P August 2002 6 Index...
Page 435: ...ControlLogix System User Manual Allen Bradley HMIs...