Overview

The “TCP/UDP Realtime” Function (TF6311) offers direct access to network cards from the real-time environment. Access can be either from the PLC (61131-3) or C++.

The following protocols are supported:

This section describes the concept of interfaces as API. An introduction is provided by means of sample programs.

Overview 1:

Regardless of the protocol, the communication between the project using the protocol and TwinCAT is realized with a pair of interfaces:

The communication partner of these interface pairs is a “TCP/UDP RT” TcCom object, which is instantiated and configured with the network card.