cncjs-shopfloor-tablet icon indicating copy to clipboard operation
cncjs-shopfloor-tablet copied to clipboard

Run automatically when loading a script

Open Regis208 opened this issue 3 years ago • 3 comments

Hi,

Each time a gcode is loaded when this pendant is active the machine starts. It's quite annoying. And I can't find why.

Regis208 avatar Jul 29 '21 10:07 Regis208

HI,

I found the variable "probing" is not set back to false at the end of the probing or when clicking the stop button. On load event if "probing" is true then it start the loaded GCode. So when loading a gcode file it will start it if a probing occur before. Add "probing=false" on Idle case in callback for "workflow:state"
Seems to work so far.

Regis208 avatar Jul 29 '21 13:07 Regis208

If you create a pull request I will take it.

MitchBradley avatar Jul 29 '21 17:07 MitchBradley

Hi,

Just made the correction and the pull request.

Regards,

Regis208 avatar Oct 19 '21 15:10 Regis208