ST_GearInPosCAOptions
The options can be set to specialize the synchronization profile of the slave.
TYPE ST_GearInPosCAOptions :
STRUCT
AfterSyncVelocity : MC_LREAL := MC_DEFAULT;
AfterSyncAcceleration : MC_LREAL := MC_DEFAULT;
AfterSyncDeceleration : MC_LREAL := MC_DEFAULT;
AfterSyncJerk : MC_LREAL := MC_DEFAULT;
MasterVelocityUndershootAllowed : BOOL := TRUE;
MasterVelocityOvershootAllowed : BOOL := TRUE;
MinimalSlavePosition : MC_LREAL := MC_IGNORE;
DirectionReversalAllowed : BOOL := TRUE;
OverrideSlaveDynamicRestrictions : BOOL := FALSE;
GapControlMode : MC_GAP_CONTROL_MODE := mcGapControlModeGroupDefault;
SlaveSyncPositionReferenceSystem : OTCID := 0;
DynamicsReferenceSystem : OTCID := 0;
MasterSignalCorrection : MC_MASTER_SIGNAL_CORRECTION := mcMasterSignalCorrectionAuto;
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
AfterSyncVelocity (From TF5400 V3.1.10.1) | MC_LREAL | Maximum velocity of the slave axis after it has synchronized for the first time. The velocity value must be greater than 0. It is automatically limited by the axis parameter 'Maximum Velocity' of the slave axis. The input is preset with MC_DEFAULT. The velocity is set according to the CA-Group parameter 'GearInPosAfterSyncDynamics'. |
AfterSyncAcceleration (From TF5400 V3.1.10.1) | MC_LREAL | Maximum acceleration of the slave axis after it has synchronized for the first time. The acceleration value must be greater than or equal to 1 and is limited by the axis parameter 'Maximum Acceleration' of the slave axis. The input is preset with MC_DEFAULT. The acceleration is set according to the CA-Group parameter 'GearInPosAfterSyncDynamics'. |
AfterSyncDeceleration (From TF5400 V3.1.10.1) | MC_LREAL | Maximum deceleration of the slave axis after it has synchronized for the first time. The deceleration value must be greater than or equal to 1 and is limited by the axis parameter 'Maximum deceleration' of the slave axis. The input is preset with MC_DEFAULT. The deceleration is set according to the CA-Group parameter 'GearInPosAfterSyncDynamics'. |
AfterSyncJerk (From TF5400 V3.1.10.1) | MC_LREAL | Maximum jerk of the slave axis after it has synchronized for the first time. The jerk must be ≥100. The input is preset with MC_DEFAULT. The deceleration is set according to the CA-Group parameter 'GearInPosAfterSyncDynamics'. |
MasterVelocityUndershootAllowed | BOOL | This option only affects the synchronization profile and has no effect once the slave is
MasterVelocityUndershootAllowed and MasterVelocityOvershootAllowed cannot both be set to FALSE. |
MasterVelocityOvershootAllowed | BOOL | This option only affects the synchronization profile and has no effect once the slave is
MasterVelocityUndershootAllowed and MasterVelocityOvershootAllowed cannot both be set to FALSE. |
MinimalSlavePosition | MC_LREAL | Absolute minimum position of the slave during the synchronization phase. This option only affects the synchronization profile and has no effect once the slave is |
DirectionReversalAllowed | BOOL | This option only affects the synchronization profile and has no effect once the slave is
|
OverrideSlaveDynamicRestrictions | BOOL | This option only affects the synchronization profile and has no effect once the slave is
|
GapControlMode | MC_GAP_CONTROL_MODE | See the description of the data type MC_GAP_CONTROL_MODE for further information. |
SlaveSyncPositionReferenceSystem (From TF5400 V3.1.6.03) | OTCID |
|
DynamicsReferenceSystem (From TF5400 V3.1.6.03) | OTCID |
|
MasterSignalCorrection (From TF5400 V3.2.60) | MC_MASTER_SIGNAL_CORRECTION |
|
Restricting the synchronization profile could make synchronization impossible for the slave. If synchronization is impossible, MC_GearInPosCA issues an error. |
Requirements
Development environment | Target platform | PLC libraries |
---|---|---|
TwinCAT V3.1.4018.26 TF5400 Advanced Motion Pack V3.1.1.17 | PC or CX (x64) | Tc3_McCollisionAvoidance, Tc3_McCoordinatedMotion, Tc2_MC2 |