- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- How to work with LinuxCNC for EtherCAT Servo drivers?
How to work with LinuxCNC for EtherCAT Servo drivers?
- hilinda1
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
09 Apr 2026 19:22 #345371
by hilinda1
How to work with LinuxCNC for EtherCAT Servo drivers? was created by hilinda1
I am currently controlling 3 EtherCAT servo drivers via SOEM. I want to run some G-code with my system. I am searching a G-code interpreter and trajectory planner in C++. Then I found LinuxCNC. I read some document and video. I have some questions below.
1. Are there G-code interpreter and trajectory planner API I can call for my application from LinuxCNC?
2. Is there a way to connect my EtherCAT servo to Linuxcnc?
I prefer to use API for my application. Please advise. Thank you guys.
1. Are there G-code interpreter and trajectory planner API I can call for my application from LinuxCNC?
2. Is there a way to connect my EtherCAT servo to Linuxcnc?
I prefer to use API for my application. Please advise. Thank you guys.
Please Log in or Create an account to join the conversation.
- andrax
-
- Offline
- Elite Member
-
Less
More
- Posts: 246
- Thank you received: 61
09 Apr 2026 19:44 #345373
by andrax
Replied by andrax on topic How to work with LinuxCNC for EtherCAT Servo drivers?
LinuxCNC is a fully-fledged CNC controller.EtherCAT Cia402 is supported.I don’t think you can extract any parts for your purpose.It wouldn’t make any sense anyway.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21481
- Thank you received: 7325
09 Apr 2026 19:52 #345375
by tommylight
LinuxCNC has several trajectory planners that you can switch between, so why add another layer between them?
Check the docs and GitHub, you can probably add another API there somewhere, so try the Run In Place version as you can change stuff and test quickly.
Replied by tommylight on topic How to work with LinuxCNC for EtherCAT Servo drivers?
That is all good and dandy, but why?
I prefer to use API for my application. Please advise. Thank you guys.
LinuxCNC has several trajectory planners that you can switch between, so why add another layer between them?
Check the docs and GitHub, you can probably add another API there somewhere, so try the Run In Place version as you can change stuff and test quickly.
Please Log in or Create an account to join the conversation.
- hilinda1
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
09 Apr 2026 20:04 #345376
by hilinda1
Replied by hilinda1 on topic How to work with LinuxCNC for EtherCAT Servo drivers?
Thank you for the clarification. What can I find the EtherCAT setup instruction? I only see an example for stepper drive. The reason I want to use API, because my system is not only doing CNC motion, but it may include other sequence. I am not familiar with LinuxCNC enough.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1297
- Thank you received: 447
10 Apr 2026 00:38 #345382
by Hakan
Replied by Hakan on topic How to work with LinuxCNC for EtherCAT Servo drivers?
I think the best way is to have linuxcnc at the centre.
For custom control you write a hal component
that takes signals in and gives signals out
with your control algorithm.
For custom control you write a hal component
that takes signals in and gives signals out
with your control algorithm.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- How to work with LinuxCNC for EtherCAT Servo drivers?
Time to create page: 0.079 seconds