Dual control setup - comms between 2 systems- 7i94 bin file?

  • Henk
  • Away
  • Platinum Member
  • Platinum Member
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.

  • Henk
  • Away
  • Platinum Member
  • Platinum Member
More
02 May 2025 18:26 #327521 by Henk
Tomorrow I would like to get the 2 7i94ts to connect using a mesa uart connection. Not sure which firmware to flash. Had a look through the available ones but there isn't an obvious choice. 

PCW, is there one available, if so which one?

Thanks
Henk

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

More
02 May 2025 18:43 #327523 by PCW
I can make a configuration with UARTs but there is no direct hal support
for communication between two systems.

What other I/O do you need on the 7I94Ts?

How much data needs to be exchanged?

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
02 May 2025 18:56 #327525 by andypugh

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

More
02 May 2025 19:01 #327526 by PCW
github.com/LinuxCNC/linuxcnc/pull/2722

Seems like a better solution if possible.

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

  • Henk
  • Away
  • Platinum Member
  • Platinum Member
More
03 May 2025 04:22 #327579 by Henk
Hi. Thank you for the support. 

I need to commect some io boards so i need at least 2 smart serial channels.

of the 8 available ports on the 7i94, can you provide uarts on 4 of them please?

Much apreceated
Henk 

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

  • Henk
  • Away
  • Platinum Member
  • Platinum Member
More
03 May 2025 04:27 #327580 by Henk
Definitely a better solution but I doubt time will alow for it now. 

I do think it is worth doing though, so I think i will set up a pc and ask a friend who is better skilled than me in terms of programming to have a look

Thanks Andy
Henk

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

More
03 May 2025 04:32 - 03 May 2025 04:49 #327581 by PCW
I'll try to make a bitfile  tomorrow
What do you want on the parallel expansion port?
 
(Just  checked the first post so 7I77 on parallel port)
 
Last edit: 03 May 2025 04:49 by PCW.

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

  • Henk
  • Away
  • Platinum Member
  • Platinum Member
More
03 May 2025 05:27 #327583 by Henk
Yes. 7i77 please

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

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