What do i need exactly for ethercat ? Recommended hardware??

More
29 Jan 2024 15:48 #291896 by GuiHue
My personal experience thus far is that it is an awful process. I tune them to the same parameters since the JL/JM inertia estimation is almost identical.

Process (roughly):
-Movement only through linuxcnc as two joints on one axis (Gantry mode)
-Using a notebook with asda tuning software, connect to one drive via usb
(A) -Move the axis using linuxcnc and check following error
-determine adjustment and edit servo 1, then switch over to servo 2 and perform identical adjustment
Repeat from (A)

Two notebooks are advisable, as you well spent a lot of time fiddling with the serial cables and reconnecting.

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

More
21 Apr 2024 18:20 #298791 by Rios
In case of the delta servo drives , if you are using the A2 series , if I'm not mistaken they have a dedicated port for gantry control.

www.deltaww.com/en-us/FAQ/2076

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

More
26 Aug 2025 19:11 #333959 by BipinBabu
Sir,
New guy here..!
Thanks for those precious lessons.!!!

  The latest Linux version with Realtime kernel is available as a bootable image on the official site right?
Once I install the OS, Can I directly go for Ethercat Configuration?

I am planning to Use EL7 -400W Ethercat Servo Drive from Leadshine with 23Bit magnetic Encoder.
I hope the ESI File of the Servo drive gives me the encoder Counts per revolution????

I set them Up in INI file right?

How does the "LinuxCNC-HAL ----INI----Ethercat
Servo" Drive RelationShip Toplology work?

Traditionally ,I write in the "INI" File that , My servo Drive encoder needs 8million/5=1.6million encoder Counts for a millimeter of travel.
(Because My servo Drive encoder needs 8million counts for every revolution.And my ballscrew travels 5mm at full revolution of the servo)

What happens next?
The INI file sends instruction for  1.6 million counts for 1 millimeter on X axis  if I say G0 X1 in Gcode.

There is no such detailed videos on YT  either..!


Thanks.

 

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

More
26 Aug 2025 19:20 #333960 by BipinBabu
The Ethercat Master For Linuxcnc is not an executable file. It says We need to patch and Compile based on our application. ! What are the variables that may vary mainly? Not universal at all? (Looking For a traditional 3 Axis Wood router with Dual Y Motor.)

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

More
27 Aug 2025 04:24 #333975 by Hakan
Maybe start with a fresh install of the latest debian "trixie". Linuxcnc is available as an apt package directly, just sudo apt install linuxcnc-uspace and so on forum.linuxcnc.org/9-installing-linuxcnc...ade-install-to-2-9-4

Ethercat needs to be installed after that, follow the guides here first forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories and then forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
Ethercat server consists of two kernel modules, run in kernel space that linuxcnc communicates with.

Linuxcnc uses traditional HAL files for configuration. Translation between HAL pins and EtherCAT PDOs is provided by the linuxcnc lcec module which requires a configuration file "ethercat-config.xml". Often a source of questions, the easiest way to generate a good starting point is the Linux command "lcec_configgen". Reference for linuxcnc-ethercat (lcec) can be found github.com/linuxcnc-ethercat/linuxcnc-ethercat but it seems not many people read it.

Your servo drives seems to use the common cia402 drive profile. A must read is the example config found at github.com/dbraun1981/hal-cia402.

There is no easy (well...) way to configure an Ethercat machine. Typically you start with a sample configuration from the LinuxCNC simulator or generate a configuration using either stepconf or pncconf and then replace the motion and IO pins with the Ethercat motion and IO pins from ethercat-conf.xml.

Regarding the encoder resolution, there is a scaling number one need to provide, counts/mm or counts/inch, check the cia402 example hal file. After that, the cia402 module reports position directly in mm or inch in the pos-fb pin.

 

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

Time to create page: 0.081 seconds
Powered by Kunena Forum