MC_SEW_SetAbsolutePhaseShift

This function block sets the absolute phase shift in the context of a synchronized profile generation of a slave axis. Setting the phase shift with this function block can lead to a setpoint jump if the relevant context is currently active.

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Trigger function block.

PhasingContext

E_PhasingContext

Defines the context of the phase shift to be set:

  • Gearing
  • Camming
  • CombineAxesMaster1
  • CombineAxesMaster2
  • All

PhaseShift

LREAL

Phase shift to be set in user units of the master

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Function block has finished

Busy

BOOL

Function block is active

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number