Beckhoff Automation GmbH & Co. KG TE1410 — 3.6.1.5 TwinCAT Sync Clock

From version 2.x.xxxx.x | ADS in Simulink® Sample An example model can be built as follows: The Const blocks carry here the ADS address information and the value 42 to transfer it to TwinCAT as input of the function. The AMS Net Id is passed as an array, e.g. [192,168,226,1,1,1]. For Index Group and Index Offset please note that usually in TwinCAT (for example in the Target Browser) the information is given in hexadecimal. It is a good idea to use the hex2dec command, e.g. hex2dec('5DFF0'). Busy output feedback is used to prevent a next request from being made during one request. Data at the output then carries the return value of the called function.

3.6.1.5 TwinCAT Sync Clock | TwinCAT Sync Clock Synchronization of Simulink ® simulation with local system time. Block Parameter TE1410 41 Version: 1.3.1 Parameter Description ADS timeout [ms] Timeout for ADS call