Clutching-in with "Instant relative" coupling mode

The position, speed, and acceleration of the slave axis are set directly to the resulting y position of the cam.

In contrast to the "Instant absolute" mode, the slave axis does not have to be located at the resulting y position of the cam. This results in an offset between the position of the slave axis and the resulting y position of the cam. In order to avoid irregularities in the drive movement, the master axis must remain at standstill during the clutch-in process.

Parameters to be set

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

  • scPar.eSyncMode , data type: L_TS2P_SyncModeFlexCam, initial value: "Profile generator absolute"

Clutching in to the cam via the "Instant relative" mode

No

xSyncIn

xCammingBusy

xAccDecSync

xSynchronised

Info

A

FALSE äTRUE

FALSE äTRUE

TRUE for 1 PLC clock cycle

FALSE äTRUE

A cam is executed with the following settings:

xCamCyclic := FALSE // cam executed once

If there is a rising edge at the xSyncIn input, the slave axis is clutched in to the y axis within one PLC cycle. In doing so, the slave position is maintained. The internal offset is set between the y position and the slave position. The y position is calculated from the cam. The xAccDecSync output is set for one PLC cycle.

B

TRUE

TRUE æFALSE

FALSE

TRUE æFALSE

The cam reaches the end of the defined range. The xEndOfProfile status is set for one PLC cycle.