Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

then you will want to reduce the feed rate for the remaining tool operations.

Image RemovedImage Added

Preamble

The g-code program’s preamble comes at the start of the program. The g-code preamble sets up the machine. For instance the G20 or G21 command would be found in the preamble to instruct the machine to use inches or mm, respectively. The preamble must be included in the g-code program.

...

Once you are certain that the error will not occur again, load the modified g-code program into the Pocket NC V2. Ensure that the Tool Length Offset and G5x values are correct.

Try using the Penta Simulator to modify the Clamp g-code example

Below is an embedded version of the Penta Simulator with the Clamp - Complete.ngc file loaded. You can use this embedded version of the Penta Simulator to experiment with modifying the g-code program and removing completed tool operations.

Iframe
srchttps://sim.pocketnc.com/?titleBar=hide&post=517/1&tool={"P":6,"Z":-3.2427,"R":0.0625}&tool={"P":25,"Z":-3.2427,"R":0.0625}&wcs={"wcs":1,"X":-1.1723,"Y":1.7449,"Z":0.9225}
width100%
frameborderhide
height500

See the image below on how to toggle the G Code Pane ON and OFF.

...

Conclusion

The methods described above are both conservative methods. There are ways to eliminate cuts that have already been performed by the machine in the tool operation where the error occurred. Caution must be observed to not remove machine setup information at the beginning of the tool operation. The description of this process is outside the scope of this tutorial.

...