Sync Clock
The block "Sync Clock" can be used to slow down the simulation time to the system time. You can find this block beneath the subfolder "Utilities" of the Beckhoff ADS Library inside the "Simulink Library Browser".
Block parameters
Output port |
Activates an optional block output port, which can be used to monitor the deviation between the simulation and the system time. |
Code generation
Code generation is supported for the TwinCAT Target but no code is generated for this block, because real time modules do not require any system time synchronization.