Establish ADS-over-MQTT connection

On your local computer with TwinCAT 3.1 XAE Engineering, you can use the template mqtt.xml for the ADS-Over-MQTT route configuration.

Simply adjust the address in the file mqtt.xml and copy the file to C:\Program Files(x86)\Beckhoff\TwinCAT\3.1\Target\Routes\. After restarting your TwinCAT system service, the containerized TwinCAT Runtime tc31-xar-base should be listed as an available target system:

Establish ADS-over-MQTT connection 1: