Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
31 Aug 2021 20:03 #219282 by rollfree
CoE.
Mega-ulink is a proprietary protocol from Hiwin. In my opinion, the right place for this protocol is the recycle bin. ;-)

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

More
31 Aug 2021 20:24 #219285 by PKM
Thank you!!
Also can you please point me in the right direction with Ethercat for LinuxCNC. Where to start, how to install etc? Is there any guide?

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

More
31 Aug 2021 21:09 #219289 by rollfree
One of the advantages of EtherCAT is that it is well described and documented.
So, for example, the functional principles are well described on the website of the author of the protocol, Beckhoff.
Most EtherCAT installations on LinuCNC use an IgH master. And a good description is on their site.
And about a practical installation on LinuxCNC, for example, in this forum.

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

More
21 Sep 2021 07:23 #221253 by bkt
a new little problem ... instead of installing everything from nuvo I took the same hardware and clone a pc's disk with mint-linuxcnc-ethercat fully functional. I inserted the disk on the new pc, I gave the command "sudo update-ethercat-config" and the master started running .... but it does not "see" the modules I think ..... here is the message on the terminal
dem@dem:~$ dmesg | grep -i EtherCAT
[   22.223215] EtherCAT: Master driver 1.5.2 unknown
[   22.225795] EtherCAT: 1 master waiting for devices.
[   22.228861] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 unknown

.... it is obvious that I have to "reboot" something else .... but I don't know what .... I was sorry that "sudo update-ethercat-config" was enough .... without the update for another linuxcnc did not "see "not even ethercat

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

More
21 Sep 2021 08:07 #221254 by db1981
Did you changed the mac address of master0 in /etc/default/ethercat to the new one of the new pc?

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

More
21 Nov 2022 10:35 #257197 by boyzo
Hello db1981,

I plan to retrofit old lathe with Beckhoff  AX5203 ethercat drive and motor. This is my current setup, at the moment I do not have AX5203 connected:

uname -a
Linux localhost 6.0.0-4-rt-amd64 #1 SMP PREEMPT_RT Debian 6.0.8-1 (2022-11-11) x86_64 GNU/Linux
ethercat version
IgH EtherCAT master 1.6.0-rc1 unknown
ethercat master
Master0
 Phase: Idle
 Active: no
 Slaves: 3
 Ethernet devices:
   Main: 84:47:09:15:dd:82 (attached)
     Link: UP
     Tx frames:   18156741
     Tx bytes:    1089404620
     Rx frames:   18156740
     Rx bytes:    1089404560
     Tx errors:   0
      . .........
ethercat slaves
0  0:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
1  0:1  PREOP  +  EL1809 16K. Dig. Eingang 24V, 3ms
2  0:2  PREOP  +  EL2809 16K. Dig. Ausgang 24V, 0.5A

I read this and many other threads but I did not find some answers that bothers me:
- Do I need TwinCat3 for generating XML files for drive and motor or I can do it with TwinCat2? And then, do I merge all generated .xml to single ethercat.xml?
- Where and how I define I/O addresses for EL1809 and EL2809
- How do I configure .hal and .ini. PncConf  do this, but it is for Mesa cards.

V-max, did you manage to do your configuration? Can you share your files with me?

Thank you for answer
Regards.
 

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

More
21 Nov 2022 10:57 #257198 by V-max
Hi BOYZO.
Im sorry but i wasnt be abble to run the bechhoff driver with linuxcnc.
I will try again with more time but now i cant help you with some confidence.
Nevertheless there are person here who know a lot.
Luck,

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

More
21 Nov 2022 12:34 #257210 by Sviper
Hello boyzo,

if you are german maybe you can find a lot of information on this tread:

forum.linuxcnc.org/42-deutsch/43027-prob...n-ethercat?start=170

i configured a lot of new xml for EP Module on this thread.

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

More
21 Nov 2022 12:40 #257212 by Sviper
The following user(s) said Thank You: tommylight

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

More
21 Nov 2022 19:00 #257244 by boyzo
Thank you, I am getting through some of your post with google translate.
I did export xml in TC2 and I get huge .xml file for AX5205. From some examples in this forum .xml file content is much shrink. What I really need for correct config?

regards

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

Time to create page: 0.180 seconds
Powered by Kunena Forum