Continuous driving operation
Preconditions
-
The technology module is in an error-free state.
-
The drive is enabled ( xReadyForMotion = TRUE).
Execution
Continuous driving operation is started with the xContinuous input = TRUE and remains active until xContinuous = FALSE is set or until it is released by a synchronization process ( xSyncIn input = TRUE).
The cycle starts at the lrSetPosOut setpoint position of the virtual master axis and ends at the scPar . lrTargetPos target position.
The direction of rotation is defined using the scPar. eDirection parameter:
-
Value "1" = positive direction (initial value)
-
Value "2" = negative direction
The traveling speed is specified at the lrSetVel input. Positive and negative speeds are permissible in continuous driving operation.
If continuous driving operation is interrupted, e.g. via "QSP Application", the axis restarts after quitting the STOP state and switches to the CONTMOTION state.
If continuous driving operation has been released by clutch-in on the real master axis and the xContinuous input remains set to TRUE, then a transition directly back to continuous driving operation occurs upon declutching.
Inputs relevant for the function
-
xContinuous
-
lrSetVel , initial value: 10 [unit/s]
Outputs relevant for the function
-
xContinuousMotionBusy
-
xMoveToTargetPosBusy
-
xMoveToTargetPosDone
-
xInTarget
Parameters relevant for the function
-
scPar.eDirection , initial value: positive direction
-
scPar.lrAcc , initial value: 36000 [unit/s²]
-
scPar.lrDec , initial value: 36000 [unit/s²]
-
scPar.lrJerk , initial value: 0 [unit/s³]
Example
|
No |
xContinuous |
xContinuous
|
xMoveTo
|
xMoveTo
|
xInTarget |
eTMState |
Info |
|---|---|---|---|---|---|---|---|
|
1 |
FALSE ä TRUE |
FALSE ä TRUE |
FALSE |
FALSE |
TRUE æ FALSE |
STANDBY
|
Continuous driving operation is started. The axis accelerates at scPar.lrAcc to the setpoint speed lrSetVel = 200 unit/s and then moves at a constant speed. |
|
2 |
TRUE æ FALSE |
TRUE æ FALSE |
FALSE ä TRUE |
FALSE |
FALSE |
CYCLICMOTION
|
Continuous driving operation is ended. The axis moves to the target position scPar.lrTargetPos = 0 and decelerates at scPar.lrDec to standstill. |
|
3 |
FALSE |
FALSE |
TRUE æ FALSE |
FALSE ä TRUE (for 1 cycle) æ FALSE |
FALSE ä TRUE |
MOVE_TO_TARGET_POS
|
Standstill |
