Overview

The TwinCAT 3 function enables serial data communication for the TwinCAT 3 PLC.

Overview 1:

The following three options are available for the communication:

Option 1: PC COM ports

You can address your physical COM port directly from the PLC.

Option 2: Beckhoff Terminals

The network-based fieldbus system from Beckhoff can be used to access serial terminals at a distance of up to 100 m.

The following Beckhoff terminals are supported:

Option 3: Virtual COM ports

The function provides an ADS server for accessing virtual COM ports of the operating system from the PLC.
This enables the use of USB devices that come with a proprietary USB-To-VirtualCom driver.

The COM port must register in Windows as 'COM1' ... 'COM255'.
In the TwinCAT/BSD operating system, the COM port must be registered as `ttyu0`...`ttyu255`.
In the Beckhoff RT Linux® operating system, the COM port must register as `ttyUSB0`...`ttyUSB255` or `ttyACM0`...`ttyACM255`.

Overview 2:

Installation required

To use virtual COM ports, it is necessary to install the TwinCAT 3 Function Setup or the corresponding XAR package on the system where the virtual COM port exists.

Components of the TwinCAT 3 Function: