Ethercat Cable Redundancy

More
04 Nov 2021 08:46 #225211 by wang
Hello everyone

Now I am facing a demand. I don't know if you know Ethercat cable redundancy.
At present, I have successfully used linuxcnc+Ethercat to control a three-axis laser machine tool. However, according to customer needs, I not only need to achieve ethercat communication, but also need to achieve cable redundancy to ensure that the equipment is still online when one end is disconnected.

like this
www.hilscher.com/blog/ethercat-cable-redundancy/
 

Have you done anything like this before? Or give me some ideas, thanks

wang

 
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Nov 2021 09:04 #225212 by db1981
Replied by db1981 on topic Ethercat Cable Redundancy
it works at some of my installations...

etherlab.org/download/ethercat/ethercat-1.5.2.pdf

first you have to recompile the master with the --with-devices option.
If you have installed with ec-debianize, edit the rules file in the debian folder.
then build-package again and reinstall.
After this you have to specify the backup devices mac adress in the ethercat config file MasterX_Backup (X is the number of the master to backup) .

sudo-update-ethercat and reboot....
The following user(s) said Thank You: wang

Please Log in or Create an account to join the conversation.

More
05 Nov 2021 01:10 #225321 by wang
Replied by wang on topic Ethercat Cable Redundancy
Thank you very much for your reply
I will study your document carefully

I have great admiration for your technical achievements

Please Log in or Create an account to join the conversation.

More
05 Nov 2021 05:32 - 05 Nov 2021 08:55 #225355 by wang
Replied by wang on topic Ethercat Cable Redundancy
Thank you very much for your explanation. I read the document you provided, but I don't understand how to modify the "the rules file in the debian folder" you said. What parameters should I change? (I'm already here)
 
I tried adding "--with-devices=2" after CONFIGS, but it didn't make ethercat redundant.

I already know the configuration method of the two parameters "--with-devices" and "MasterX_Backup" by reading the document.

I have configured MasterX_Backup as a backup MAC address, do I need other operations? 
Attachments:
Last edit: 05 Nov 2021 08:55 by wang.

Please Log in or Create an account to join the conversation.

More
05 Nov 2021 06:45 #225364 by db1981
Replied by db1981 on topic Ethercat Cable Redundancy
I don't know by which method you installed the etherlabmaster.

If you have installed it with ec-debianize. you can edit the rules file
(/ec-debianize/etherlabmaster/debian/rules) on top of the file are the config flags for the Master defined. At this place you can add "--with-devices" and install the master again.

If you already have installed the master with "--with-devices" , everythins is fine.

Then you only have to edit the config file (etc/default/ethercat)

Please Log in or Create an account to join the conversation.

More
07 Nov 2021 21:51 #225588 by db1981
Replied by db1981 on topic Ethercat Cable Redundancy
did you rebuild and reinstall the package ?

have you done sudo-update-ethercat ?

Please Log in or Create an account to join the conversation.

More
08 Nov 2021 01:05 #225615 by wang
Replied by wang on topic Ethercat Cable Redundancy

did you rebuild and reinstall the package ?

have you done sudo-update-ethercat ?

Yes, I did everything you said. But I'm not sure if my configuration in the rules file is correct?
 
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Nov 2021 06:40 #225630 by db1981
Replied by db1981 on topic Ethercat Cable Redundancy
please show the output of "ethercat master" at the status with both networkcards have connection.

Please Log in or Create an account to join the conversation.

More
28 Nov 2022 16:50 - 28 Nov 2022 18:00 #257866 by TheRoslyak
Hi everyone
As I understand it, this feature works on level Etherlab master.
What about HAL/Linuxcnc?

UPD:
Is it not this function? www.beckhoff.com/en-en/products/automati...wincat-3-redundancy/
Only redundancy cabel (
Last edit: 28 Nov 2022 18:00 by TheRoslyak.

Please Log in or Create an account to join the conversation.

Time to create page: 0.329 seconds
Powered by Kunena Forum