Quick Start

The following chapter guides you through the first time setup of an OPC UA Pub/Sub configuration in TwinCAT. Please make sure that you have followed the installation instructions before moving on and that your system meets the system requirements. The following quick start tutorials are available:

Tutorial

Description

UDP

Demonstrates how to set up a PLC project, OPC UA RT device and a publisher that sends a data set containing one variable via UDP. The variable is linked to a variable from the PLC project via the process image.

MQTT

Demonstrates how to set up a PLC project, OPC UA RT device and a publisher that sends a data set containing one variable via MQTT. The variable is linked to a variable from the PLC project via the TwinCAT Target Browser.

Offline configuration exchange

OPC UA Pub/Sub defines a file format for offline configuration exchange that is based on the UA Binary format (OPC UA specification, chapter 5.2). If you want to set up an OPC UA Pub/Sub configuration between two different devices, we strongly recommend using this common exchange file. The chapter Configuration import/export includes more information about this topic.