Single cycle operation
Preconditions
-
The technology module is in an error-free state.
-
The drive is enabled ( xReadyForMotion = TRUE).
Execution
The single cycle operation is started when the xCycleExecute input = TRUE.
The cycle starts at the current lrActPos 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. Only positive speeds are permissible.
If the single cycle operation is interrupted, e.g. via "QSP Application" or a clutch-in to the real master axis, the xCycleExecute input has to be reset to TRUE.
Inputs relevant for the function
-
xCycleExecute
-
lrSetVel , initial value: 10 [unit/s]
Outputs relevant for the function
-
xCyclicMotionBusy
-
xCyclicMotionDone
-
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 |
xCycleExecute |
xCyclicMotionBusy |
xCyclicMotionDone |
xInTarget |
eTMState |
Info |
|---|---|---|---|---|---|---|
|
1 |
FALSE ä TRUE |
FALSE ä TRUE |
FALSE |
FALSE |
STANDBY
|
Starting from the current position IrActPos = 0, the axis accelerates at scPar.lrAcc to the setpoint speed lrSetVel = 200 unit/s. |
|
2 |
TRUE æ FALSE |
FALSE |
FALSE |
FALSE |
CYCLICMOTION |
The axis moves at a constant speed. |
|
3 |
FALSE |
TRUE |
FALSE |
FALSE |
CYCLICMOTION |
The axis decelerates at scPar.lrDec and comes to a standstill in the target position scPar.lrTargetPos = 0. |
|
4 |
FALSE |
TRUE æ FALSE |
FALSE ä TRUE (for 1 cycle) æ FALSE |
FALSE ä TRUE |
CYCLICMOTION
|
Standstill |
|
5 |
FALSE ä TRUE |
FALSE ä TRUE |
FALSE |
TRUE æ FALSE |
CYCLICMOTION |
Starting from the current position IrActPos = 0, the axis accelerates at scPar.lrAcc to the setpoint speed lrSetVel = 200 unit/s. |
|
6 |
TRUE |
TRUE |
FALSE |
FALSE |
CYCLICMOTION |
The axis moves at a constant speed. |
|
7 |
TRUE |
TRUE |
FALSE |
FALSE |
CYCLICMOTION |
The axis decelerates at scPar.lrDec and comes to a standstill in the target position scPar.lrTargetPos = 0. |
|
8 |
TRUE |
TRUE æ FALSE |
FALSE ä TRUE |
FALSE ä TRUE |
CYCLICMOTION |
Standstill |
|
9 |
TRUE æ FALSE |
FALSE |
TRUE æ FALSE |
TRUE |
CYCLICMOTION
|
Standstill |
