Application sample - Flexible Ethernet Port

The application samples have been tested with a test configuration and are described accordingly.
Certain deviations when setting up actual applications are possible.

This sample illustrates the principle of remote access from a subordinate PC to the central EtherCAT controller via a flexibly connected EL6601 and EtherCAT.

The following elements were used:

The approach

The task is to commission an extensive system with EtherCAT topology. To this end frequent access to the TwinCAT System Manager on the central PC is required. In practice the technician will primarily be at the local terminals/EtherCAT slaves during commissioning. The central System Manager as the TwinCAT target system should therefore be accessed from the respective coupler location via a remote PC and Ethernet.

Two mechanisms are used for this purpose:

A freely pluggable combination of EK1101 and EL6601 (HotConnect group) can now be used as a flexible Ethernet interface.

Possible configuration

A possible configuration is described below:

Application sample - Flexible Ethernet Port 1:
Structure HotConnect Group

The system offers EK1110 (end couplers), EK1122 (junction terminals) and free EK1100 ports for connecting the HotConnect group. The IP addresses should be regarded as samples, the notes from the previous samples must be taken into account.

No further settings are required at the TwinCAT/EtherCAT master. EoE is automatically forwarded in TwinCAT 2.11.

Application sample - Flexible Ethernet Port 2:

Remote access operability and EtherCAT state

The process of Ethernet pass-through described here only works as long as the EtherCAT master and the EL66xx are at least in state PREOP. Otherwise no mailbox traffic and therefore no Ethernet transport takes place.  However, if the network structure is already functional, this does not represent an insurmountable obstacle for general commissioning.

Application sample - Flexible Ethernet Port 3:

Change of location and EtherCAT state

Once the HotConnect group is reconnected with the EtherCAT network it may take several seconds for the group to participate in the data traffic again, the EL66xx to be in OP state again and the link (see link LED) to be restored.

Sample configuration

A small EtherCAT system is commissioned, the offline topology view in the System Manager shows two coupler stations and one non-localized station with an EK1101.

Application sample - Flexible Ethernet Port 9:
Opening of target system and loading of configuration

Checklist

The following checklist can be used for a successful configuration up to remote access:

  1. Successful EtherCAT configuration
    - no LostFrames
    - EtherCAT master and all slaves in OP state
    - all WorkingCounters = 0; if necessary, set up special SyncUnits for deliberately inactive slaves
  2. Set a different IP address for the EtherCAT port and the port used at the laptop, but within the same subnet section.
    (here: 172.1.1.1 and 172.1.1.2)
  3. Check the connection from both sides through ping commands
  4. Establish connection as target system
Application sample - Flexible Ethernet Port 10:

Ethernet connection

It is advisable to use credible addresses in the Properties dialog of the network interface, IP protocol (Windows XP SP2) Default gateway and DNS server, although they are not actually required. Settings of the remote PC from the sample:

Application sample - Flexible Ethernet Port 11:
Entry of network addresses in the remote system