This repository contains official sample code for the product TF6310|TC3 TCP/IP offered by Beckhoff Automation. The sample code is provided as-is under the Zero-Clause BSD license.
| Category | Sample | Description |
|---|---|---|
| Container | container-samples | Overview of container-based TF6310 samples for TwinCAT 3.1 XAR deployment with Docker. |
| C# | SampleClient | TCP/UDP sample client for connect/send/receive workflows. |
| PLC / Getting Started | GettingStarted | Introductory PLC sample with local TCP client/server communication. |
| PLC / TCP | Sample01 | Basic TCP client and server PLC projects. |
| PLC / TCP | Sample02 | Single-client/single-server string communication with TcSocketHelper. |
| PLC / TCP | Sample03 | Multi-client string communication against a PLC server. |
| PLC / TCP | Sample04 | Single-client/single-server binary communication with TcSocketHelper. |
| PLC / TCP | Sample05 | Multi-client binary communication against a PLC server. |
| PLC / TCP | Sample06 | TLS-secured TCP client/server sample with certificate-based setup. |
| PLC / TCP | Sample07 | TLS-secured TCP client/server sample with PSK-based setup. |
| PLC / UDP | Sample01 | UDP peer-to-peer communication using two PLC peers. |
| PLC / UDP | Sample02 | UDP multicast communication between two PLC devices. |
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 this sample code can be found on the Beckhoff Information System in the TF6310 documentation.