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 exceeding in real time applications. Use asynchronous ADS blocks for use in real time applications instead. 2.4.2.4 TC ADS Sync Write | TC ADS Sync Write The block "TC ADS Sync Write" provides write access to TwinCAT ADS variables. You can find this block beneath the subfolder "Synchronous" of the Beckhoff ADS Library inside the "Simulink Library Browser". Block input ports Block output ports TE1410 22 Version:
1.3.1 Otherwise the output values belong to the input ADS parameters of the previous time step. Activating this option can significantly slow down the simulation. Create signal labels Signal labels are created for the signal lines, connected to the output ports NetId The target AMS NetId Port The target ADS Port IdxGrp The target ADS Index Group IdxOffs The target ADS Index Offset Data The value to be written to the ADS variable Err Boolean flag signaling an actual ADS error ErrId The ADS error code