Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Ethercat error when new device added on the bus

Ethercat error when new device added on the bus

KevinD
Established Member

Hello,

I have an ethercat configuration with 2 modules connected to the bus (1 phoenix contact AXL F input/output coupler) and an IFM DTE103 to connect RFID readers.

Everything works fine until I try to connect an additional DTE103.

KevinD_0-1674723010624.png

 

In my opinion the 2 DTE103 have the same Ethercat address. because when I disconnect the first one and connect the new one it works. But when the 2 are connected at the same time the bus crashes, the master displays "topology nicht ok" and I have to restart the ctrlX to be able to communicate again with the slaves.

How does Ethercat addressing work? I have switches to change the address manually on the phoenix module but not on the DTE103 modules.

Thanks for your help

Kevin

3 REPLIES 3

CodeShepherd
Community Moderator
Community Moderator

To clarify what you are doing:

  • Fieldbus is running with one DTE103 configured
  • Second one is added and  new configuration is transmitted to the EtherCat master
  • Second hardware is connected to the EtherCat
  • Error occurs

Some hints:

  • EtherCat can actually not perform any hot plug functionality
  • Configuration has to be transferred to the master to get used
  • You need to connect all hardware and then run your fieldbus up to OP

In our EtherCat master the addressing is automatically given with "AutoInc" mode:

ctrlX IO Engineering EtherCat addressingctrlX IO Engineering EtherCat addressing

KevinD
Established Member

Hi Sheperd,

Thanks for your reply,it works now.

I had some problems, but it must have been due to a poor knowledge of Ethercat.

It is the first time that I work with this bus.

Can you explain the basic best practices to me?


I tried to connect another device to configure it. But it's not possible by disconnecting the rest of the network right?

With other buses, if slaves are missing it does not matter, we can still configure other slaves, but with Ethercat it automatically takes the address of another module? Can you confirm?

Does an industrial switch that works for Profinet also works for Ethercat or do we have to use specific switches for Ethercat?

If I understood correctly each time I want to add a slave, all the slaves must be connected, I must pass the master in Pre-Op, then connect the new slave. Scan device, add slave, load config and go back to OP?

Thanks,

Kevin.

 

 

CodeShepherd
Community Moderator
Community Moderator

Could you clarify what exactly you mean with configuring a slave? Do you mean setting parameters in a single slave? In Ethercat there are so called "start up parameters" that are automatically written to a slave while boot up. See example in this post.

Like mentioned the EtherCat master in the actual state will give addresses automatically depending on the topology. See online documentation.

I think you will need special EtherCat switches because of the technology used.

  • Not EtherCat TCP packages are suppressed.You will need to use "mailbox" protocolls (see docu) like EoE (Ethernet over EtherCat)
  • The hardware topology can be a line or star. Internally in switches it will be reconfigured to a line again. Some topology discussion can be found already in this post.

You can also switch up the EtherCat partially to Pre-OP and not all modules need to attached. In standard all data is transmitted in one package and as soon as one datum is faulty all data will get invalid. But several data packages can be set up that are checked individually. This is handled via so called "sync units" (see docu). So if a missing slave is another sync unit then the rest, the bus can go up.

Beside the scan function you can of course also add build up your IO project "offline" and then only load it once to the EtherCat master.

See for further information the:

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist