Start job at a particular line of gcode?

I had to pause a job for an extended amount of time, as such I just stopped the job.

I know what line the job last completed. How can I resume the job at this point?

Edit the file to begin at that point.

I agree with Will but first spend some time learning about modal commands. Because you can’t simply delete everything above the point of restart. Two things will happen. It’ll crash or it won’t move.

Practice makes perfect.

How would I edit this file, I opened it in Sublime Text and saw nothing that looked like gcode?

Decrypt it:

Alright that works, so once modified how do I get it back into CM?

CM will load G-code files.

Extensions include:

  • .nc
  • .egc (encrypted?)
  • .gcode
  • .tap

To expand on the warnings — preserve the preamble, and don’t break any modal commands — see http://www.shapeoko.com/wiki/index.php/G-Code

OK that works. Thanks guys!

NEED HELP PLEASE. How did you end up converting the file back to g code?

You change the .txt to .nc, or one of the extensions listed above.
Your computer may not allow this, until you set certain permissions.
Google how to change a file extension for your operating system, if that’s the case.

2 Likes

Thanks it worked but now its telling me that I have a syntax error line 2.
%
(FILENAME: )
(STOCK/BLOCK, 101.600, 25.400, 25.400, -0.000, -0.000, 25.400)
G21
G90
(TOOL/MILL,6.3500,0,19.0500,0.0)
M6 T5
M3 S10000
S1
G0X0.000Y0.000Z2.540
X53.977Y20.050
X53.868Y20.450
X53.702Y20.850
X53.650Y20.952
X53.464Y21.250
X53.250Y21.527
X53.139Y21.650
X52.850Y21.911
X52.664Y22.050

Lines 1–3 are just comments, as is line 6 (anything after a %, or anything in parentheses)

1 Like