Integrating into a TwinCAT project

This chapter describes how to integrate the CU2508-0022 into a TwinCAT project.

1. Ensure that the “TwinCAT Ethernet Protocol” is installed on the Gigabit Ethernet port of the IPC to which the CU2508-0022 is connected or is to be connected.
Use the dialog window under the menu item “TwinCAT” > “Show Realtime Ethernet Compatible Devices…”.
2. Right-click on “Devices” under “I/O” in the Solution Explorer and select “Add New Item…”.
Integrating into a TwinCAT project 1:
3. In the window that appears, select the type “Ethernet” > “Real-Time Ethernet Adapter (Multiple Protocol Handler)” and confirm with OK.
Integrating into a TwinCAT project 2:
If several suitable ports are available on the IPC, a window with a selection of these ports will appear.
Select the port to which the CU2508-0022 is connected. You can also select “(none)” and select the port later in the “Adapter” tab using the “Search” button.
The CU2508-0022 appears in Solution Explorer as “Device n (RT-Ethernet Adapter)”.
Integrating into a TwinCAT project 3:

Continue with the configuration in the chapter Basic configuration.