- Posts: 286
- Thank you received: 113
Ethercat HAL driver
- CORBETT
- Offline
- Elite Member
-
Less
More
6 years 6 months ago #164995
by CORBETT
Replied by CORBETT on topic Ethercat HAL driver
Albert, we are grateful for the help and the work you have done on the extra terminals that you added. This is what makes open source so great, but it still takes people like you helping all of us that are learning to make it all work. Two thumbs up all day long.
The following user(s) said Thank You: chimeno
- CORBETT
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 113
6 years 6 months ago #164997
by CORBETT
Replied by CORBETT on topic Ethercat HAL driver
I forgot to add about the restoring the EPROM. I am going to set up another computer with TwinCAT and try getting another free 30 day trial... as I would hate to "Brick" a EL5151. Flashing the EPROM will be my last resort. Years ago I bricked 2 OptiPlex motherboards with a BIOS that I modified and obviously had wrong LOL.
Robert
Robert
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
6 years 6 months ago #165861
by chimeno
Replied by chimeno on topic Ethercat HAL driver
hello @CORBETT,
I am attaching a new screenshot in another easier way to write in the eeprom, I hope you are lucky with the project
Greeting
Chimeno
I am attaching a new screenshot in another easier way to write in the eeprom, I hope you are lucky with the project
Greeting
Chimeno
The following user(s) said Thank You: CORBETT
- CORBETT
- Offline
- Elite Member
-
Less
More
- Posts: 286
- Thank you received: 113
6 years 6 months ago #166027
by CORBETT
Replied by CORBETT on topic Ethercat HAL driver
Hey thanks again... I will try this out when I get a break from work.
- theshade
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 5
6 years 6 months ago - 6 years 6 months ago #166272
by theshade
Replied by theshade on topic Ethercat HAL driver
Hello all,
Sorry I am new here and it's my first post.. I was trying to build linuxcnc with ethercat HAL on raspberry pi
following the instructions here: github.com/icshwi/etherlabmaster
mainly...
sudo systemctl start ethercat
pi@raspberrypi:~/ec-debianize/etherlabmaster $ systemctl status ethercat
* ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/etc/systemd/system/ethercat.service; enabled; vendor preset:
Active: active (exited) since Fri 2020-05-01 02:01:31 CEST; 1h 8min ago
Process: 610 ExecStart=/opt/etherlab/sbin/ethercatctl start (code=exited, stat
Main PID: 610 (code=exited, status=0/SUCCESS)
May 01 02:01:30 raspberrypi systemd[1]: Starting EtherCAT Master Kernel Modules.
May 01 02:01:31 raspberrypi systemd[1]: Started EtherCAT Master Kernel Modules.
So I managed to have the generic driver installed and documentation seems pretty outdated after that point and could not find much help here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
but found this:
forum.linuxcnc.org/38-general-linuxcnc-q...-of-eathercat-master
And then I got stuck at this step:
2. Install etherlabmaster-dev
sudo apt-get install etherlabmaster-dev
E: Unable to locate package etherlabmaster-dev
I tried to install some repos but I don't think I can find it.
and if I understand correctly I could also do it by doing my own dpkg of the etherlabmaster-dev: but it doesn't work for me either..
pi@raspberrypi:~/ec-debianize/etherlabmaster $ dpkg-buildpackage
dpkg-buildpackage: info: source package etherlabmaster
dpkg-buildpackage: info: source version 1.5.2+20190904hg33b922p8ea394-1
dpkg-buildpackage: info: source distribution lucid
dpkg-buildpackage: info: source changed by Sascha Ittner <sascha.ittner@modusoft.de>
dpkg-buildpackage: info: host architecture armhf
dpkg-source --before-build .
fakeroot debian/rules clean
dh clean --with autoreconf,dkms
debian/rules override_dh_clean
make[1]: Entering directory '/home/pi/ec-debianize/etherlabmaster'
rm -f ChangeLog
dh_clean
make[1]: Leaving directory '/home/pi/ec-debianize/etherlabmaster'
dpkg-source -b .
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../etherlabmaster_1.5.2+20190904hg33b922p8ea394.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
uname -a
Linux raspberrypi 4.19.58-rt22-v7l+ #1 SMP PREEMPT RT Fri Nov 1 14:58:37 KST 2019 armv7l GNU/Linux
Thank you in advance for any hints....
End of main question ... read further if you have time to waste...
I am not exactly sure where I am putting my feets for now, but I had the crazy idea to build my first 3axis CNC with:
raspberry4 ethercatmaster with linuxCNC
beckhoff IOs EL1xxx for switches and a 4102 for the spindle
ethercat drivers: www.hybridservos.com/ethercat-bus-step-servo-drive-ehs-580 with closed loop steppers
I am pretty much done with the hardware plans,
but I don't even think I grasp what needs to be done on the software and configuration side of things, a mentor would be pretty useful.
Finally last question, I read the website here:
www.simplerobot.net/2018/06/rpi-ethercat-master-picat.html
and got some level of communication with a W5500 and the few beckhoffs I have, but I don't see how to use the W5500 with linuxCNC. I have not seen many threads on it nor on SOEM. Would the generic drivers work ok for a hobby CNC machine?
Sorry I am new here and it's my first post.. I was trying to build linuxcnc with ethercat HAL on raspberry pi
following the instructions here: github.com/icshwi/etherlabmaster
mainly...
sudo systemctl start ethercat
pi@raspberrypi:~/ec-debianize/etherlabmaster $ systemctl status ethercat
* ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/etc/systemd/system/ethercat.service; enabled; vendor preset:
Active: active (exited) since Fri 2020-05-01 02:01:31 CEST; 1h 8min ago
Process: 610 ExecStart=/opt/etherlab/sbin/ethercatctl start (code=exited, stat
Main PID: 610 (code=exited, status=0/SUCCESS)
May 01 02:01:30 raspberrypi systemd[1]: Starting EtherCAT Master Kernel Modules.
May 01 02:01:31 raspberrypi systemd[1]: Started EtherCAT Master Kernel Modules.
So I managed to have the generic driver installed and documentation seems pretty outdated after that point and could not find much help here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?EtherCatDriver
but found this:
forum.linuxcnc.org/38-general-linuxcnc-q...-of-eathercat-master
And then I got stuck at this step:
2. Install etherlabmaster-dev
sudo apt-get install etherlabmaster-dev
E: Unable to locate package etherlabmaster-dev
I tried to install some repos but I don't think I can find it.
and if I understand correctly I could also do it by doing my own dpkg of the etherlabmaster-dev: but it doesn't work for me either..
pi@raspberrypi:~/ec-debianize/etherlabmaster $ dpkg-buildpackage
dpkg-buildpackage: info: source package etherlabmaster
dpkg-buildpackage: info: source version 1.5.2+20190904hg33b922p8ea394-1
dpkg-buildpackage: info: source distribution lucid
dpkg-buildpackage: info: source changed by Sascha Ittner <sascha.ittner@modusoft.de>
dpkg-buildpackage: info: host architecture armhf
dpkg-source --before-build .
fakeroot debian/rules clean
dh clean --with autoreconf,dkms
debian/rules override_dh_clean
make[1]: Entering directory '/home/pi/ec-debianize/etherlabmaster'
rm -f ChangeLog
dh_clean
make[1]: Leaving directory '/home/pi/ec-debianize/etherlabmaster'
dpkg-source -b .
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../etherlabmaster_1.5.2+20190904hg33b922p8ea394.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
uname -a
Linux raspberrypi 4.19.58-rt22-v7l+ #1 SMP PREEMPT RT Fri Nov 1 14:58:37 KST 2019 armv7l GNU/Linux
Thank you in advance for any hints....
End of main question ... read further if you have time to waste...
I am not exactly sure where I am putting my feets for now, but I had the crazy idea to build my first 3axis CNC with:
raspberry4 ethercatmaster with linuxCNC
beckhoff IOs EL1xxx for switches and a 4102 for the spindle
ethercat drivers: www.hybridservos.com/ethercat-bus-step-servo-drive-ehs-580 with closed loop steppers
I am pretty much done with the hardware plans,
but I don't even think I grasp what needs to be done on the software and configuration side of things, a mentor would be pretty useful.
Finally last question, I read the website here:
www.simplerobot.net/2018/06/rpi-ethercat-master-picat.html
and got some level of communication with a W5500 and the few beckhoffs I have, but I don't see how to use the W5500 with linuxCNC. I have not seen many threads on it nor on SOEM. Would the generic drivers work ok for a hobby CNC machine?
Last edit: 6 years 6 months ago by theshade.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
6 years 5 months ago #166516
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello @theshade,
This error is related to "MERCURIAL", you will have to add the extension
solucion
edit the mercurial configuration file
Add
then you can recompile ec-debianize
Greeting
Chimeno
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../etherlabmaster_1.5.2+20190904hg33b922p8ea394.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
This error is related to "MERCURIAL", you will have to add the extension
solucion
edit the mercurial configuration file
Code:
sudo hg config --edit
Code:
[extensions]
mq =
Greeting
Chimeno
The following user(s) said Thank You: Nico2017, theshade
Time to create page: 0.248 seconds