Since spindle and coolant state (A:…) are reported delayed together with overrides it’s not possible to distinguish the state on/off or not reported.
Maybe you want to add this small change.
评论 (4)
#2 – chamnit 于 2017-10-16
@walzm : Wait. Can’t you get state from the $G gcode report? If M7, M8, M3/4 are active, then this should tell you if the spindle and coolants are on. The real-time override report tells you when they have changed.
While it’s true that you can’t get the current state in every real-time report, it should report it after a certain number of reports. Perhaps Grbl needs to send a report update when the spindle or coolant state changes via a gcode command. That may be missing and perhaps the more appropriate fix.
#3 – walzm 于 2017-10-20
@chamnit Thanks, I agree this can be used to.
Personally, I ‘d prefere the second option which would be reporting the state in intervals and in addition whenever there is a change compared to the last status report.
Spindle and coolant are important machine states which should be reported “realtime” during job execution using ?
In comparison, $G is more the non critical state checked initially when setting up the job.
What do you think?
#4 – walzm 于 2017-11-11
Closed. I will propose a new one according to my last comment once available
#1 – chamnit 于 2017-10-16
@walzm : Ah, ok. Thanks for the bug report.