Velocity offset via profile generator
The slave axis is moved with a variable velocity offset to the master axis. The offset is specified by a profile generator.
Preconditions
-
The technology module is in an error-free state.
-
The drive is enabled ( xReadyForMotion = TRUE).
Execution
For positioning, a profile is specified via the parameters speed, acceleration, deceleration and jerk ( scPar.lrSetOffsetTrimVel, scPar.lrSetOffsetTrimAcc, scPar.lrSetOffsetTrimDcc, scPar.lrSetOffsetTrimJerk ).
The lrSetOffsetVel input specifies the velocity offset to the master axis. It is transmitted to the axis without speed step change by means of S-rounding via a profile generator and can be read at the scSignalflow.MP_lrVelOffset measuring point.
If the offset function is active, the xOffsetTrimActive output = TRUE.
Inputs relevant for the function
-
lrSetOffsetVel , initial value: 0 units/s
Outputs relevant for the function
-
lrOffsetTotalVel
-
xOffsetTrimActive
Parameters relevant for the function
-
scPar.lrSetOffsetTrimDcc , initial value: 100 unit/s²
-
scPar.lrSetOffsetTrimJerk , initial value: 10 000 unit/s³
scPar.lrSetOffsetTrimAcc , initial value: 100 unit/s²
Measuring points relevant for the function
-
scSignalflow.MP_lrVelOffset , initial value: 0 units/s
Example
Velocity offset ( lrSetOffsetVel = 50 units/s) by means of S-rounding ( lrSetOffsetTrimJerk = 100 units/s³)
|
No. |
lrSetOffsetVel |
MP_lrVelOffset |
xOffsetTrimActive |
eTMState |
Info |
|---|---|---|---|---|---|
|
1 |
0 units 50 units/s |
|
FALSEäTRUE |
SYNCHRONIZED |
A velocity offset of 50 unit/s is set at the lrSetOffsetVel input. The slave axis accelerates and then moves at a constant velocity offset of 50 unit/s in relation to the master speed of the master axis. |
|
2 |
50 units 0 units/s |
|
TRUE |
SYNCHRONIZED |
The velocity offset is set equal to zero at the lrSetOffsetVel input. The slave axis decelerates until it reaches the master speed of the master and the velocity offset is equal to zero. |
|
3 |
0 units/s |
|
TRUEæFALSE |
SYNCHRONIZED |
The slave axis moves without velocity offset synchronously to the master axis. |