System bus (CAN) with Servo PLC & Drive PLC
System blocks
6.6
CAN_Synchronization
6-19
L
PLC-Systembus EN 1.1
6.6
CAN_Synchronization
System bus synchronisation (module number: 102)
You can use the CAN_Synchronization SB to synchronise the internal time base of the PLC on receipt
of the Sync telegram or of a terminal signal.
•
In this way, cyclic and time-controlled internal processes will be synchronously started with all
synchronised PLCs (e.g. data transfer from tasks to the
MCTRL_MotorControl
SB).
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
C0367
C0368
Sync signal
0
Off
Fig. 6-10
CAN_Synchronization
Variable Name
Data Type
Signal Type
Address
DIS
DIS format
Note
CAN_b
SyncInsideWindow_b
Bool
binary
%IX102.0.0
-
-
TRUE:
Sync telegram/signal within
the time window (C1123)
FALSE:
•
Synchronisation left
•
No Sync telegram/signal
•
Time window (C1123)
too small
CAN_b
SyncForInterpolator_b
Bool
binary
%IX102.0.1
-
-
TRUE:
Sync telegram/signal reco-
gnised
CAN_n
SyncDeviation
Integer
%IX102.1
-
-
Current Sync deviation
CAN_b
ResetSyncForInterpolator_b
Bool
binary
%QX102.0.0
-
-
TRUE:
Reset CAN_bSyncForInter-
polator_b
Possible axis synchronisation
•
Synchronisation via system bus (CAN) by Sync telegram
•
Synchronisation via terminal by Sync signal:
PLC
Terminal for Sync signal
9300 Servo PLC
X5/E5
Drive PLC
X3/I1
Tip!
For synchronisation via terminal the control configuration of the Drive PLC Developer Studio must
include both the
CAN_Synchronization
SB and the
DIGITAL_IO
SB.
Show/Hide Bookmarks