Up to version 1.1.xxxx.x | TE1410 Simulink Library Code generation Code generation is not supported. The reason is, that synchronous ADS communication requires to wait for the ADS responses. Due to nondeterministic ADS response times, this could lead to big jitter and cycle time exceedings in real time applications. Use asynchronous ADS blocks for use in real time applications instead. 2.4.3 Utilities | Utilities 2.4.3.1 Sync Clock | 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 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. TE1410 24 Version: 1.3.1 Output port Activates an optional block output port, which can be used to monitor the deviation between the simulation and the system time.