Configuration of a port for network variables

This chapter describes the configuration of a port of the CU2508-0022 for the cyclic exchange of network variables.
Detailed information on network variables can be found in the “TwinCAT 3 | EAP” documentation.

1. Right-click on “Devices” under “I/O” in the Solution Explorer and select “Add New Item…”.
Configuration of a port for network variables 1:
2. In the window that appears, select the type “EtherCAT” > “EtherCAT Automation Protocol (Network Variables)” and confirm with OK.
Configuration of a port for network variables 2:
A list of the available ports of the IPC and the CU2508-0022 appears.
Configuration of a port for network variables 3:
If no list appears, set the port subsequently in the “Adapter” tab of the “EtherCAT Automation Protocol (Network Variables)” device you have just created, see chapter Changing the port of a device. Skip the following step.
3. Select the desired port of the CU2508-0022 in the list.
X01 is port 1, X02 is port 2, etc.
Please note that the selected port must not be configured as a TCP/IP port.
You can also select “(none)” and/or change the port afterwards. See chapter Changing the port of a device.
4. Create and configure the required “Network Variable Publisher” and “Network Variable Subscriber” in accordance with the “TwinCAT 3 | EAP” documentation.