Type |
EF |
Devices supporting the parameter |
Encoder network (Synchronization master) |
Traceable |
Yes |
Enables or disables the connection of the Synchronization master to the Synchronization slave.
Value |
Data type |
Meaning |
---|---|---|
off / 0 |
BOOL |
No connection of the Synchronization master to the Synchronization slave. |
on / 1 |
BOOL |
The Synchronization master is establishing a connection to the Synchronization slave and then begins cyclical data transfer. |
The time needed to enable the synchronization may be longer than 200 ms.
Synchronization is performed synchronously within the context of the user application. This means that the execution of the application is blocked until the synchronization is completed. This can lead to a cycle time overrun. To inhibit a corresponding error message, you can disable the cycle time verification before you enable synchronization and enable it again afterwards.
See following code example:
CASE iState OF
0:
FC_CycleCheckSet(FALSE);
SyncM_Master.Enable := FALSE
iState := 10;
10:
SyncM_Master.Enable := TRUE
iState := 20
20:
FC_CycleCheckSet(TRUE);
iState := 30
END_CASE