Installation
TwinCAT 3.1 Build 4022 and 4024
All the required components are supplied directly with the TwinCAT Setup.
- TwinCAT XAE Setup: Contains the MQTT driver and the PLC library (Tc3_IotCommunicator).
- TwinCAT XAR Setup: Contains only the MQTT driver.
TwinCAT 3.1 Build 4026
The MQTT driver is already included in the TwinCAT Standard Workload. The PLC library Tc3_IotCommunicator can be installed via the package TwinCAT.XAE.PLC.Lib.Tc3_IotCommunicator. The push agent can be installed via the TwinCAT.XAR.IotCommunicatorPushAgent package.
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 workloads; however, you can also install the packages contained in the workloads 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 workloadYou can use the following commands to install the TwinCAT IoT Communicator workloads.
tcpkg install TF6730.IotCommunicator.XAE
tcpkg install TF6735.IotCommunicator.XARTwinCAT 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.