FlexGUI - Multiple spindles?
- spumco
- Away
- Platinum Member
-
Less
More
- Posts: 2041
- Thank you received: 838
17 Apr 2026 05:26 #345627
by spumco
FlexGUI - Multiple spindles? was created by spumco
Starting to set up spindle status displays in Flex and ran in to a snag.
The documentation isn't explicit about how to reference multiple spindles, but I'm guessing the "0" in dynamic property like spindle_speed_0_lb is for [SPINDLE_0].
Problem 1 - spindle_actual_speed_lb doesn't reference a particular spindle. Oversight in documentation, or was this not set up for multiple spindle encoders? Document also has this note:
So I'm not sure if I should use the spindle_actual_speed_lb, or just set up a HAL float label.
Problem 2 - document indicates Flex looks for [SPINDLE_0]:
What about other spindles? I've got three spindles on my lathe (main, sub, live-tool), and (theoretically) all three could be running at the same time.
I can probably muddle through using HAL labels and so forth, but was wondering if there's a built-in set of spindle connections I'm just not seeing.
Thx
The documentation isn't explicit about how to reference multiple spindles, but I'm guessing the "0" in dynamic property like spindle_speed_0_lb is for [SPINDLE_0].
Problem 1 - spindle_actual_speed_lb doesn't reference a particular spindle. Oversight in documentation, or was this not set up for multiple spindle encoders? Document also has this note:
NoteTo get actual spindle speed you need to connect the spindle encoder to an encoder component and use the encoder.N.velocity-rpm float out connected to a HAL float label.So I'm not sure if I should use the spindle_actual_speed_lb, or just set up a HAL float label.
Problem 2 - document indicates Flex looks for [SPINDLE_0]:
On start-up, Flex will check for the following items in the [SPINDLE_0] section of the .ini fileWhat about other spindles? I've got three spindles on my lathe (main, sub, live-tool), and (theoretically) all three could be running at the same time.
I can probably muddle through using HAL labels and so forth, but was wondering if there's a built-in set of spindle connections I'm just not seeing.
Thx
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19847
- Thank you received: 4630
17 Apr 2026 19:27 #345652
by andypugh
Replied by andypugh on topic FlexGUI - Multiple spindles?
Spindles are typically controlled through the NML interface by the GUIs, so if the GUI doesn't support multiple spindles you might have to use MDI to turn on and off the auxilliary spindles.
THat said, flexgui is mane to be flexible, so maybe there is suopport?
I haven't used it yet.
THat said, flexgui is mane to be flexible, so maybe there is suopport?
I haven't used it yet.
Please Log in or Create an account to join the conversation.
- spumco
- Away
- Platinum Member
-
Less
More
- Posts: 2041
- Thank you received: 838
17 Apr 2026 23:01 #345662
by spumco
All machine functions are already handled with hardware controls; I just want displays for all three spindles. The only on-screen control which could cause machine movement of any type will be an MDI 'run' button.
I'm guessing FlexGUI is new enough that @JT hasn't had anyone bugging him about outlier configurations much.
Replied by spumco on topic FlexGUI - Multiple spindles?
Thanks Andy. I'm trying it out for the first time now.Spindles are typically controlled through the NML interface by the GUIs, so if the GUI doesn't support multiple spindles you might have to use MDI to turn on and off the auxilliary spindles.
THat said, flexgui is mane to be flexible, so maybe there is suopport?
I haven't used it yet.
All machine functions are already handled with hardware controls; I just want displays for all three spindles. The only on-screen control which could cause machine movement of any type will be an MDI 'run' button.
I'm guessing FlexGUI is new enough that @JT hasn't had anyone bugging him about outlier configurations much.
Please Log in or Create an account to join the conversation.
Moderators: JT
Time to create page: 0.078 seconds