Configuring Hot Connect (EtherCAT Master) in Communication Studio

 

Used Versions

 

Version

Link

 

Version

Link

EtherCAT Master Firmware

4.5.0.15

EtherCAT Master V4.5.0.15

Communication Studio

1.6.27.49028

V1.6.27.49028

Device Library

1.6.22.50391

tbd: Device Library

Hardware

In this example, we used the following topology:

cifx (EtherCAT Master) ↔︎ Baumer Encoder ↔︎ EK1101 with EL1014, EL2004 and KL9010 attached.

 

Configuration

Use the Communication Studio and create a network configuration.

This can be done with an automatic network scan or by manually adding the EtherCAT slaves.

ESI files for all used slaves need to be imported beforehand.

image-20241025-095915.png
Import EDS file

 

In this example, the network looks like this:

image-20241025-100308.png
Configured EtherCAT network

 

After downloading, we should do a quick check of the Diagnostic screen and check the network was configured properly.

image-20241025-110323.png
Working Network without Hot-Connect

 

 

Topology configuration for Hot Connect function

 

To configure Hot Connect, we need to correctly configure the topology

image-20241029-102313.png
Topology View

 

In this example, we choose the EK1101, and it’s connected EL1014 & EL2004 IO Modules to be a Hot Connect Slave. To do so, we do a right click on the respective slave and choose “Add Hot Connect”.

image-20241029-102735.png
Add Hot Connect

 

In the next window, it is crucial to correctly configure the identification method. This can either be a station alias, an explicit device identification or a data word. This depends on the capability of the used slave.

Ideally, this is known information, or it should be extractable from the user manual of the used slave.

If it is not clear whether an explicit device identification or a data word is used, one can check the ESI file and search for IdentificationAdo.

image-20241029-104451.png
IdentificationAdo

 

In this example, the Identification switches (ID switch) was set to “8”.

image-20241029-104733.png
IdentificationAdo = “0x1000” and Identification Value = “8”
20241029_115012-20241029-105354.jpg
ID Switch set to “8“

 

After setting the Identification, highlight all the attached IO Modules.

image-20241029-105659.png
Base Unit and IO Modules selected

 

This will lead to Hot Connect Topology looking like this.

image-20241029-110335.png
Hot Connect Topology

 

Checking function of Hot Connect

We can download this new configuration into the master and check the proper function.

image-20241029-111004.png
Hot Connect Slave connected
image-20241029-111117.png
Hot Connect Slave disconnected
image-20241029-111213.png
Hot Connect Slave reconnected