grblHAL / core

grblHAL core code and master Wiki
Other
330 stars 87 forks source link

A small problem that is not a problem, send "N1%", it will error: 1 #116

Closed hankecnc closed 2 years ago

hankecnc commented 2 years ago

I think grbl should let him through, what do you think?

terjeio commented 2 years ago

From NIST RS247NCG section 3.1 (my italics):

"The first non-blank line of a file may contain nothing but a percent sign, “%”, possibly surrounded by white space, and later in the file (normally at the end of the file) there may be a similar line."

So no, N1% is not legal G-code.

hankecnc commented 2 years ago

From NIST RS247NCG section 3.1 (my italics):

"The first non-blank line of a file may contain nothing but a percent sign, “%”, possibly surrounded by white space, and later in the file (normally at the end of the file) there may be a similar line."

So no, N1% is not legal G-code. OK, thanks