Assignment of the connections
This chapter describes the assignment of the EP9224-0037 connectors to their representation in TwinCAT. This assignment is required to correctly map an EtherCAT network in TwinCAT "offline" configuration.
An EP9224-0037 is represented by two I/O modules in the TwinCAT I/O tree:
Each I/O module has four ports. Some ports represent connectors, while others represent internal interfaces. The following illustration shows the assignment of the connectors to the ports of the I/O modules in TwinCAT:
Type | EP9224-0037 | TwinCAT | |
---|---|---|---|
Connector | I/O module | Port | |
EtherCAT P output | X52 | EP9224-1037 | D |
EtherCAT P output | X53 | B | |
EtherCAT P output | X54 | C | |
EtherCAT P output | X55 | EP9224-0037 | B |
EtherCAT input | X70 | A | |
EtherCAT output | X71 | C |
The following page contains examples of how to use the table.
Example: Appending an EtherCAT P Box to EP9224-0037
- Requirement: an EP9224-0037 is appended in the IO tree in TwinCAT.
- 1. Decide which connector of the EP9224-0037 to connect the EtherCAT P Box to.
(e.g. to X54) - 2. Determine the corresponding IO module and port with the help of the table.
(e.g. EP9224-1037, Port C) - 3. Right-click on the IO module determined in the IO tree.
(e.g. EP9224-1037) - 4. Click on the menu item Add new Item…
- 5. In the window that appears, select the EtherCAT P Box to be appended and the port determined.
(e.g. EPP1008-0001, Port C) - 6. Click OK
- Result: The box was appended in the correct place in the IO tree.
Example: Connect an already appended EtherCAT P Box to a different connector
- 1. Double-click on the EtherCAT P Box in the IO tree.
(e.g. an EPP1008-0001 that was previously connected to X54) - 2. Click on the EtherCAT tab.
- 3. Determine the corresponding IO module and port of the new connector with the help of the table.
(e.g. X55 → EP9224-0037, Port B) - 4. Select the determined IO module and port in the drop-down list Previous Port.
(e.g. "Box 1 (EP9224-0037) – B")
- Result: The EtherCAT P Box is connected to the new connector.
Checking the IO configuration graphically
- 1. Double-click the EtherCAT master device in the IO tree.
- 2. Click the EtherCAT tab.
- 3. Click the Topology button.
- Result: A graphical illustration of the network structure created in TwinCAT appears.
Move the mouse pointer over the icons of the IO modules to display their description.