Newbie question - qtdragon

More
3 years 7 months ago #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 to join the conversation.

More
3 years 7 months ago #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 to join the conversation.

More
3 years 7 months ago #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:



Code:
#action_spindle_fwd{ qproperty-spindle_up_action: true; } #action_spindle_rev{ qproperty-spindle_down_action: true; }

Please Log in to join the conversation.

More
3 years 7 months ago #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.

Please Log in to join the conversation.

More
3 years 7 months ago #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:
Code:
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

Please Log in to join the conversation.

Time to create page: 0.272 seconds
Powered by Kunena Forum