Ethercat HAL driver

More
15 Nov 2021 08:06 #226553 by Schaumstofffräsnewbie
Took my old ethercat.hal file with the adjustments you mentioned, but I got a different error. Seems like I got Permission issues for some access..
I attached the used file below and the error message from the terminal.
Attachments:

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

More
15 Nov 2021 09:25 #226560 by db1981
Replied by db1981 on topic Ethercat HAL driver
Hello,

please check if in the folder /etc/udev/rules.d  a file named 99-EtherCAT.rules  exists...

if not create this file in the folder  with this line in it:

KERNEL ==" EtherCAT [0 -9]*" , MODE ="0664"

after a reboot, it should work. 

Note, that you have to use the editor for creating the file with sudo rights. z.b."sudo pluma /etc/udev/ruldes.d/99-EtherCAT.rules" 

 

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

More
15 Nov 2021 11:37 #226569 by Schaumstofffräsnewbie
This file is already existing, but named 99-ethercat.rules instead of 99-EtherCAT.rules ..

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

More
15 Nov 2021 11:58 #226570 by db1981
Replied by db1981 on topic Ethercat HAL driver
I don't understand what happends, the last days it was running on your pc....

try :
-sudo adduser $USER ethercat
and
-sudo adduser root ethercat

-> reboot

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

More
15 Nov 2021 12:21 #226573 by Schaumstofffräsnewbie
That worked. Now I got these errors, but I suppose that is cause there are only the lcec lines in my hal file at the moment.
Attachments:

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

More
15 Nov 2021 13:22 #226576 by db1981
Replied by db1981 on topic Ethercat HAL driver
yes, add motion and the other stuff again...

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

More
06 Apr 2022 09:09 - 08 Apr 2022 07:01 #239424 by GuiHue
Replied by GuiHue on topic Ethercat HAL driver
blanked, see new post for ping.
Last edit: 08 Apr 2022 07:01 by GuiHue.

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

More
08 Apr 2022 07:04 #239624 by GuiHue
Replied by GuiHue on topic Ethercat HAL driver

I think it doesn't reach the op state.
 


Hi Alex,

did you ever manage to make any progress on this? From what google tells me, this is the only information on a bk1120 with linuxcnc-ethercat I could find. I have a similar setup for trying out and I'm stuck at the same point.

Generally I would argue that when devices coupled through a BK1120 to ethercat, than it should be possible to make that work somehow. At the very least on the level of ethercat on linux itself. From there on, the worst that could happen is some new programming within linuxcnc-ethercat. However, I would hope that a generic configuration would suffice.

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

More
16 Jul 2022 09:45 - 16 Jul 2022 18:39 #247436 by jc2ktr
Replied by jc2ktr on topic Ethercat HAL driver
I got a huge Problem with my ethercat bus :( Recently died my old PC. I´ve set up a new one with Debian11 and the EtherCAT install thread pinned here in the forum. Then copied my machine backup, but every time i start my machine the OS freezes and the bus Stops. My dmesg after a hard reboot looks alike:

Warning: Spoiler!


EDIT: 
In the DMESG-Log it seems that Ethercat Telegrams get lost. Who is sending these Telegrams ? The EC-Master? or the Slaves?

This is my Config:
 

File Attachment:

File Name: EtherCAT_SOE.rar
File Size:44 KB

 
Attachments:
Last edit: 16 Jul 2022 18:39 by jc2ktr. Reason: additions

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

More
17 Jul 2022 18:19 #247576 by endian
Replied by endian on topic Ethercat HAL driver
hello gentelmens,

have anybody some time to check what is wrong with my lcec config for one benchtop testing axis running under lcec please? driver waiting in preop mode and does not run to op mode. it is kollmorgen S300+ethercat motion card plugged in. I attached photo from original configuration program from that brand. there are some mapped PDOs. I tried used that PDOs but without any succes as running with my configuration of free mapped PDOs.

ps. configs are just for beginning with ethercat, for read stuff from drive and to try workflow.

thanks

regards foxington
Attachments:

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

Time to create page: 0.185 seconds
Powered by Kunena Forum