Newbie question - qtdragon

More
12 Mar 2023 10:05 #266478 by Drillbit
How do you set the spindle speed manually in qtdragon?

I think I'm missing something obvious.

Thank you.

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

More
12 Mar 2023 14:27 #266492 by persei8
Replied by persei8 on topic Newbie question - qtdragon
There is no specific control for that, but you can use MDI mode.
M3 Sxxx where xxx is speed in RPM

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

More
14 Mar 2023 01:48 - 14 Mar 2023 01:51 #266628 by cmorley
Replied by cmorley on topic Newbie question - qtdragon
If you prefer using the spindle buttons to adjust the manual spindle speed too,
try adding these lines to your stylesheet:



#action_spindle_fwd{
qproperty-spindle_up_action: true;
}
#action_spindle_rev{
qproperty-spindle_down_action: true;
}
Last edit: 14 Mar 2023 01:51 by cmorley.

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

More
14 Mar 2023 20:04 - 14 Mar 2023 20:05 #266693 by Drillbit
Replied by Drillbit on topic Newbie question - qtdragon
Wil try the spindle style sheet as well but have a different question.

The spindle rpm always shows zero.

I setup the config using the tool.

Using the 7i96s voltage divider for managing spindles. Set it to be pmw

Mapped 5v to 20000.

When I type M3 s1000 the UI does not change, stays at zero. So I assume I need a line in the custom.hal file to map something.
Last edit: 14 Mar 2023 20:05 by Drillbit. Reason: Typo

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

More
14 Mar 2023 21:10 - 14 Mar 2023 21:16 #266704 by persei8
Replied by persei8 on topic Newbie question - qtdragon
Note that setting those properties only works in Manual mode.
I also find it more useful if you set the button's auto repeat property in designer.

In your postgui hal file, you need to connect the spindle speed signal to the spindle rpm gauge. Something like:
net spindle-rpm qtdragon.gauge_spindle_value <= spindle.0.speed-out-abs

Your net names may be slightly different, but that's the idea.
Jim
Last edit: 14 Mar 2023 21:16 by persei8. Reason: auto repeat

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

Moderators: cmorley
Time to create page: 0.074 seconds
Powered by Kunena Forum