Dual control setup - comms between 2 systems

More
26 Apr 2025 15:39 #327087 by Henk
HI
Linuxcnc doesn’t support more than one toolpath, for example a lathe with two independent turrets. Typically, this is referred to as a dual path system. 

As seen on other posts on the topic on this forum, it is recommended to use two separate LinuxCNC systems, which is OK Now, I would like to link the two systems and im not sure what would be the best to do this.On the PC side, im planning to set up a local network so that the slave system can load a program written on the master system, so file sharing etc. there should be a lot of info on this on the web… On the linuxcnc side, im running a 7i94 +7i77 on each PC.Typically, I would like to have a link between the two linuxcnc systems so that the one system (master) can interface with some of the HAL data on the other (slave) system.It would be ideal if the master system can read/write hal pins (float and bit). It does not have to be realtime though, but I need it reliableI don’t know what is possible, but I was thinking a serial link from one 7i94 to the other would be the best solution.Is it worth checking out the Mesa Modbus method? Does this seem like a good idea or are there some better options? Your ideas would be much appreciated ThanksHenk

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
26 Apr 2025 15:52 #327088 by tommylight
Replied by tommylight on topic Dual control setup - comms between 2 systems
Since you asked for ideas, here i go:
-how hard would it be to run two interpreters and two trajectory planners?
-
-with 2 of 7i94 i would look to have them connected via IDC26 for sure, real time and 1ms or less if faster servo thread is used, given the possibility of Mesa to have all pins as inputs or outputs
-this would also keep everything in hal and with some "creative" components would be much safer than any ModBus or serial.
Just checked, 7i94 has only one IDC26 that in your case is used for 7i77, so reverting back to Smart Serial, and here i have to stop as i have no idea if connecting two 7i94 through SS is possible, but i would venture a guess at yes, but might need some help from the Mesa master: PCW.

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

Moderators: PCWjmelson
Time to create page: 0.081 seconds
Powered by Kunena Forum