Installation of the TwinCAT real-time driver

In order to assign real-time capability to a standard Ethernet port of an IPC controller, the Beckhoff real-time driver has to be installed on this port under Windows.

This can be done in several ways. One option is described here.

In TwinCAT 3, the TwinCAT overview of the local network interfaces can be called up via the menu "TwinCAT" → Show real-time Ethernet compatible devices:

Installation of the TwinCAT real-time driver 1:
Call in VS Shell (TwinCAT 3)

The following dialog appears:

Installation of the TwinCAT real-time driver 2:
Overview of network interfaces

Interfaces listed under “Compatible devices” can be assigned a driver via the “Install” button. A driver should only be installed on compatible devices.

A Windows warning regarding the unsigned driver can be ignored.

Alternatively, as described in the chapter Offline configuration creation, section "Creating the EtherCAT device", you can first enter an EtherCAT device and then view the compatible Ethernet ports via its properties ("Adapter" tab, "Compatible Devices..." button):

Installation of the TwinCAT real-time driver 3:
Properties of EtherCAT device (TwinCAT 3): Click on "Compatible Devices..." from "Adapter"

TwinCAT 3: the properties of the EtherCAT device can be opened by double click on “Device .. (EtherCAT)” within the Solution Explorer under “I/O”:

Installation of the TwinCAT real-time driver 4:

After installation, the driver appears enabled in the Windows overview of the individual network interface (Windows Start → Control Panel → Network)

Installation of the TwinCAT real-time driver 5:
Windows properties of the network interface

A correct setting of the driver could look like this:

Installation of the TwinCAT real-time driver 6:
Example of the correct driver setting for the Ethernet port

Other possible settings are to be avoided:

Installation of the TwinCAT real-time driver 7:
Wrong driver settings for the Ethernet port

IP address of the port used

Installation of the TwinCAT real-time driver 8:

IP address/DHCP

In most cases an Ethernet port that is configured as an EtherCAT device will not transport general IP packets. For this reason and in cases where an EL6601 or similar devices are used it is useful to specify a fixed IP address for this port via the “Internet Protocol TCP/IP” driver setting and to disable DHCP. In this way the delay associated with the DHCP client for the Ethernet port assigning itself a default IP address in the absence of a DHCP server is avoided. A suitable address space is 192.168.x.x, for example.

Installation of the TwinCAT real-time driver 9:
TCP/IP setting for the Ethernet port