qtdragon setting manual spindle speed?
19 Sep 2023 09:23 #281144
by Hakan
qtdragon setting manual spindle speed? was created by Hakan
Just started to work with qtdragon and its a pleasure..
But there isn't a way to set the manual spindle speed, is there?
When I press the forward or reverse button it always starts the spindle with [DISPLAY]DEFAULT_SPINDLE_0_SPEED speed.
I know I can press again and the speed changes in increments. Also, I can start the spindle with the mdi s1000m3 for example but that speed doesn't stick. After a stop, the next press on spindle fwd means the default_spindle_0_speed.
What I am after is to set the spindle starting speed other than the [DISPLAY]DEFAULT_SPINDLE_0_SPEED that comes from the ini file. So every time I start the spindle with the manual buttons (and the pendant button now when I think of it) it uses the set speed. It doesn't necessarily have to be the Sxx speed from the MDI, but that could be a choise.
But there isn't a way to set the manual spindle speed, is there?
When I press the forward or reverse button it always starts the spindle with [DISPLAY]DEFAULT_SPINDLE_0_SPEED speed.
I know I can press again and the speed changes in increments. Also, I can start the spindle with the mdi s1000m3 for example but that speed doesn't stick. After a stop, the next press on spindle fwd means the default_spindle_0_speed.
What I am after is to set the spindle starting speed other than the [DISPLAY]DEFAULT_SPINDLE_0_SPEED that comes from the ini file. So every time I start the spindle with the manual buttons (and the pendant button now when I think of it) it uses the set speed. It doesn't necessarily have to be the Sxx speed from the MDI, but that could be a choise.
Please Log in or Create an account to join the conversation.
20 Sep 2023 01:59 #281202
by cmorley
Replied by cmorley on topic qtdragon setting manual spindle speed?
Try this hack to follow the last S code setting.
add the attatcjed file in your config folder, named 'spindle_default_speed.py'
add this command in the INI under the [DISPLAY] heading:
USER_COMMAND_FILE = CONFIGFOLDER/spindle_default_speed.py
first manual button press (before setting S speed) will be the ini default setting.
After setting the S code in MDI or Program, the next time it will start at that speed.
Chris
add the attatcjed file in your config folder, named 'spindle_default_speed.py'
add this command in the INI under the [DISPLAY] heading:
USER_COMMAND_FILE = CONFIGFOLDER/spindle_default_speed.py
first manual button press (before setting S speed) will be the ini default setting.
After setting the S code in MDI or Program, the next time it will start at that speed.
Chris
Please Log in or Create an account to join the conversation.
20 Sep 2023 07:18 #281210
by Hakan
Replied by Hakan on topic qtdragon setting manual spindle speed?
Perfect! Awesome. Thank you!
Please Log in or Create an account to join the conversation.
23 Sep 2023 01:16 #281416
by cmorley
Replied by cmorley on topic qtdragon setting manual spindle speed?
Did it work they way you wanted?
Please Log in or Create an account to join the conversation.
23 Sep 2023 06:57 #281437
by Hakan
Replied by Hakan on topic qtdragon setting manual spindle speed?
Yes it did, that's what I tried to express above.
The best thing is that it doesn't change the gui code, the gui can still be updated and the only additions are in my config directory.
The best thing is that it doesn't change the gui code, the gui can still be updated and the only additions are in my config directory.
Please Log in or Create an account to join the conversation.
24 Sep 2023 00:57 #281521
by cmorley
Replied by cmorley on topic qtdragon setting manual spindle speed?
Excellent!
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.125 seconds