MC_MoveAdditive

With the MC_MoveAdditive FB, a relative motion is commanded, in addition to the commanded position, if the axis is in the "Discrete Motion" state. The motion is always executed jerk-limited with the constant set input "Jerk". This value is valid for both "acceleration" and "deceleration".

If the axis is in the "Continuous Motion" state and receives a command from this FB, the relative distance from the current position at the time of commanding is added.

Block diagram

MC_MoveAdditive 1:

Parameters of the FB

VAR_IN_OUT

 

Axis

AXIS_REF

Axis reference.

VAR_INPUT

 

Execute

BOOL

Start the motion at rising edge.

 

Distance

LREAL

Relative distance for the motion.

Range [-2147483648.0, 2147483647.0]
Default unit [0,1µm or 10-4 °]

 

Velocity

LREAL

Value of the maximum velocity (always positive, not necessarily reached).

Range [1.0, 2147483647.0]
Default unit [1µm/s or 10-3 °/s]

 

Acceleration

LREAL

Value of the acceleration (always positive, increasing energy of the motor).

Range [1.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

 

Deceleration

LREAL

Value of the deceleration (always positive, decreasing energy of the motor).

Range [1.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

 

Jerk

LREAL

Value of the Jerk (always positive).

Range [1.0, 2147483647.0]
Default unit [1m/s3 or 1000°/s3]

VAR_OUTPUT

 

Done

BOOL

The axis is within a range close to the target position. The range is specified by the parameter getriebe[...].window of the axis-specific machine data.

 

CommandAborted

BOOL

Command is aborted by another command.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

Behavior of the FB