Flow-control statements in streamed G-code #811
-
Hi everyone, Without having to write a macro, I’d like to be able to check some basic conditions directly in my programs. I was thinking of something as simple as:
But this doesn’t seem to work. I’ve enabled support for “RS274 NGC expressions,” and both the docs and the source make me think flow-control statements like What am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Which sender? It could be that it does not send the commands to the controller?
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer! Just one question by the way: is there somewhere a state variable that makes it possible to know whether the GrblHAL interpreter is currently executing a flow control block? |
Beta Was this translation helpful? Give feedback.
Which sender? It could be that it does not send the commands to the controller?
And at least you have to put o-labels on statements: