Ethercat installation from repositories - how to step by step

More
3 years 2 months ago #278845 by rodw
Etherlabmaster changed their repository to its final home. The first post has been updated.
Also, I have created a version of the Linuxcnc live installer that also includes the repositories.
forum.linuxcnc.org/9-installing-linuxcnc...ler-iso-for-linuxcnc
I made a note in the first post in this thread  where you should resume if you go this way. It saves quite a bit of complicated stuff..
Let me know if you have issues with this.

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

More
3 years 2 months ago #278995 by rodw
With generous support from Bjarne Van Horn, one of the Etherlabmaster team, I've modified the linuxcnc-ethercat driver so it can build a Deb file.
You can find the revised code here:  github.com/rodw-au/linuxcnc-ethercat/tree/adapt_debian
I have also built a Version of the linuxcnc live installer for Debian 2.9 that includes the third part repositories
If you use my installer per the link in the first post, everything required for ethercat is able to be installed with one line in the terminal.
You just then have to complete the normal ethercat configuration steps.
The first post has been updated and a lot of the old messy configuration is now hidden in spoilers to streamline the instructions.. Good luck!
The following user(s) said Thank You: jjdege

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

More
3 years 2 months ago #279145 by jjdege
Hi Rodw
I installed the ISO you built, within 30 minutes I already had the swm-fm45 example configuration operational
Fantastic!
thank's for your job!!!

I use this fork  here for Linuxcnc-ethercat drivers, because I have an Epocat FR4000,
i couldn't find the possibility to clean lcec_conf lcec.so and recompile them for my requirement,
it has to be done manually in the traditional way which is not a problem.
I was wondering if it is not possible to add its ethercat drivers in the lcec_conf and lcec.so of your ISO

Thanks again

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

More
3 years 2 months ago #279161 by rodw
Great feedback! My ISO is not perfect.
the linuxcnc driver is also availablesudo apt install linuxcnc-ethercat 

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

More
3 years 2 months ago #279174 by Transint
Good day!
I installed Linuxcnc according to the instructions from the first post, configured the driver, connected the Diewu I/O module, configured the configuration file as in ethercat-conf-diewu, now I get an error:

Failed to create slave config: No such file or directory
LCEC: fail to read slave 0.0 configuration
lcec: rtapi_app_main: Invalid argument (-22)
./cia402.hal:15: waitpid failed /usr/bin/rtapi_app lcec
./cia402.hal:15: /usr/bin/rtapi_app exited without becoming ready
./cia402.hal:15: insmod for lcec failed, returned -1 

In what direction to look?

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

More
3 years 2 months ago #279180 by mwc
Rod, which kernel is your ISO using?

I'm tempted to have another test of this on my H3+, but it needs a 6.x Kernel (Bookworm).

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

Time to create page: 0.507 seconds
Powered by Kunena Forum