make G code display error

More
5 years 5 months ago #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 to join the conversation.

More
5 years 5 months ago #207714 by andypugh
Replied by andypugh on topic make G code display error

rogerxue wrote: it should error out, display a message and stop


Use
Code:
(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)

Please Log in to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum