RT Ethernet adapter configuration

The TwinCAT Telecontrol Configurator generates the PLC standard code for the "Publisher" or "Subscriber" whenever corresponding Goose control block instances have been configured or imported from an ICD file. In order for these instances to be able to communicate with the outside world, a network adapter (RT Ethernet adapter) is required that can send (Publisher) or receive (Subscriber) the Goose messages. The TwinCAT Telecontrol Configurator automatically creates such an adapter instance of the type "Real-Time Ethernet Adapter (Multiple Protocol Handler)" during project generation. It can be found later in the project tree under the I/O Devices junction. This adapter instance must be configured accordingly, i.e. the I/O configuration must be adapted to the existing hardware and to the target platform on which the project is to run.
A new I/O configuration is also necessary if you change the target platform. This configuration must be done manually in TwinCAT XAE. The following image shows a network adapter instance created by the TwinCAT Telecontrol Configurator that has not yet been configured.
In order to use the real-time network adapter and thus the GOOSE communication, the device used must have a compatible network adapter. The list of supported network chips can be found here: Supported network controllers.

RT Ethernet adapter configuration 1:

In addition to the I/O configuration of the network adapter, a link must be established between the network adapter and the PLC function blocks for Goose communication. This link can be used to forward the data received from the network adapter to the instance of the "FB_[IEDName]Gse" function block. In the opposite direction the instance of the function block "FB_[IEDName]Gse" can forward the data to be sent to the network adapter.

Adding an adapter manually

If the network adapter is not yet present below the I/O configuration, it can be added later.

1. In the project tree, right-click Devices.
2. Select the context menu entry Add New Item….
3. From the device list Ethernet select Real-Time Ethernet Adapter (Multiple Protocol Handler).
4. Confirm your selection with Ok.
RT Ethernet adapter configuration 2:
This adds the adapter.

Adapter configuration

Open the adapter properties dialog with a double right mouse click on the adapter.
1. Switch to the Adapter tab.
2. There select the command Search....
RT Ethernet adapter configuration 3:
3. Select an adapter from the list of found adapters and confirm this with OK.
RT Ethernet adapter configuration 4:
This completes the adapter configuration. In the next step a link must be established between the adapter and the PLC function block instance "FB_[IEDName]Gse".

Link adapter with PLC function block instance

The link between the network adapter and the PLC function block instance "FB_[IEDName]Gse" is established via a so-called object ID (oid). The object ID's available in the project are displayed on the PLC project instance dialog under the Symbol Initialization tab. The project must have been previously compiled at least once for the tab and object IDs to appear.

Notice

A real-time network adapter can be linked with max. 20 instances of the PLC function block instance "FB_[IEDName]Gse" via the object ID.

Open the adapter properties dialog with a double right mouse click on the adapter.
1. Switch to the Icon Initialization tab.
2. In the column Value select your network adapter GSE (RT Ethernet Adapter) from the drop-down box.
3. Save all changes in the solution.
RT Ethernet adapter configuration 5:
This completes the configuration and linking of the real-time network adapter.