Trimming per velocity offset

When trimming per velocity offset, the velocity of the slave axis is adjusted in relation to the master axis.

Preconditions

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

  • The drive is enabled ( xReadyForMotion = TRUE).

  • scPar.eTrimMode = 0 (trimming per velocity offset)

Execution

For trimming, a profile is specified via the parameters speed, acceleration, deceleration and jerk ( scPar.lrSetOffsetTrimVel, scPar.lrSetOffsetTrimAcc, scPar.lrSetOffsetTrimDcc, scPar.lrSetOffsetTrimJerk ). Each parameter acts in addition to the corresponding master value.

When the xTrimPos input = TRUE, the speed of the slave axis is increased in relation to the master axis and when the xTrimNeg input = TRUE, its speed is decreased.

During the trimming process, the xOffsetTrimActive output = TRUE.

The slave axis is moved with an offset to the master axis while the respective input remains set to TRUE. When xTrimPos or xTrimNeg = FALSE, the slave axis decelerates until the velocity offset to the master axis is equal to zero.

Notice

  • A running trimming command cannot be released by another trimming command.

  • If both inputs = TRUE, the axis decelerates to standstill and the eTMState status output changes to the "ERROR" state. The "ERROR" state is exited if both inputs = FALSE.

Inputs relevant for the function

  • xTrimPos, xTrimNeg

Outputs relevant for the function

  • xOffsetTrimActive

Parameters relevant for the function

  • scPar.eTrimMode, initial value: 1 (trimming per position offset)

  • scPar.lrSetOffsetTrimVel , initial value: 10 unit/s

  • scPar.lrSetOffsetTrimAcc , initial value: 100 unit/s²

  • scPar.lrSetOffsetTrimDcc , initial value: 100 unit/s²

  • scPar.lrSetOffsetTrimJerk , initial value: 10 000 unit/s³

Example

Single cycle operation

No.

xTrimPos

xOffsetTrimActive

eTMState

Info

1

FALSEäTRUE

FALSEäTRUE

SYNCHRONIZED

Trimming per velocity offset is activated. The slave axis accelerates until it reaches a velocity offset to the master axis of 50 unit/s and constantly maintains this offset.

2

TRUEæFALSE

TRUE

SYNCHRONIZED

Trimming per velocity offset is deactivated. The slave axis decelerates until the velocity offset to the master axis is equal to zero.

3

FALSE

TRUEæFALSE

SYNCHRONIZED

The trimming function is not active. The slave axis moves without offset synchronously to the master speed of the master axis.