- Posts: 295
- Thank you received: 125
Ethercat HAL driver
- chimeno
- Offline
- Elite Member
-
sqmathlete wrote: @ Chimeno
chimeno wrote: edit the file "lcec_el40x4.h" add the PID number yourself, from where you get it, then the terminal executes this command "ethercat slave -v" will leave the "product code" that is, you also have to add the module to the following files, "Kbuild, lcec_conf.h, lcec_conf.c, lcec_main.c, I think that is everything, if you have more questions ask me, I will try to help you.
regards
Chimeno
I've followed these instructions, ran make, make install, reboot but I only get two out of four channels coming up. Any idea? Bad terminal?
Kind regards,
Dan
Hello dan,
I've been very busy with projects, now I have some free time, have you gotten it to work?
regards
Chimeno
Please Log in or Create an account to join the conversation.
- sqmathlete
- Offline
- Premium Member
-
- Posts: 118
- Thank you received: 18
Unfortunately no, I ended up ordering an EL4102 from ebay since I knew it was already supported and I only need one channel anyways. Worked perfect.
If you have any suggestions I'll go back and try again though. Would be nice to expand the library of supported devices.
Kind regards
Dan
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
sqmathlete wrote: @chimeno
Unfortunately no, I ended up ordering an EL4102 from ebay since I knew it was already supported and I only need one channel anyways. Worked perfect.
If you have any suggestions I'll go back and try again though. Would be nice to expand the library of supported devices.
Kind regards
Dan
Hello dan,
I will revise the files that I have made of the previous project, I will do a little cleaning of them and I will post them here, if it is a good idea to expand the library!
Regards, Chimeno
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
- Posts: 2419
- Thank you received: 2349
I think tomorrow i recieve the beckhoff ethercat module.
I will try to merge the ethercat into a current linuxcnc version with already the
external offset branche and reverse run branche included. This i have done 6 month's ago, with succes after a learning periode.
My strategy is first make it run with the current linuxcnc ethercat github version on a separate
hard disk. I am working normally on 64 bit debian stretch. So that is the goal to reach.
After this is succeeded, i will try to find the importand code differences between both versions and merge it finaly into the current linuxcnc version. I cross my finger's coming weeks. If we do that in Github, we can see the code differences quite ease. I think
maybe it will succeed at once. But when not compiling, we can do it again. And finaly it will succeed i hope so.
I have some expience with previous merged version's. Even the master programmer's have problem's to merge the reverse run from Rob Ellenberg. I did it in 3 attemp's. So i have good hope that it will succeed.
But when i begin this, it can be i have to solve difficult problem's.
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
Grotius wrote: Hi,
I think tomorrow i recieve the beckhoff ethercat module.
I will try to merge the ethercat into a current linuxcnc version with already the
external offset branche and reverse run branche included. This i have done 6 month's ago, with succes after a learning periode.
My strategy is first make it run with the current linuxcnc ethercat github version on a separate
hard disk. I am working normally on 64 bit debian stretch. So that is the goal to reach.
After this is succeeded, i will try to find the importand code differences between both versions and merge it finaly into the current linuxcnc version. I cross my finger's coming weeks. If we do that in Github, we can see the code differences quite ease. I think
maybe it will succeed at once. But when not compiling, we can do it again. And finaly it will succeed i hope so.
I have some expience with previous merged version's. Even the master programmer's have problem's to merge the reverse run from Rob Ellenberg. I did it in 3 attemp's. So i have good hope that it will succeed.
But when i begin this, it can be i have to solve difficult problem's.
Hello Grotius,
It's great, I've been using the 2.7 branch, now I want to try the master branch, I think it's great what you're doing with linuxcnc, I hope I can help you as much as I can, even though I'm not a born programmer.
Regards, Chimeno
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
- Posts: 2419
- Thank you received: 2349
Me too no born programmer. If i was the founder of programming language, it was looking more easyer.
Bit's and byte's are zero and one's in machine language. Why not implementing more characters? Then we could do much more.
I think that will come if arteficial intellegence will design a new machine language. And that all is done in second's.
I have an idea. Tomorrow i wil open a new ethercat github channel with the linuxcnc version i own, the version with the advantage's.
It's a new github user space. I will provide the password's over here. Then every ethercat fan can try to merge it by his own.
I will make a text file how you could copy/clone the orginal one into your test version... And how merging works.
Maybe that is a good idea. Many of you are capable to merge this for sure.
Here comes the data to enter the github channel : forum.linuxcnc.org/cb-profile/pluginclas...gs&func=show&id=1276
Please Log in or Create an account to join the conversation.