The TF6105 function enables direct integration of OPC UA Pub/Sub communication into the TwinCAT 3 runtime. This capability establishes straightforward and secure machine-to-machine (M2M) and device-to-cloud (D2C) scenarios based on the OPC UA Pub/Sub specification. With an extension of the OPC UA specification, the publisher/subscriber principle is being introduced into the established and standardized OPC UA communication protocol. Two different transport paths are defined in the specification for data transmission: UDP and MQTT. UDP enables efficient and real-time-capable data exchange in a local network between machines or machine components. Transport via an MQTT message broker primarily, but not exclusively, supports cloud scenarios.