Dual control setup - comms between 2 systems- 7i94 bin file?
- Henk
- Away
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 88
26 Apr 2025 15:39 #327087
by Henk
Dual control setup - comms between 2 systems was created 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
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
-
- Away
- Moderator
-
Less
More
- Posts: 20159
- Thank you received: 6861
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.
-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
-
Less
More
- Posts: 403
- Thank you received: 88
02 May 2025 18:26 #327521
by Henk
Replied by Henk on topic Dual control setup - comms between 2 systems- 7i94 bin file?
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
PCW, is there one available, if so which one?
Thanks
Henk
Please Log in or Create an account to join the conversation.
- PCW
-
- Online
- Moderator
-
Less
More
- Posts: 18525
- Thank you received: 5076
02 May 2025 18:43 #327523
by PCW
Replied by PCW on topic Dual control setup - comms between 2 systems- 7i94 bin file?
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?
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
-
- Away
- Moderator
-
Less
More
- Posts: 23315
- Thank you received: 4944
02 May 2025 18:56 #327525
by andypugh
Replied by andypugh on topic Dual control setup - comms between 2 systems- 7i94 bin file?
Please Log in or Create an account to join the conversation.
- PCW
-
- Online
- Moderator
-
Less
More
- Posts: 18525
- Thank you received: 5076
02 May 2025 19:01 #327526
by PCW
Replied by PCW on topic Dual control setup - comms between 2 systems- 7i94 bin file?
Please Log in or Create an account to join the conversation.
- Henk
- Away
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 88
03 May 2025 04:22 #327579
by Henk
Replied by Henk on topic Dual control setup - comms between 2 systems- 7i94 bin file?
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
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
-
Less
More
- Posts: 403
- Thank you received: 88
03 May 2025 04:27 #327580
by Henk
Replied by Henk on topic Dual control setup - comms between 2 systems- 7i94 bin file?
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
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.
- PCW
-
- Online
- Moderator
-
Less
More
- Posts: 18525
- Thank you received: 5076
03 May 2025 04:32 - 03 May 2025 04:49 #327581
by PCW
Replied by PCW on topic Dual control setup - comms between 2 systems- 7i94 bin file?
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)
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
-
Less
More
- Posts: 403
- Thank you received: 88
03 May 2025 05:27 #327583
by Henk
Replied by Henk on topic Dual control setup - comms between 2 systems- 7i94 bin file?
Yes. 7i77 please
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.107 seconds