How to set up M1?

More
17 Dec 2021 08:20 #229275 by chen1234
How to set up M1? was created by chen1234
I used qtvcp to make an interface, and when I tested the G code pause function, I saw M1 (execution pause), and I need to turn on the optional switch (linuxcnc.org/docs/2.8/html/gcode/m-code. html#mcode:m0-m1), then how should I use the M1 pause switch? Where can I see this settings section?

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

More
18 Dec 2021 00:44 #229355 by cmorley
Replied by cmorley on topic How to set up M1?
I'm not sure I completely understand...
In qtvcp, the action button's action: 'Optional_stop' controls the response to M1
The following user(s) said Thank You: chen1234

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

More
20 Dec 2021 17:31 #229563 by Todd Zuercher
Replied by Todd Zuercher on topic How to set up M1?
Alternately you can use a halui hal pin to toggle the optional stop state, there are these three Halui pins related to it.

halui.program.optional-stop.is-on
halui.program.optional-stop.off
halui.program.optional-stop.on

The first is an output that shows the optional stop state, the other two are inputs for changing the state.
The following user(s) said Thank You: chen1234

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

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