MC_MoveSuperImposed

A relative motion is commanded with the MC_MoveSuperImposed FB, in addition to motion already active. The active motion is not interrupted but is superimposed over the commanded one. The motion is always executed jerk-limited with the constant set input "Jerk”. This value is valid for both "Acceleration" and "Deceleration".

If the optional parameters “Acceleration, “Deceleration” and “Jerk” are not specified or set to <= 0, the dynamic values are taken from the corresponding axis list.

If the axis is already in a motion state and receives a command from this FB, it results in

  1. a superimposed interpolation
  2. a change in velocity
  3. a change in the target position of the active motion.

If the axis is in the “Standstill” state, a command by the MC_MoveSuperImposed FB acts like a command by an MC_MoveRelative FB.

Since "Acceleration" values are also superimposed in the case of superimposed interpolation, corresponding axis parameters must be defined to ensure that the axis is not dynamically overloaded.

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Superimposition of the motion is started on the rising edge of this input signal.

Distance

LREAL

Relative distance of the motion

Value range [-2147483648.0, 2147483647.0]
Default unit [0.1µm or 10-4 °]

VelocityDiff

LREAL

Maximum difference to the velocity of the underlying motion. This value must be specified positive. The velocity is not necessarily reached.

Value range [1. 0, 2147483647.0]
Default unit [1µm/s or 10-3 °/s]

Acceleration

LREAL

Acceleration value. This value must be specified positive.

Value range [0.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

Deceleration

LREAL

Deceleration value. This value must be always be specified positive.

Value range [0.0, 2147483647.0]
Default unit [1mm/s2 or 1°/s2]

Jerk

LREAL

Jerk value. This value must be always be specified positive.

Value range [0.0, 2147483647.0]
Default unit [1mm/s3 or 1°/s3]

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

The relative distance of the active movement is superimposed.

CommandAborted

BOOL

TRUE indicates that the command was aborted by another command.

Error

BOOL

Is TRUE if an error occurs in the FB.

ErrorID

WORD

Error identifier

Behaviour of the FB: