MC_PhasingAbsolute

Functional Description

This function block creates a position offset between the position of a master axis and the position of this master axis as it is seen by the subordinate axis.

The function block MC_PhasingAbsolute requires a function block MC_CamIn to be active for the specified subordinate axis. The master axis must be identical to the master axis of the active function block MC_CamIn.

Graphical Representation

Inputs

Input

Data type

Description

Master

Axis_Ref

Reference to the axis for which the function block is to be executed.

Slave

Axis_Ref

Reference to the axis for which the function block is to be executed.

Execute

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE.

This function block can be restarted while it is executed. The target values are overwritten by the new values at the point in time the rising edge occurs.

PhaseShift

LREAL

Value range: 1...2147483647

Default value: 1

Phase shift in user-defined units.

Velocity

LREAL

Value range: 1...2147489647

Default value: 1

Velocity in user-defined units.

Acceleration

LREAL

Value range: A positive LREAL value

Default value: 1

Acceleration in user-defined units.

Deceleration

LREAL

Value range: A positive LREAL value

Default value: 1

Deceleration in user-defined units.

Jerk

LREAL

Value range: A positive LREAL value and zero

  • Positive values: Jerk limit (in units/s3) (maximum jerk with which the acceleration is modified).

  • Zero: Jerk limit disabled. The acceleration jumps from zero to maximum acceleration (infinite jerk).

Default value: 0

Outputs

Output

Data type

Description

Done

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Execution has not been started, or an error has been detected.

  • TRUE: Execution terminated without an error detected.

Busy

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Function block is not being executed.

  • TRUE: Function block is being executed.

Active

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: The function block does not control the movement of the axis.

  • TRUE: The function block controls the movement of the axis.

CommandAborted

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Execution has not been aborted.

  • TRUE: Execution has been aborted by another function block.

Error

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Function block is being executed, no error has been detected during execution.

  • TRUE: An error has been detected in the execution of the function block.

ErrorID

ET_Result

This enumeration provides diagnostics information.

AbsolutePhaseShift

LREAL

Provides the current phase shift.