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.

Time to create page: 0.159 seconds
Powered by Kunena Forum