Relative extension and compression factor of the master axis

Connection of the scaling factor lrSetScalingX < 0 to the master axis during runtime in the master cycle

  • Upper blue curve: master axis

    In the master cycle, the lrSetScalingX input = 0.5 (range 2).

    Red curve: x axis with the eScalingModeX mode = 2 (instant relative)

    The lrSetScalingX scaling factor has an immediate effect on the course of the x speed. This keeps the position of the x axis steady and the x speed gets a step change.

    Resulting speed of the x axis: x_vel = Master_vel * lrSetScalingX

  • Blue curve: x axis with the eScalingModeX mode = 4 (profile generator relative)

    As in mode 2 (instant relative), the lrSetScalingX scaling factor only has an effect on the speed. However, the difference is that the step change in the x speed is blended via the ramp generator.

Parameters to be set

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

  • scPar.eScalingModeX , data type: L_TS2P_ScalingMode, initial value: "x_zero"

  • scPar.lrSetOffsetScalingXVel , data type: LREAL, initial value: 100

  • scPar.lrSetOffsetScalingXAcc , data type: LREAL, initial value: 1 000

  • scPar.lrSetOffsetScalingXDec , data type: LREAL, initial value: 1 000

  • scPar.lrSetOffsetScalingXJerk , data type: LREAL, initial value: 1 000 000