Position synchronism with basic speed
This function can be used to establish synchronism with basic speed between a master axis and a drive axis (slave).
Preconditions
-
The technology module is in an error-free state.
-
The axis is enabled ( xReadyForMotion = TRUE).
-
xSyncIn input = FALSE
-
Coupling mode scPar.eSyncMode = 0 (ProfGenAbsolute) or 1 (ProfGenRelative)
Type
The basic speed is active as soon as the lrSetBaseVel input takes on a non-zero value. Immediately after the controller has been enabled, the drive travels to the selected basic speed by means of S-rounding and the technology module changes to the "BASEVELOCITY" state.
From this state, the speed of the slave axis can be synchronized to the master speed of the master axis via the clutch function.
Clutch-in starts at any position when the xSyncIn input is set to TRUE.
When declutching by means of xSyncIn = FALSE, the drive decelerates at scPar.lrSyncDec to the basic speed lrSetBaseVel .
The xBaseVelocityActive output shows whether a basic speed is active.
Inputs relevant for the function
The inputs are located in the L_TS2P_SyncAndCorrectionState function block.
-
xSyncIn
-
lrSetBaseVel
Outputs relevant for the function
The outputs are located in the L_TS2P_SyncAndCorrectionState function block.
-
xBaseVelocityActive
Parameters relevant for the function
The parameters are located in the L_TS2P_scPar_SyncAndCorrectionState structure.
-
scPar.lrSyncVel , LREAL, initial value: 100 units/s
-
scPar.lrSyncAcc , LREAL, initial value: 1 000 units/s²
-
scPar.lrSyncDec , LREAL, initial value: 1 000 units/s²
-
scPar.lrSyncJerk , LREAL, initial value: 1 000 000 units/s³
Example
Clutch-in process (xSyncIn = TRUE) with basic speed lrSetBaseVel = 50
|
No |
xSyncIn |
xAccDecSync |
xSynchronised |
xBaseVelocityActive |
eTMState |
Description |
|---|---|---|---|---|---|---|
|
A |
FALSE |
FALSE ä TRUE |
FALSE |
FALSE ä TRUE |
Standby
|
The axis accelerates from standstill to a basic speed of 50 units/s. |
|
B |
FALSE |
TRUE æ FALSE |
FALSE |
TRUE |
AccDecSync
|
The axis moves at a constant basic speed. |
|
C |
FALSE ä TRUE |
FALSE ä TRUE |
FALSE |
TRUE æ FALSE |
AccDecSync
|
The axis synchronizes to the master speed. |
|
D |
TRUE æ FALSE |
TRUE æ FALSE |
FALSE ä TRUE |
FALSE |
AccDecSync
|
The axis moves synchronously to the master axis. |
|
E |
TRUE |
FALSE ä TRUE |
TRUE æ FALSE |
FALSE |
Synchronized
|
The coupling to the master axis is released and the axis decelerates to the basic speed. |
|
F |
FALSE |
TRUE æ FALSE |
FALSE |
FALSE ä TRUE |
AccDecSync
|
The axis moves at a constant basic speed. |
|
G |
FALSE |
FALSE ä TRUE |
FALSE |
TRUE |
TRUE |
The axis decelerates to standstill. |
|
H |
FALSE |
TRUE æ FALSE |
FALSE |
TRUE æ FALSE |
TRUE æ FALSE |
Standstill |
