Relatively coupling position followers with cam discs

The slave axis couples from its current position to the speed of the cam disc via the profile generator with the parameters lrSyncVel, lrSyncAcc, lrSyncDec, and lrSyncJerk.

The resulting speed of the slave axis during the coupling process does not exceed the speed of the cam disc.

This coupling mode is independent of the movement of the master axis. The slave axis also synchronizes to the cam disc when the master axis is stationary.

Following the synchronization process, there is an offset between the cam disc and the target position of the axis.

This can be compensated for with the xSyncPosRestore function.

Parameters to be set

The parameters to be set are located in the scPar structure.

Parameter

Data

Description

eSyncInMode

L_TS2P_SyncInMode

Initial value: Profile generator absolute

eSyncDirection

L_TS2P_SyncDirection

Initial value: both

lrSyncInVel

LREAL

Initial value: 100

 

lrSyncInAcc

LREAL

Initial value: 1000

 

lrSyncInDec

LREAL

Initial value: 1000

 

lrSyncInJerk

LREAL

Initial value: 1000000