grblHAL / core

grblHAL core code and master Wiki
Other
320 stars 84 forks source link

Hello, terjeio, I seem to have found a small bug in grblhal? The S value of the gc status information is the last value, not the current value #219

Closed hanke-cnc closed 1 year ago

hanke-cnc commented 1 year ago

Hello, terjeio, I seem to have found a small bug in grblhal? The S value of the gc status information is the last value, not the current value

The F/S value obtained by ? is the correct value

ggg

hanke-cnc commented 1 year ago

I don't know if you can understand what I mean?

terjeio commented 1 year ago

The S value of the gc status information is the last value, not the current value

Correct. The GC status is from the current parser state which is at the back of the planner queue, the ? report is the current value including any override. This is per design.

hanke-cnc commented 1 year ago

The S value of the gc status information is the last value, not the current value

Correct. The GC status is from the current parser state which is at the back of the planner queue, the ? report is the current value including any override. This is per design.

???????????? God, in my cognition, the gc state is the current state of grbl executing a line of g code

hanke-cnc commented 1 year ago

I don't know linuxcnc and fanuc are the same?

hanke-cnc commented 1 year ago

Now I don't know how to implement the idea of continuing processing after the user shuts down. Originally, my idea was to save the gc state of the currently executing G code line, send the saved gc state when continuing to process, and then send the g code from the specified line, but now Knowing that the gc state is not the current execution g-code state, does the great terjeio have any ideas?