Hi Neil -
Thanks for this. I just ran the job again from ‘start’ and an hour later she stopped again at 68.9% (painful!).
This time, I wrote down the ‘current line’, ‘code’ and percentage.
I typically zero, get Motion ready and just before I hit ‘Start’, turn my router on manually. In this case, I left the router and vac off until I got to about 50% then fired up the router and waited for cutting to start before flipping on the vac.
I’m with you RE the gcode up to ‘… get rid of everything between that retract line and the initial one.’
Which line denotes ‘retract’?
I’ll upload the gcode file. In this example, am I safe to delete everything after ‘G0Z0.8000’ and line 11897 in this case (perhaps a few lines prior to 11897?).
P.S. scratch that, can’t upload a Gcode file and the code from NCViewer doesn’t bring in the line numbers.
G0 means “go to, fast”, while G1 is a “go to, at feedrate speed”
G1 is for cutting, G0 is the fast moves done above the material without cutting, but also to go straight up (since going straight up you are by definition not cutting)
Z denotes the depth to go to. negative numbers are below your zero point, so positive numbers are above your material (assuming you zero at the top of your material)… any “move to” that is straight up above the material is a “retract”.
in the gcode you also see G1 X Y… those are the obvious X and Y coordinate moves.
(in one G0 or G1 command you can specify all X Y and Z, the ones you don’t specify are not changing, so just giving a Z0.8 leaves X and Y the same -> straight up)
Sounds like you got the editing gcode down. That’s a handy skill.
I run my router cord the opposite way as the controller, then to a different outlet, away from where I have the machine controller and PC. That solved most of my problems.