My Ethercat Journey
- timc
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 2
13 Jun 2026 01:24 #347051
by timc
My Ethercat Journey was created by timc
I want to start my saying that I have been using Linux for 34 years. That sounds like a big number but Linux has been around for longer that that. The first time I ran Linux I down loaded it from a friends server over a modem. It was 52 3.5" floppy disks. I was going to collage studying computer science at the time. Now I have a degree in computer science. You don't need a degree in computer science to get EtherCAT working.
I designed and build a CNC router 12 years ago. My original system was LinuxCNC. I struggled to get everything work for several month but I did get it running. A friend had build a CNC router at the same time and changed his system to Mach3 so I switched my system to that. Everything worked but I never really trusted the system. I managed to get some jobs that paid enough to pay for what I had invested. I made many things for my self as well. I could never get past the trust issues so eventually the router went into hibernation. It hasn't been running for 8 or 9 years. Now to the meat of the story.
I started reading about LinuxCNC and came across this forum and learned about EtherCAT. It sounded very interesting so I started reading about it and decided I wanted to resurrect my CNC router. One of the problems I always had with my system was loosing steps. I did some research and found that the prices of a closed loop stepper system had reduced dramatically. So I started planing out an upgrade to my system. I started buying components. My first purchases where a Beckhoff EK1100, EL1008, EL2008, and an EL9184. In addition I bought a Meanwell NDR-240-24 and a NDR-480-48. The NDR-240-24 to power the Beckhoff components and the NDR-480-48 to power a LiChaun CL57E-4A with 4 NEMA 23 3Nm close looped steppers. I have yet to receive the LiChaun components.
Knowing nothing about EtherCAT I started reading. This is the most important part if getting EtherCAT running. I installed Debian 13 and LinuxCNC per the instructions provided by rodw. Thank you Rod! I don't know what I even started with but I got the basic configuration files in place. The system recognized all the Beckhoff components. I had my proximity sensors from my original system so I tried to get them working. This is where my software development skills kicked in. I use VS Code daily along with AI. I opened my configuration folder in VS Code and started asking AI to help. VS Code is a free open source development environment that can be installed on Linux. With in a few hours I had my proximity sensors working.
I am fully aware that not everyone has my background in programming and using VS Code or AI but it has proven to be an invaluable tool for configuring LinuxCNC. I will be receiving my driver and stepper in the next few weeks and will report my progress. This path may not be for everyone but if you have any experience using VS Code with AI I highly recommend giving it a try. I have found it to be incredibly helpful in getting started. With that said, the most importing thing to do is RTFM! Read the F*ing manuals.
I hope this help someone!
I designed and build a CNC router 12 years ago. My original system was LinuxCNC. I struggled to get everything work for several month but I did get it running. A friend had build a CNC router at the same time and changed his system to Mach3 so I switched my system to that. Everything worked but I never really trusted the system. I managed to get some jobs that paid enough to pay for what I had invested. I made many things for my self as well. I could never get past the trust issues so eventually the router went into hibernation. It hasn't been running for 8 or 9 years. Now to the meat of the story.
I started reading about LinuxCNC and came across this forum and learned about EtherCAT. It sounded very interesting so I started reading about it and decided I wanted to resurrect my CNC router. One of the problems I always had with my system was loosing steps. I did some research and found that the prices of a closed loop stepper system had reduced dramatically. So I started planing out an upgrade to my system. I started buying components. My first purchases where a Beckhoff EK1100, EL1008, EL2008, and an EL9184. In addition I bought a Meanwell NDR-240-24 and a NDR-480-48. The NDR-240-24 to power the Beckhoff components and the NDR-480-48 to power a LiChaun CL57E-4A with 4 NEMA 23 3Nm close looped steppers. I have yet to receive the LiChaun components.
Knowing nothing about EtherCAT I started reading. This is the most important part if getting EtherCAT running. I installed Debian 13 and LinuxCNC per the instructions provided by rodw. Thank you Rod! I don't know what I even started with but I got the basic configuration files in place. The system recognized all the Beckhoff components. I had my proximity sensors from my original system so I tried to get them working. This is where my software development skills kicked in. I use VS Code daily along with AI. I opened my configuration folder in VS Code and started asking AI to help. VS Code is a free open source development environment that can be installed on Linux. With in a few hours I had my proximity sensors working.
I am fully aware that not everyone has my background in programming and using VS Code or AI but it has proven to be an invaluable tool for configuring LinuxCNC. I will be receiving my driver and stepper in the next few weeks and will report my progress. This path may not be for everyone but if you have any experience using VS Code with AI I highly recommend giving it a try. I have found it to be incredibly helpful in getting started. With that said, the most importing thing to do is RTFM! Read the F*ing manuals.
I hope this help someone!
The following user(s) said Thank You: rodw, onceloved
Please Log in or Create an account to join the conversation.
- NWE
-
- Offline
- Elite Member
-
Less
More
- Posts: 210
- Thank you received: 62
13 Jun 2026 17:20 - 13 Jun 2026 17:43 #347056
by NWE
Replied by NWE on topic My Ethercat Journey
Glad to hear you got ethercat up and running. Rodw's post was the key for me, getting into ethercat as well.
Read the manuals, I +1 that .
I don't understand what connection VS Code would have with LinuxCNC. I take it, you just used it as a tool in combination with ai?
(edit) I just dug deeper now and discovered VS Code is an IDE + text editor, not a programming language. After all these years! Shows how little I know about Microsoft products. I only have VS Code installed because it was listed as a dependency for an open source project I'm using .
Ai is a great help in many ways. However, it does not seem to understand LinuxCNC as well as many other software packages. Beginners will fare much better with ai in combination with LinuxCNC if they take the time to read the manuals. I have noticed if I upload revelent man pages or other supporting files with my ai queries, it gets much farther.
Read the manuals, I +1 that .
I don't understand what connection VS Code would have with LinuxCNC. I take it, you just used it as a tool in combination with ai?
(edit) I just dug deeper now and discovered VS Code is an IDE + text editor, not a programming language. After all these years! Shows how little I know about Microsoft products. I only have VS Code installed because it was listed as a dependency for an open source project I'm using .
Ai is a great help in many ways. However, it does not seem to understand LinuxCNC as well as many other software packages. Beginners will fare much better with ai in combination with LinuxCNC if they take the time to read the manuals. I have noticed if I upload revelent man pages or other supporting files with my ai queries, it gets much farther.
Last edit: 13 Jun 2026 17:43 by NWE.
Please Log in or Create an account to join the conversation.
- jayem1427
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 1
14 Jun 2026 01:13 #347062
by jayem1427
Replied by jayem1427 on topic My Ethercat Journey
I heavily leaned on Cursor (an IDE with integrated LLM) to setup my recent ethercat build. For best results, feed your LLMs documentation and examples. And keep requests to small, easily testable bites. And for sure learn version control through Git. My repo can be found here for reference: github.com/jayem1427/lemontart_lcnc_config
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds