System modules
CAN_Synchronization (node number 102)
13
281
EDBCSXA064 EN 3.2
13.7 CAN_Synchronization (node number 102)
Tip!
Detailed information on CAN synchronisation and configuration via codes can
be found in the chapter 8.6 "Axis synchronisation (CAN synchronisation)"
(( 166).
This SB serves to synchronise the internal time base of the controller with the instant of
reception of the sync telegram or a terminal signal. Thereby the start of cyclic and
time−controlled internal processes of all controllers involved in the synchronisation (e.g.
data transfer from tasks to the DCTRL function block) is effected synchronously.
CAN_bSyncForInterpolator_b
CAN_Synchronization
CAN_bResetSyncForInterpolartor_b
CAN_nSyncDeviation
CAN_bSyncInsideWindow_b
2
1
Sync telegram
Sync
Control
C1121
C1123
C1122
C0369
C0366
C0363
C1120
X6/DI1
C0367
C0368
Sync signal
0
Off
Fig. 13−11 System block "CAN_Synchronization"
System variables
Variable Data
type
Signal
type
Address Display
code
Display
format
Comments
CAN_bSyncInsideWindo
w_b
BOOL
binary %IX102.0.0 ˘ ˘ TRUE:
Sync telegram/signal
within the time slot
(C1123)
FALSE:
l Quit synchronicity
l no sync
telegram/signal
l Time slot (C1123) too
small
CAN_bSyncForInterpolat
or_b
BOOL binary %IX102.0.1 ˘ ˘ TRUE:
Sync telegram/signal
detected
CAN_nSyncDeviation integer %IX102.1 ˘ ˘ current sync deviation
CAN_bResetSyncForInter
polator_b
BOOL binary %QX102.0.0 ˘ ˘ TRUE:
Reset
CAN_bSyncForInterpolat
or_b