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_SyncPosBase function block.

  • xSyncIn
  • lrSetBaseVel
Outputs relevant for the function

The outputs are located in the L_TS2P_SyncPosBase function block.

  • xBaseVelocityActive
Parameters relevant for the function

The parameters are located in the L_TS2P_scPar_SyncPosBase structure.

  • 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

1

FALSE

FALSE ä TRUE

FALSE

FALSE ä TRUE

Standby AccDecSyn

The axis accelerates from standstill to a basic speed of 50 units/s.

2

FALSE

TRUE æ FALSE

FALSE

TRUE

AccDecSync BaseVel

The axis moves at a constant basic speed.

3

FALSE ä TRUE

FALSE ä TRUE

FALSE

TRUE æ FALSE

AccDecSync BaseVel

The axis synchronizes to the master speed.

4

TRUE æ FALSE

TRUE æ FALSE

FALSE ä TRUE

FALSE

AccDecSync Synchroni

The axis moves synchronously to the master axis.

5

TRUE

FALSE ä TRUE

TRUE æ FALSE

FALSE

Synchronized AccDecSync

The coupling to the master axis is released and the axis decelerates to the basic speed.

6

FALSE

TRUE æ FALSE

FALSE

FALSE ä TRUE

AccDecSync BaseVe

The axis moves at a constant basic speed.

7

FALSE

FALSE ä TRUE

FALSE

TRUE

TRUE

The axis decelerates to standstill.

8

FALSE

TRUE æ FALSE

FALSE

TRUE æ FALSE

AccDecSync Standby

Standstill