Ramp-based synchronisation process

Preconditions

  • The technology module is in an error-free state.

  • The drive is enabled ( xReadyForMotion = TRUE).

Execution

If the xSyncIn input is set to TRUE, the virtual master axis synchronizes from its current position to the real master axis via a profile generator.

Starting and target conditions for the synchronization:

  • Standstill -> motion

  • Motion -> standstill

  • Motion -> motion

  • Standstill -> standstill

The profile parameters scPar.lrSyncVel , scPar.lrSyncAcc , scPar.lrSyncDec and scPar.lrSyncJerk act in addition to the speeds and decelerations of the master axis.

The maximum allowed speed to catch up a position difference in addition to the master value is specified via the scPar.lrSyncVel parameter.

The allowed direction of rotation is set via the scPar.eAllowedDirection parameter.

Only adjustable for:

  • Continuous driving operation ( xContinuous input = TRUE)

  • Synchronization with the real master axis ( xSyncMasterAxis = TRUE)

The ramp-based synchronization process is independent of the movement of the real master axis. The virtual master axis synchronizes with the position if the real master axis is at a standstill.

Synchronisation can only be performed from these states:

  • STANDBY : the virtual axis is synchronized to the standing or moving master from a standstill.

  • CONTMOTION (continuous driving operation): the virtual axis is synchronized to the standing or moving master when moving.

Inputs relevant for the function

  • xSyncIn

  • lrSetVel , initial value: 10 [unit/s]

Outputs relevant for the function

  • xAccDecSync

  • xSynchronised

Parameters relevant for the function

  • scPar.eAllowedDirection , initial value: 0 (positive and negative direction)

  • scPar.lrSyncVel , initial value: 100 [unit/s]

  • scPar.lrSyncAcc , initial value: 1000 [unit/s²]

  • scPar.lrSyncDec , initial value: 1000 [unit/s²]

  • scPar.lrSyncJerk , initial value: 1 000 000 [unit/s³]

No

xSyncIn

xAccDecSync

xSynchronized

xMoveTo
Target-PosBusy

xMoveTo
Target-PosDone

xInTarget

eTMState

Info

1

FALSE ä TRUE

FALSE ä TRUE

FALSE

FALSE

FALSE

FALSE

STANDBY ACC_DEC_SYNC

The ramp-based synchronization process is started and the axis accelerates at scPar.lrSyncAcc and moves oversynchronously to the master speed (master speed = 100 unit/s + scPar.lrSyncVel = 100 unit/s).

2

TRUE

TRUE æ FALSE

FALSE ä TRUE

FALSE

FALSE

FALSE

ACC_DEC_SYNC SYNCHRONOUS

The synchronization process is completed and the virtual master axis moves with its position synchronized to the real master axis.

3

TRUE æ FALSE

FALSE

TRUE æ FALSE

FALSE ä TRUE

FALSE

FALSE

SYNCHRONIZED MOVE_TO_TARGET_POS

The position synchronism is canceled and the virtual master axis moves at the setpoint speed lrSetVel = 50 unit/s to the target position scPar.lrTargetPos = 200 unit.

4

FALSE

FALSE

FALSE

TRUE æ FALSE

FALSE ä TRUE (for 1 cycle) æ FALSE

FALSE ä TRUE

MOVE_TO_TARGET_POS STANDBY

The axis comes to a standstill in the target position.

When declutching ( xSyncIn = FALSE), if no setpoint speed is specified at the lrSetVel input, the axis decelerates at scPar.lrDec to a standstill and remains in the "MOVE_TO_TARGET_POS" state.