Samples

Sample code and configurations for this product can be obtained from the corresponding repository on GitHub: https://github.com/Beckhoff/TF6100_Samples. There you have the possibility to clone the repository or download a ZIP file with the sample.

Samples 1:

The following samples exist:

Name

TwinCAT Version

Description

TF6100_OpcUa_Client_Sample

TwinCAT 3

This sample contains sample code for various functions of the TwinCAT OPC UA Client (PLCOpen function blocks). These include Browse, Connect, HistoryUpdate, MethodCall, Read and Write. The server sample for access is also included.

TF6100_OpcUa_Server_Sample

TwinCAT 3

This sample contains a PLC with extensive provision of PLC data for the TwinCAT OPC UA Server (OPC UA Data Access).

TS6100_OpcUa_Client_Sample

TwinCAT 2

This sample contains sample code for various functions of the TwinCAT OPC UA Client (PLCOpen function blocks). These include MethodCall, Read and Write.

TS6100_OpcUa_Server_Sample

TwinCAT 2

This sample demonstrates the use of PLC comments to release variables via the TwinCAT OPC UA Server.