- Posts: 44
- Thank you received: 0
make G code display error
5 years 5 months ago #207644
by rogerxue
make G code display error was created 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
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.
5 years 5 months ago #207714
by andypugh
Use
In the G-code.
(this is one of a number of "magic comments" available in LinuxCNC. The brackets are important)
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....)
(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
