make G code display error

More
02 May 2021 15:46 #207644 by rogerxue
I want to make G code display error when something happens.

e.g. if M66 times out on a signal, instead. of moving on, it should display an error and stop the program. Or if when a prob value is over the tolerance, it should error out, display a message and stop

Is there a way to do it?

thanks

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

More
03 May 2021 10:07 - 03 May 2021 10:08 #207714 by andypugh
Replied by andypugh on topic make G code display error

it should error out, display a message and stop


Use
(ABORT, I refuse to continue because....)
In the G-code.

(this is one of a number of "magic comments" available in LinuxCNC. The brackets are important)
Last edit: 03 May 2021 10:08 by andypugh.
The following user(s) said Thank You: rogerxue

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

Time to create page: 0.072 seconds
Powered by Kunena Forum