Function library
CANSync (CAN bus synchronisation)
270
EDBCSXS064 EN 4.0
12.10
CANSync (CAN bus synchronisation)
Function
By means of this function block, the internal time base of the controller can be
synchronised with the instant of reception of the sync telegram or a terminal signal.
Thereby the start of cyclical 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 in a synchronuous manner.
CANSync
2
1
Sync telegram
Sync
Control
C1121
C1123
C1122
C0369
C0366
C0363
C1120
C0367
C0368
Sync signal
0
Off
35
254
253
C6211/17
CANSync-ForInterpolator
CANSync-ResetSyncForInterpolatord
CANSync-Deviation
CANSync-InsideWindow
C6210/17
DI3
DI1
DI2
X6
DI4
DO1
ECSXA217
Fig. 12−10
CANSync function block
Tip!
Detailed information on CAN synchronisation and configuration via codes can
be found in the chapter 8.1.6 "Axis synchronisation (CAN synchronisation)"
((
Codes
Code
Possible settings
IMPORTANT
No.
Designation
Lenze/
{Appl.}
Selection
C0363 Sync correct.
1
CAN sync correction increment
1
0.2
m
s/ms
2
0.4
m
s/ms
3
0.6
m
s/ms
4
0.8
m
s/ms
5
1.0
m
s/ms
C0366 Sync Response
1
CAN sync response for interface
X4 (CAN)
The value "1" should always be
set!
0
No response
1
Response
C0367 Sync Rx ID
128
CAN sync receipt ID for CAN bus
interface X4
1
{1}
256
C0368 Sync Tx Id
128
CAN Sync transmission ID for
CAN bus interface X4
1
{1}
256