Vmax549 wrote:Hi Dan, There is a bug in RFH
that prevent RFH from working in G91 mode. I found it testing and can duplicate it at will. I can also work around that bug and it WILL work.
(;-) TP
Hi Terry, rainy Saturday here and had some time to experiment/play and see the problem you described. Using the RFH button... it's using the last Gcode line axis coordinates with G90, and if used in G91 Gcodeing it's sending spindle into the twilight zone. Exactly as you already pointed out in this thread.
Good news in my testing I found NOT using the RFH button and with a simple Stop() and Cycle Start UCCNC holds and runs the last Gcode line(G91) but just not in proper starting position with RFH button. Putting it there and all works great!
The FreeHoldPlus plugin I been developing now does this, I created a routine suggested by Robertspark in this thread that converts the G91 Gcode to
G90 coordinates. It is not possible and mentioned somewhere in this thread to bring back to Stop() postion XYcoordinates in G91 due to UCCNC internal coding but will bring back to start position of Gcode line it was Stop() in. (Thanks Robert!).
G90 will bring back to where stopped after jogging/moving from stopped coordinates and continue with Gcode file.
G91 will bring back to Gcode line start after jogging/moving from stopped coordinates and continue with Gcode file.
Will upload to UCCNC Toolbox after more testing tweaking but any1 interested in testing PM Email.
Dan