Z axis calibration for cutting depth?

Edit: noob mistake. The stock mdf board is 3/16th thick. So the MPCNC primo is correct and the operator, me, is wrong! Shall I delete the post? measure twice cut once mistake
Home depot board

Setup: Primo MPCNC, Mini-rambo controller, z-axis leadscrew and all components purchased from v1 engineering shop. Estlcam generated gcode. Printed with Repetier host application. (both latest version as of May 2023).

Ok so far:

Engraving

Engraving with V-bit depth 0.5mm (ok look good and proper depth).

  • Engraving XY dimensions, letters, numbers, etc. (ok look good).

Cut Part

Tool change to 1/16 end mill 2 flute

  • Cut out part depth set to 10mm for 3/8 coated Masonite board (home depot 2x4 sheet white coating/black). This should just through cut by 0.5mm +/-.
  • Shape is simple rectangle part.
  • Gcode shows steps of 1mm increments cutting.
  • Cutting begins XY dimensions (ok looks correct).
  • Yikes, its cutting too deep! Pause code and stop router.

Gcode snippet

{
G92 X0 Y0 Z0
@isathome
G90
M03 S20000
G00 X0.0000 Y0.0000 Z0.0000 F2100
G00 Z3.0000 F480


;No. 1: outline
G00 X109.2350 Y-0.9450 F2100
G00 Z0.5000 F480
G01 Z0.0000 F120 S20000
G01 Z-1.0000 F120
G01 X215.9000 F480
G03 X216.8450 Y0.0000 I0.0000 J0.9450 F480
G01 Y177.8000 F480
G03 X215.9000 Y178.7450 I-0.9450 J0.0000 F480
G01 X109.2350 F480
G01 X106.6650 F480
G01 X0.0000 F480
G03 X-0.9450 Y177.8000 I0.0000 J-0.9450 F480
G01 Y0.0000 F480
G03 X0.0000 Y-0.9450 I0.9450 J0.0000 F480
G01 X106.6650 F480
G01 X109.2350 F480

G01 Z-2.0000 F120
G01 X215.9000 F480
G03 X216.8450 Y0.0000 I0.0000 J0.9450 F480

the gcode continues with z-1 unit steps and then finishes with

G01 Z-8.0000 F120
G01 X215.9000 F480
G03 X216.8450 Y0.0000 I0.0000 J0.9450 F480
G01 Y177.8000 F480
G03 X215.9000 Y178.7450 I-0.9450 J0.0000 F480
G01 X109.2350 F480
G00 Z-7.0000 F480
G01 X106.6650 F480
G01 Z-8.0000 F120
G01 X0.0000 F480
G03 X-0.9450 Y177.8000 I0.0000 J-0.9450 F480
G01 Y0.0000 F480
G03 X0.0000 Y-0.9450 I0.9450 J0.0000 F480
G01 X106.6650 F480
G00 Z-7.0000 F480
G01 X109.2350 F480
G00 Z-7.5000 F480
G01 Z-8.0000 F120
G01 Z-9.0000 F120
G01 X215.9000 F480
G03 X216.8450 Y0.0000 I0.0000 J0.9450 F480
G01 Y177.8000 F480
G03 X215.9000 Y178.7450 I-0.9450 J0.0000 F480
G01 X109.2350 F480
G00 Z-7.0000 F480
G01 X106.6650 F480
G00 Z-7.5000 F480
G01 Z-8.0000 F120
G01 Z-9.0000 F120
G01 X0.0000 F480
G03 X-0.9450 Y177.8000 I0.0000 J-0.9450 F480
G01 Y0.0000 F480
G03 X0.0000 Y-0.9450 I0.9450 J0.0000 F480
G01 X106.6650 F480
G00 Z-7.0000 F480
G01 X109.2350 F480
G00 Z-8.5000 F480
G01 Z-9.0000 F120
G01 Z-10.0000 F120
G01 X215.9000 F480
G03 X216.8450 Y0.0000 I0.0000 J0.9450 F480
G01 Y177.8000 F480
G03 X215.9000 Y178.7450 I-0.9450 J0.0000 F480
G01 X109.2350 F480
G00 Z-7.0000 F480
G01 X106.6650 F480
G00 Z-8.5000 F480
G01 Z-9.0000 F120
G01 Z-10.0000 F120
G01 X0.0000 F480
G03 X-0.9450 Y177.8000 I0.0000 J-0.9450 F480
G01 Y0.0000 F480
G03 X0.0000 Y-0.9450 I0.9450 J0.0000 F480
G01 X106.6650 F480
G00 Z-7.0000 F480
G01 X109.2350 F480
G00 Z3.0000 F480
}

Why does it cut too deep?

  • Did I miss a calibration step?
  • Is there a threads per inch or mm screw lead calibration?
  • Is my 1mm cut path really 2mm?
  • My engraving depth of 0.5mm looks ok but maybe it is not really 0.5mm.
  • Should my Gcode contain a units measure command G21 (metric)? There is no units gcode in the script.

What is your experience with this z-axis behavior?

1 Like

It’s all good. None of us have ever typed in 20 instead of .20… :sweat_smile::rofl::joy:

1 Like