Execute mc_moverelative – Rockwell Automation 2080-LC50 Getting Started with Motion Control Using a Simulated Axis User Manual

Page 68

Advertising
background image

58

Publication 2080-QS001A-EN-E - January 2013

Chapter 5 Execute Your Motion Control Function Blocks

Execute MC_MoveRelative

The MC_MoveRelative function block commands an axis of a specified distance relative to the current position at the time
of the execution.

In this section, you will use the MC_MoveRelative function block to move your axis towards a positive or negative
direction. The initial state of your MC_MoveRelative program (that is, before execution) is shown below.

Before execution, the value of inputs such as distance, velocity, acceleration, jerk, deceleration, and buffer mode is 0.
Execute is False as the application has not been run yet. Outputs such as Done, Busy, Active, CommandAborted, Error, are
False.

Upper

Right

Limit

Lower

Left

Limit

Home

Sensor

The axis moves 200 mm relative to the current position.

Advertising
This manual is related to the following products: