PLC API
TS5066
20
Version: 1.0
VAR_IN_OUT
VAR_IN_OUT
AxisIn : NCTOPLC_AXLESTRUCT;
AxisOut : NCTOPLC_AXLESTRUCT;
END_VAR
AxisIn
: Received original axis structure
AxisOut
: Axis structure for avoiding beat effects with modified set values
3.4
ST_AxisSyncParameters
Configuration structure for
.
TYPE ST_AxisSyncParameters :
STRUCT
eStartUpMode : E_Sync_StartUpMode := E_Sync_StartUpMode_Time;
eFallBackMode : E_Sync_FallBackMode := E_Sync_FallBackMode_PT1;
stAxisExtrapolateParameters : ST_AxisExtrapolateParameters;
stTimeSyncParameters : ST_TimeSyncParameters;
END_STRUCT
END_TYPE
eStartUpMode
: Specifies which
is used for correction of the set values during the initialization
phase, before the phase difference was determined.
eFallBackMode
:
when the difference between the calculated and original set position is
exceeded (see stExtrapolateParameters.fMaxPositionDiff)
stExtrapolateParameters
:
Configuration
block.
stTimeSyncParameters
:
Configuration
block.
3.5
ST_AxisSyncDiagnostic
.
TYPE ST_AxisSyncDiagnostic :
STRUCT
fPositionDiff : LREAL;
fVeloDiff : LREAL;
fCorrectionTime : LREAL;
bTimeMode : BOOL;
stTimeSyncDiagnostic : ST_TimeSyncDiagnostic;
stAxisExtrapolateDiagnostic : ST_AxisExtrapolateDiagnostic;
END_STRUCT
END_TYPE
fPositionDiff:
Current difference between original and calculated set position:
AxisIn.fPosSoll
-
AxisOut.fPosSoll
fVeloDiff:
Current difference between original and calculated set velocity:
AxisIn.fVeloSoll
-
AxisOut.fVeloSoll
fCorrectionTime:
If
bSynced
=TRUE,
fCorrectionTime
contains the correction time for the synchronisation
If
bSynced
=FALSE and
bTimeMode
=TRUE, the
fCorrectionTime
value is calculated for avoiding fluctuations
bTimeMode:
TRUE if the time mode of the FB_TimeSync block is active
stTimeSyncDiagnostic:
with diagnostic outputs of the
block
stAxisExtrapolateDiagnostic
:
with diagnostic outputs of the
block
Содержание TS5066
Страница 1: ...Manual EN TS5066 TwinCAT 2 PLC Remote Synchronisation 2021 10 13 Version 1 0 ...
Страница 2: ......
Страница 4: ...Table of contents TS5066 4 Version 1 0 ...
Страница 30: ......