QTDragon stop & pause run
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7864
- Thank you received: 2122
16 Sep 2023 00:30 #280895
by cmorley
Replied by cmorley on topic QTDragon stop & pause run
Shutdown_check must = True for preference saving to happen.
What are you actually trying to change?
Ya I forgot about keyboard pausing.
What are you actually trying to change?
Ya I forgot about keyboard pausing.
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
16 Sep 2023 03:02 #280900
by frayja2002
Replied by frayja2002 on topic QTDragon stop & pause run
I was trying to get rid of the annoying confirmation dialogue each time I exit LinuxCNC.
Is there another option for this?
Alex
Is there another option for this?
Alex
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7864
- Thank you received: 2122
16 Sep 2023 04:40 #280901
by cmorley
Replied by cmorley on topic QTDragon stop & pause run
I guess I broke the behaviour a while back.
What you did was the right thing.
I have just fixed it - next update you can try it again.
What you did was the right thing.
I have just fixed it - next update you can try it again.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
16 Sep 2023 07:22 #280905
by frayja2002
Replied by frayja2002 on topic QTDragon stop & pause run
I'd just like to say how much I appreciate all of your perseverance.
With all of you'r effort & willingness to help I can see one day QTDragon will be to go to interface for LinuxCNC.
Thanks again.
Alex
With all of you'r effort & willingness to help I can see one day QTDragon will be to go to interface for LinuxCNC.
Thanks again.
Alex
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7864
- Thank you received: 2122
18 Sep 2023 05:42 #281042
by cmorley
Replied by cmorley on topic QTDragon stop & pause run
Here is an update that allows using the pause key too.
The external pin only can pause - would toggling on each true state be better or a separate external pin to unpause?
I was thinking maybe it would be better to have the pause button do regular motion pausing/unpausing and have the spindle pause button do motion pause, spindle pause and spindle lift.
That way you could do either - it may be more useful/intuitive for other people and if so could be incorporated into qtdragon as standard.
interesting request anyway - hope it improves your experience with linuxcnc!
Thank you for the kind words - QtDragon in linuxcnc is the combination of many people's work.
Jim the original creator has an even nicer looking version that i hope to soonish get started into master branch.
Chris
The external pin only can pause - would toggling on each true state be better or a separate external pin to unpause?
I was thinking maybe it would be better to have the pause button do regular motion pausing/unpausing and have the spindle pause button do motion pause, spindle pause and spindle lift.
That way you could do either - it may be more useful/intuitive for other people and if so could be incorporated into qtdragon as standard.
interesting request anyway - hope it improves your experience with linuxcnc!
Thank you for the kind words - QtDragon in linuxcnc is the combination of many people's work.
Jim the original creator has an even nicer looking version that i hope to soonish get started into master branch.
Chris
The following user(s) said Thank You: MarkoPolo
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 269
- Thank you received: 72
18 Sep 2023 16:28 #281095
by MarkoPolo
Replied by MarkoPolo on topic QTDragon stop & pause run
This now also works from the keyboard.
"..would be better to have the pause button do regular motion pausing/unpausing and have the spindle pause button do motion pause, spindle pause and spindle lift."
I think it's a very good idea, integrate with qtdragon and you could make this behavior an optional choice.
"..would be better to have the pause button do regular motion pausing/unpausing and have the spindle pause button do motion pause, spindle pause and spindle lift."
I think it's a very good idea, integrate with qtdragon and you could make this behavior an optional choice.
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
19 Sep 2023 09:23 #281143
by frayja2002
Replied by frayja2002 on topic QTDragon stop & pause run
HI there
I have also tested it & it works as expected.
One small thing... If I hit the stop button the script runs ( to return to the home switches in my case) but if I hit ESC to abort it does not.
I don't know if this uses the same mechanism as pause but I thought I'd point it out.
Thanks
Alex
I have also tested it & it works as expected.
One small thing... If I hit the stop button the script runs ( to return to the home switches in my case) but if I hit ESC to abort it does not.
I don't know if this uses the same mechanism as pause but I thought I'd point it out.
Thanks
Alex
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
19 Sep 2023 10:04 - 19 Sep 2023 10:16 #281147
by frayja2002
Replied by frayja2002 on topic QTDragon stop & pause run
For the benefit of those who come after & myself in 6 months time her is a summary of things so far...
1) In your INI file add to the following sections
[DISPLAY]
USER_COMMAND_FILE = CONFIGFOLDER/pause_pin.py
[AXIS_Z]
OFFSET_AV_RATIO = 0.2
2) In your custom_postgui.hal add
#Actually stop spindle whwen spinle pause is pressed
net spindle-stop qtdragon.spindle-inhibit spindle.0.inhibit
# Set up Z axis external offsets
net eoffset_clear qtdragon.eoffset-clear => axis.z.eoffset-clear
net eoffset_count qtdragon.eoffset-spindle-count => axis.z.eoffset-counts
net eoffset qtdragon.eoffset-value <= axis.z.eoffset
setp axis.z.eoffset-enable 1
setp axis.z.eoffset-scale 1.0
# uncomment for dragon_hd
# net limited qtdragon.led-limits-tripped <= motion.eoffset-limited
3) Download pause_pin_2023-09-18.py and save to your config folder as pause_pin.py
Set the "Spindle Raise" in the setting tab to a sensible value.
4) In qtdragon.pref
shutdown_check = True
Must remain as True in order to save "Spindle Raise" value.
If there's anything I have missed please let me know.
Alex
1) In your INI file add to the following sections
[DISPLAY]
USER_COMMAND_FILE = CONFIGFOLDER/pause_pin.py
[AXIS_Z]
OFFSET_AV_RATIO = 0.2
2) In your custom_postgui.hal add
#Actually stop spindle whwen spinle pause is pressed
net spindle-stop qtdragon.spindle-inhibit spindle.0.inhibit
# Set up Z axis external offsets
net eoffset_clear qtdragon.eoffset-clear => axis.z.eoffset-clear
net eoffset_count qtdragon.eoffset-spindle-count => axis.z.eoffset-counts
net eoffset qtdragon.eoffset-value <= axis.z.eoffset
setp axis.z.eoffset-enable 1
setp axis.z.eoffset-scale 1.0
# uncomment for dragon_hd
# net limited qtdragon.led-limits-tripped <= motion.eoffset-limited
3) Download pause_pin_2023-09-18.py and save to your config folder as pause_pin.py
Set the "Spindle Raise" in the setting tab to a sensible value.
4) In qtdragon.pref
shutdown_check = True
Must remain as True in order to save "Spindle Raise" value.
If there's anything I have missed please let me know.
Alex
Last edit: 19 Sep 2023 10:16 by frayja2002.
The following user(s) said Thank You: rubes
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.082 seconds