(Solved) FlexGUI - Multiple spindles?

More
6 months 2 weeks ago #345627 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:
Code:
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]:
Code:
On start-up, Flex will check for the following items in the [SPINDLE_0] section of the .ini file

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

Please Log in to join the conversation.

More
6 months 1 week ago #345652 by andypugh
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.

Please Log in to join the conversation.

More
6 months 1 week ago #345662 by spumco

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.
 
Thanks Andy.  I'm trying it out for the first time now.

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 to join the conversation.

More
6 months 1 week ago #345793 by spumco
Mods - please mark as 'solved'

Looks like JT updated FlexGUI for multiple spindles on GH a few hours ago.

Can't wait to update and have a go at it!

Please Log in to join the conversation.

More
6 months 1 week ago #345794 by tommylight

Mods - please mark as 'solved'
Done, thank you.

Please Log in to join the conversation.

More
6 months 1 week ago #345837 by JT
Just completed the multiple spindle update to Flex GUI. It now fully supports all 8 spindles.

JT

Please Log in to join the conversation.

More
6 months 1 week ago #345872 by spumco
@JT - 

Thank you for the update and new pins.  I pulled the latest deb and Flex is recognizing the additional spindle connections I put in my test GUI.

This doesn't affect me directly - I have no GUI spindle controls, just displays - but are there similar multi-spindle control pins?  I didn't see any update in the docs about those changing.

Please Log in to join the conversation.

More
6 months 1 week ago #345883 by JT
Yes, Flex has full manual spindle controls for all 8 spindles. I'm working on updating the documents.

Just to prevent any search engine from finding incorrect information I deleted the posts with the incorrect information.

JT

Please Log in to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum