Follow these steps – Rockwell Automation 2080-LC50 Getting Started with Motion Control Using a Simulated Axis User Manual
Page 26

16
Publication 2080-QS001A-EN-E - January 2013
Chapter 3 Write Your Motion Control Programs
Follow These Steps
To write your motion control function blocks, follow these steps.
Create Axis_PowerUp Program on page 17
Create and Assign Variables and Values for
the Axis_PowerUp Program on page 19
Create Homing Program on page 21
Create and Assign Variables and Values for the
MC_Home Function Block on page 26
Create Program for MC_MoveRelative on
page 28
Create and Assign Variables and Values to the
MC_MoveRelative Function Block on page 30
Create Program for MC_MoveAbsolute
Function Block on page 31
Create and Assign Variables and Values to the
MC_MoveAbsolute Function Block on page 34
Create Program for MC_MoveVelocity
Function Block on page 36
Create and Assign Variables and Values to the
MC_MoveVelocity Function Block on page 41
Create Program for MC_TouchProbe Function
Block on page 43
Create and Assign Variables and Values to the
Action_TouchProbe program on page 47