Advanced Search

Search Results (Searched for: )

  • ContactFever998
  • ContactFever998
08 May 2025 20:40
Help with Linux CNC Ethercat setup was created by ContactFever998

Help with Linux CNC Ethercat setup

Category: EtherCAT

Hello everyone,

I'm a noob when it comes to Linux CNC. I currently have some Leadshine L8 servo drives (identical to EL8?) and I am trying to set up Linux CNC. I am using a raspberry pi 5 and installed the "LinuxCNC 2.9.4 Raspberry Pi 5 OS based on Debian Bookworm Raspberry Pi 5 Uspace" iso

So far, i have :
-Followed Rodw's post on installing Linux CNC from repositories
-Copied the Github repository by Marco Reps
-Compiled cia402.comp, el8_homecomp.comp, and always_homed.comp

Now i need to configure the hal, ini, and ethercat-conf.xml files and the files from Marco Reps repo looks overwehlmingly complex.

Could anyone help me figure out what are the basics needed to launch Linux CNC and understanding more what the content of those files mean and what do I need to modify.
  • RotarySMP
  • RotarySMP's Avatar
08 May 2025 19:15 - 08 May 2025 19:21
Replied by RotarySMP on topic free CADCAM

free CADCAM

Category: CAD CAM

I have used AutoCAD V13, Catia V4 and V5, Inventor, and Onshape in the past. I have been using Freecad for a while now. For simple stuff I find it just as good as any CAD program, once you become more rigorous with your use of reference plans rather then sketching on existing geometry.

With the castings I am drawing up for my antique motorbike engine project, where everything has draft angles and fillets,  I am definitely hitting the limits of it's filleting engine. I normally end up deleting my extrudes, and fillets multiple times, and changing the order I do things, and sometimes find an order which leads to most of the fillets I need. Luckily the time consuming part is the sketches, so there is not too much pain involved in backing up on extrudes and fillets, as the sketches get reused.

There is some issue with MacOS's latest release 15.4 which breaks access to numpy, which the CAM workbench needs. There is a workaround which works for some, but didn't for me.
forum.freecad.org/viewtopic.php?p=824067#p824067.
  • Hakan
  • Hakan
08 May 2025 18:41 - 09 May 2025 06:17
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

There is something odd with your installation.
I just tried myself to "apt remove ethercat-master ethercat-dkms" followed by "apt install ethercat-master ethercat-dkms" and it worked just fine.
I do not get the "tainted kernel" message.
Can it be that you have compiled the ethercat master yourself at one point? And that the runnning ethercat master is looking for ec_generic in a place where it isn't?
It's a bit of guesswork and searching now.
Can you the command "sudo service ethercat status" and compare the ouput with mine?
debian@plasma:~$ sudo service ethercat status
● ethercat.service - EtherCAT Master Kernel Modules
     Loaded: loaded (/lib/systemd/system/ethercat.service; enabled; preset: enabled)
     Active: active (exited) since Thu 2025-05-08 20:32:57 CEST; 7min ago
    Process: 78578 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)
   Main PID: 78578 (code=exited, status=0/SUCCESS)
        CPU: 25ms

maj 08 20:32:57 plasma systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
maj 08 20:32:57 plasma systemd[1]: Finished ethercat.service - EtherCAT Master Kernel Modules.
 

Edit. Can you also repeat the search for ec_generic, but this time search for ec_master, in the same way?

Edit 2. No need to search. Instead show the output of the command "sudo modinfo ec_master", especially the first filename line.
  • DarkPhoinix
  • DarkPhoinix
08 May 2025 18:31 - 08 May 2025 18:33
  • PCW
  • PCW's Avatar
08 May 2025 18:28

LinuxCNC Dual-Head Gantry Setup Assistance Request

Category: General LinuxCNC Questions

I would first take a look at:

linuxcnc.org/docs/html/config/ini-homing.html

You can share limit/home switches

It seems to me that rather than a center limit, you would do some math in hal
to assert a fault if the heads get too close to one another.

I would expect that specific support for a dual head gantry machine would have to be done
by direct editing of the hal/ini files, not something that a generic GUI setup can reasonably do.
 
  • Roger S
  • Roger S
08 May 2025 17:45
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Unfortunately, it still doesn't work. I've since reinstalled the system, but there's no improvement. I don't understand it. The system worked before the reinstallation. I performed the installation according to the instructions. Anything else isn't possible for me anyway, as I'm just a user and don't know enough to try anything myself.

[  100.533257] EtherCAT: Master module cleaned up.
[  101.670667] EtherCAT: Master driver 1.6.4 1.6.4.g703b611-1+17.1
[  101.670804] EtherCAT: 1 master waiting for devices.

Master0
  Phase: Waiting for device(s)...
  Active: no
  Slaves: 0
  Ethernet devices:
    Main: 80:ee:73:fd:0f:8b (waiting...)
      Link: DOWN

the only thing I noticed:
8.198677] ec_master: module verification failed: signature and/or required key missing - tainting kernel

 
Displaying 16396 - 16401 out of 16401 results.
Time to create page: 1.956 seconds
Powered by Kunena Forum