Running two LinuxCNC instances in parallel
- Fusseldieb
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
13 Jul 2025 01:10 - 13 Jul 2025 01:12 #331744
by Fusseldieb
Running two LinuxCNC instances in parallel was created by Fusseldieb
Hi there,
This is my first post here, and I haven't really found a "definitive" answer to my question.
Is it possible to run two LinuxCNC instances in parallel?
I have two CNC machines and would like to run two separate jobs on both machines. Nothing shared - just two jobs and two machines, really.
I already redirected the port 5005 to a different one for the other instance, but HAL still complains about using duplicated ressources. As I've read in another thread, using two computers and a third to control the other two seems... counterintuitive, to say the least.
Where lies the problem? Is there any way to overcome it?
Thanks in advance!
This is my first post here, and I haven't really found a "definitive" answer to my question.
Is it possible to run two LinuxCNC instances in parallel?
I have two CNC machines and would like to run two separate jobs on both machines. Nothing shared - just two jobs and two machines, really.
I already redirected the port 5005 to a different one for the other instance, but HAL still complains about using duplicated ressources. As I've read in another thread, using two computers and a third to control the other two seems... counterintuitive, to say the least.
Where lies the problem? Is there any way to overcome it?
Thanks in advance!
Last edit: 13 Jul 2025 01:12 by Fusseldieb.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20450
- Thank you received: 6964
13 Jul 2025 01:35 #331745
by tommylight
Replied by tommylight on topic Running two LinuxCNC instances in parallel
This was mentioned before, and seems some work around were mentioned on github
github.com/LinuxCNC/linuxcnc/issues/2716
And here
forum.linuxcnc.org/38-general-linuxcnc-q...grams-simultaneously
github.com/LinuxCNC/linuxcnc/issues/2716
And here
forum.linuxcnc.org/38-general-linuxcnc-q...grams-simultaneously
Please Log in or Create an account to join the conversation.
- Fusseldieb
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
13 Jul 2025 02:00 - 13 Jul 2025 02:06 #331747
by Fusseldieb
Replied by Fusseldieb on topic Running two LinuxCNC instances in parallel
Thank you for your answer. Seems like you're everywhere haha
Anyways, I saw both, and the first GitHub Issue seems to have died down, whereas the second link talks about something much more involved, which is coordinating two systems with one program. The second link is actually something another user archieved in a YouTube video , but it's not what I need since both machines in said video acted "as one".
Anyways, I saw both, and the first GitHub Issue seems to have died down, whereas the second link talks about something much more involved, which is coordinating two systems with one program. The second link is actually something another user archieved in a YouTube video , but it's not what I need since both machines in said video acted "as one".
Last edit: 13 Jul 2025 02:06 by Fusseldieb.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20450
- Thank you received: 6964
13 Jul 2025 02:50 #331749
by tommylight
Replied by tommylight on topic Running two LinuxCNC instances in parallel
Nope, not the same thing, link is to running two programs at the same time, the video is using two Mesa cards that can easily be done by LinuxCNC, as well as any combination of multiple parallel ports, Mesa, EtherCAT.
Would your situation be possible using two PC's and many IO to communicate between them with feed holds and waits and whatever necessary?
Would your situation be possible using two PC's and many IO to communicate between them with feed holds and waits and whatever necessary?
Please Log in or Create an account to join the conversation.
- pippin88
- Away
- Elite Member
-
Less
More
- Posts: 270
- Thank you received: 49
13 Jul 2025 03:42 #331753
by pippin88
Replied by pippin88 on topic Running two LinuxCNC instances in parallel
What is the goal here?
Two completely separate CNC machines?
Are you just trying to have 1 computer running 2 machines?
Just buy a 2nd computer. Second hand business machines work fine
Two completely separate CNC machines?
Are you just trying to have 1 computer running 2 machines?
Just buy a 2nd computer. Second hand business machines work fine
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds