TwinCAT ADS: read, write and observe
Complete ADS cycle.
The counterpart to the OPC UA example for the Beckhoff world: connectivity to TwinCAT through the ADS protocol with reading, writing and observing PLC variables. An ADS server is started from the workflow, several variables are read on a trigger, a rotary encoder signal is measured and validated through an RMS characteristic, then the server is stopped in a controlled manner. The communication runs entirely against simulated counterparts.
Workflows in detail
-
SimpleReadWriteObserveTest
Complete ADS cycle.
Start → start ADS server → trigger axis Y → read "Start" → read "Out 01" → read "New Out 01" → rotary encoder measurement → signal validation analysis → stop server → end; error flow present.
-
Signal Validation
Characteristic block.
Characteristic start → RMS → characteristic end.
Take it with you
Import through the SonicTC DbManager — individually or merged into an existing database.
Ready to experience acoustic test technology in your line?
Send us your part or schedule an online demo. First assessment within 24 hours.