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…”.
- 2. In the window that appears, select the type “EtherCAT” > “EtherCAT Automation Protocol (Network Variables)” and confirm with OK.
- A list of the available ports of the IPC and the CU2508-0022 appears.
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.