make G code display error
02 May 2021 15:46 #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 or Create an account to join the conversation.
03 May 2021 10:07 - 03 May 2021 10:08 #207714
by andypugh
UseIn 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
it should error out, display a message and stop
Use
(ABORT, I refuse to continue because....)
(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.058 seconds