This repository contains official sample code for the TwinCAT OPC UA product families from Beckhoff Automation. The sample code is provided as-is under the Zero-Clause BSD license.
| Sample | Description |
|---|---|
| container-samples | Container-based TwinCAT 3.1 XAR samples that show how to deploy OPC UA products in Docker containers on Beckhoff RT Linux. |
| container-samples/tcopcuaclientpubsub-container-sample | Container sample for TwinCAT OPC UA Client and Pub/Sub in a single TwinCAT runtime container. |
| container-samples/tcopcuaserver-container-sample | Container sample for TwinCAT OPC UA Server in a TwinCAT runtime container. |
| TF6100_OpcUa_Client_Sample | TwinCAT 3 sample that exercises OPC UA client features such as browsing, read/write, method calls, and historical access. |
| TF6100_OpcUa_Client_Sample_IO | TwinCAT 3 sample that exercises OPC UA client features based on the virtual OPC UA client device. |
| TF6100_OpcUa_Server_Sample | TwinCAT 3 sample that exposes OPC UA variables, methods, alarms, and events through an OPC UA server. |
| TS6100_OpcUa_Client_Sample | TwinCAT 2 PLCopen OPC UA client sample that shows how to connect to a server and invoke client-side UA functions. |
| TS6100_OpcUa_Server_Sample | TwinCAT 2 PLCopen OPC UA server sample that shows how to publish PLC data through OPC UA. |
Should you have any questions regarding the provided sample code, please contact your local Beckhoff support team. Contact information can be found on the official Beckhoff website at https://www.beckhoff.com/contact/.
Further information about the TwinCAT 3 OPC UA samples can be found on the Beckhoff Information System in the TF6100 documentation.