Installation

TwinCAT 3.1 Build 4022 and 4024

All the required components are supplied directly with the TwinCAT setup.

TwinCAT 3.1 Build 4026

The MQTT driver is already included in the TwinCAT Standard Workload. The PLC library Tc3_IotBase can be installed via the package TwinCAT.XAE.PLC.Lib.Tc3_IotBase.

If you are using TwinCAT 3.1 Build 4026 (and higher) on the Microsoft Windows operating system, you can install this function via the TwinCAT Package Manager, see Installation documentation.

Normally you install the function via the corresponding workload; however, you can also install the packages contained in the workload individually. This documentation briefly describes the installation process via the workload.

Command line program TcPkg

You can use the TcPkg Command Line Interface (CLI) to display the available workloads on the system:

tcpkg list -t workload

You can use the following command to install the workload of the TF6701 IoT Communication MQTT function.

tcpkg install TF6701.IotCommunication.XAE 

TwinCAT Package Manager UI

You can use the User Interface (UI) to display all available workloads and install them if required.
To do this, follow the corresponding instructions in the interface.