- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- What do i need exactly for ethercat ? Recommended hardware??
What do i need exactly for ethercat ? Recommended hardware??
- GuiHue
-
- Offline
- Premium Member
-
Less
More
- Posts: 111
- Thank you received: 39
29 Jan 2024 15:48 #291896
by GuiHue
Replied by GuiHue on topic What do i need exactly for ethercat ? Recommended hardware??
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.
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.
- Rios
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 2
21 Apr 2024 18:20 #298791
by Rios
Replied by Rios on topic What do i need exactly for ethercat ? Recommended hardware??
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
www.deltaww.com/en-us/FAQ/2076
Please Log in or Create an account to join the conversation.
- BipinBabu
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
26 Aug 2025 19:11 #333959
by BipinBabu
Replied by BipinBabu on topic What do i need exactly for ethercat ? Recommended hardware??
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.
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.
- BipinBabu
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
26 Aug 2025 19:20 #333960
by BipinBabu
Replied by BipinBabu on topic What do i need exactly for ethercat ? Recommended hardware??
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.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 814
- Thank you received: 282
27 Aug 2025 04:24 #333975
by Hakan
Replied by Hakan on topic What do i need exactly for ethercat ? Recommended hardware??
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.
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.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- What do i need exactly for ethercat ? Recommended hardware??
Time to create page: 0.081 seconds