How to use "Opt Block" and "Opt Stop" in QtDragon
- Vector
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 112
- Thank you received: 26
24 Feb 2025 06:51 #322463
by Vector
How to use "Opt Block" and "Opt Stop" in QtDragon was created by Vector
Can someone point me to the documentation on how to setup/use "Opt Block" and "Opt Stop" in QtDragon?
I tried putting a slash at the beginning of a block of code, and all the combinations of Opt Block on/off and Opt Stop on/off before clicking "Cycle Stop," but I couldn't see any change in behavior.
Also, I noticed that I can't turn them on or off while in Auto Mode, but that seems like it should be the mode I would want to do that in. ??
I searched for "Opt Block" and "Opt Stop" on the following two pages:
linuxcnc.org/docs/html/gui/qtdragon.html
linuxcnc.org/docs/html/gui/qtvcp.html
and generally in google, but couldn't find any love.
Are there .hal pins?
This is not a priority, but I'm curious.
Thanks!
I tried putting a slash at the beginning of a block of code, and all the combinations of Opt Block on/off and Opt Stop on/off before clicking "Cycle Stop," but I couldn't see any change in behavior.
Also, I noticed that I can't turn them on or off while in Auto Mode, but that seems like it should be the mode I would want to do that in. ??
I searched for "Opt Block" and "Opt Stop" on the following two pages:
linuxcnc.org/docs/html/gui/qtdragon.html
linuxcnc.org/docs/html/gui/qtvcp.html
and generally in google, but couldn't find any love.
Are there .hal pins?
This is not a priority, but I'm curious.
Thanks!
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7863
- Thank you received: 2121
24 Feb 2025 07:51 #322469
by cmorley
Replied by cmorley on topic How to use "Opt Block" and "Opt Stop" in QtDragon
I just added:
/(PREVIEW,hide)
to a program and to see the difference in the graphics view (after each toggle) I had to reload the screen. Maybe that should be automatic?
I'm pretty sure you don;t need to reload for actual Gcode commands, but the options must be set before running.
/(PREVIEW,hide)
to a program and to see the difference in the graphics view (after each toggle) I had to reload the screen. Maybe that should be automatic?
I'm pretty sure you don;t need to reload for actual Gcode commands, but the options must be set before running.
The following user(s) said Thank You: tommylight, Vector
Please Log in or Create an account to join the conversation.
- Vector
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 112
- Thank you received: 26
28 Feb 2025 02:29 - 28 Feb 2025 02:30 #322837
by Vector
Replied by Vector on topic How to use "Opt Block" and "Opt Stop" in QtDragon
Ah! Looks like the "Reload" button on the panel with the Opt Block button is indeed the trick.
For clarity in case someone finds this, Opt Block ON, with green light, actually seems to turn "off" whatever follows the "/"
Thanks!
What then, does "Opt Stop" do?
For clarity in case someone finds this, Opt Block ON, with green light, actually seems to turn "off" whatever follows the "/"
Thanks!
What then, does "Opt Stop" do?
Last edit: 28 Feb 2025 02:30 by Vector. Reason: Added clarity
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7863
- Thank you received: 2121
28 Feb 2025 06:07 #322844
by cmorley
Replied by cmorley on topic How to use "Opt Block" and "Opt Stop" in QtDragon
M1 will pause a program if optional stop is on.
The following user(s) said Thank You: Vector
Please Log in or Create an account to join the conversation.
- Vector
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 112
- Thank you received: 26
28 Feb 2025 07:47 #322854
by Vector
Replied by Vector on topic How to use "Opt Block" and "Opt Stop" in QtDragon
Oh! OMG.
Now I know what those buttons do. I thought they were supposed to be activated by the slashes, and now I've just learned about those M0, M1 codes.
[Dang, I have so much to learn
]
Thank you!
Now I know what those buttons do. I thought they were supposed to be activated by the slashes, and now I've just learned about those M0, M1 codes.
[Dang, I have so much to learn

Thank you!
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.077 seconds