Configuration of the CU1128 in the TwinCAT System Manager

Like any other EtherCAT slave, the CU1128 can be configured in two different ways in the TwinCAT System Manager:

See chapter Configuration.

Since the CU1128 with its three integrated slaves is a little different from other slaves, some further information is provided below.

Configuration setup through online scan

From TwinCAT 2.10 b1340 (and therefore also TwinCAT 2.11 and higher) the CU1128 is detected during the scan, and the main device plus the two slaves (CU1128-0001 and CU1128-0002) are created.

Configuration of the CU1128 in the TwinCAT System Manager 1:
Scanning EtherCAT devices in Config mode

To check, make sure in the topology view (see Fig. CU1128 topology display in the System Manager) that the CU1128 is displayed as three junctions in one level.

Configuration of the CU1128 in the TwinCAT System Manager 2:
CU1128 topology display in the System Manager

For comparison, the following figure shows an incorrect display, caused by inadmissible relocation of the slaves in the configuration, for example.

Configuration of the CU1128 in the TwinCAT System Manager 3:
CU1128 topology display

Manual configuration setup

For manual configuration setup of the CU1128 and attached devices, the correct ESI/XML file must be present, see here.

The process in detail:

Configuration of the CU1128 in the TwinCAT System Manager 4:
Right-click and select Append Box

A new device is added in the Ethernet layer. The port specification in the selection dialog plays an important part in the following; see Fig. Selection of the main device CU1128-000 on the right-hand side: it indicates at which outgoing port of the selected device the new device is to be connected. The selection options depend on the hardware (Ethernet or E-bus) available at ports A, B, C, D. In this example only Ethernet, port B is available at the EtherCAT master.

Configuration of the CU1128 in the TwinCAT System Manager 5:
Selection of the main device CU1128-0000

The revision number can be shown in the selection dialog by ticking Extended Information.

Configuration of the CU1128 in the TwinCAT System Manager 6:

Inserting CU1128

To add a CU1128 to a configuration, always use DeviceEtherCAT -> AppendBox and then move it to the required position in the configuration via drag and drop.

Configuration of the CU1128 in the TwinCAT System Manager 7:
Added CU1128 with secondary devices Dev A and Dev B

The PreviousPort field of the secondary devices indicates that they are connected to port C of the previous device.

Configuration of the CU1128 in the TwinCAT System Manager 8:
Previous port specification for CU1128, ESC2

Topology view shows the three devices as a chain:

Configuration of the CU1128 in the TwinCAT System Manager 9:
CU1128 in Topology view

Adding further CU1128 devices

It is common for further devices to be connected to the outgoing ports of the CU1128 at this stage. This is explained below, using a further CU1128 as an example. Make sure that the correct connection point is selected.

Configuration of the CU1128 in the TwinCAT System Manager 10:
Adding further CU1128 devices

Add the CU1128-0000 via DeviceEtherCAT.

Configuration of the CU1128 in the TwinCAT System Manager 11:
Selecting the CU1128-0000

The new Term4  is added after the existing CU1128.

Configuration of the CU1128 in the TwinCAT System Manager 12:
Added CU1128

Then use drag and drop to move it to the required position. In this example the intention is to connect it to port 4 of the CU1128, i.e. port D of ESC2 = Term2. This can be specified via PreviousPort.

Configuration of the CU1128 in the TwinCAT System Manager 13:
Selecting PreviousPort after moving the CU1128

Select Topology view to verify the configuration.

Configuration of the CU1128 in the TwinCAT System Manager 14:
Topology display for 2x CU1128

Further EtherCAT devices

Other EtherCAT devices with Ethernet hardware can also be connected to any ports via AppendBox.

Configuration of the CU1128 in the TwinCAT System Manager 15:
Adding further devices

Only Ethernet devices can be connected to a CU1128. Therefore, please make sure that Ethernet is selected under Port (see Fig. Adding a device, right).

Configuration of the CU1128 in the TwinCAT System Manager 16:
Adding a device

Sequence:

The E-Bus port (see Fig. Port selection for CU1128) cannot be chosen, because the next CU1128 secondary device is attached to it.

Configuration of the CU1128 in the TwinCAT System Manager 17:
Port selection for CU1128