PLC API
TS5066
24
Version: 1.0
iEndOfTransitionLimit
: Number of task cycles during which the difference between the sender and
receiver cycle counter must remain constant, in order to identify a beat. Large values are required
particularly for small beat frequencies. In this case, the low relative frequency of the two systems leads to a
long transition phase. Cycle time jitter causes phases of constant counter difference, the length of which
increases with decreasing system drift.
iNewDriftBendingCycles
: Number of task cycles for linear transition when a new drift is determined. The
stronger the deviation of the new drift from the previous value, the greater the change in correction time. In
order to reduce the effects of this change, linear interpolation within
iNewDriftBendingCycles
cycles between
the correction times determined with the old drift and the new drift is used. After
iNewDriftBendingCycles
only
the current drift is used.
iTimeModeBlendingCycles
: In TimeMode, the correction time is linearly reduced to 0 within
iTimeModeBlendingCycles
task cycles when a beat effect is identified. TimeMode is automatically active, as
long as
synchronisation could not be achieved (bSynced
=FALSE). In this case, the function blocks
) used evaluating the correction time should be used as
in sync mode or discarded.
bForceTimeMode:
Time mode is used continuously, i.e. the system does _not_ change to sync mode when
the synchronisation conditions have been reached. TimeMode is automatically active, as long as
synchronisation could not be achieved (bSynced
=FALSE). In this case, the function blocks (
or
) used evaluating the correction time should be used as in sync
mode or discarded.
bAutomaticReInit
: Automatic reinitialisation after a fault. Faults are deleted and the startup phase initiated
after a cycle.
Activate with caution. Troubleshooting is made more difficult if the cause of the fault was not
eliminated.
nSysCmd
: reserved
3.11
ST_TimeSyncDiagnostic
Extended output structure for
TYPE ST_TimeSyncDiagnostic :
STRUCT
iCycleIndexDiff : DINT;
iTotalEqualDataCounter : UINT;
iConsecutiveEqualDataCounter : UINT;
fDrift : LREAL;
END_STRUCT
END_TYPE
iCycleIndexDiff
: Difference between the current
iCycleIndex
and the value received during the previous
task cycle. For continuous sending/receiving the value is 1. 0 if a date is read twice, 2 if a sent date was not
received.
iTotalEqualDataCounter
: Total number of cycles during which no new data were received since the FB
was activated.
iConsecutiveEqualDataCounter
: Current number of successive cycles during which no new data were
received, i.e. during which
fCycleIndex
=0 applied successively.
fDrift
: Current sender and the receiver phase difference in [ppm=parts per million]. A negative sign means
that the cycle time of the sender is greater than that of the receiver.
fDrift := 1E6/(number of cycles between two step changes)
3.12
ST_AxisExtrapolateDiagnostic
extended output structure for
TYPE ST_AxisExtrapolateDiagnostic :
STRUCT
fPositionDiff : LREAL := 0;
Содержание 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: ......