Beckhoff Automation GmbH & Co. KG TE1410 — 3.6.1.3 Async ADS Write

From version 2.x.xxxx.x | ADS in Simulink® Example 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. 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'). TE1410 39 Version: 1.3.1 Parameter Description Input Data Type TwinCAT primary data type, e.g. UINT, LINT, REAL, … Input Data Dimensions Dimension, e.g. 5, [2.3], …

Block sample time [s] Sample Time of the block (Default -1 = Simulink Sample Time) ADS timeout [ms] Timeout for ADS call