Hi Zax, ok, the laser mode was not selected so now the first pass is done at

Z0. However, I slowed everything down and between passes 1 and 2 (0 to -2mm) the z axis is being told to go up to Z 0. And it stalls. Again between -2mm and -4mm, and between -4 and -6mm. Then at the end it also tries to go up to Z zero at high speed and stalls. My Z xis feed rate is set 200 at this stage. If I reset the Z axis distance cal to 80 s/mm it will mange the moves to Z 0 without losing steps. I have looked at all the various options and tried toput everything I can see to low speed, but these jumps to Z zero are all too fast for the axis. Looking at the G-code, before each new depth adjustment there is a line that says: (This is the code after the -2mm pass:)

G00 Z0 M03 S0

M05

G00 Z0

G01 X0 Y0 M03 S0 F200

M03 S0

G01 Z-4 F200

Full code is here:

( Generated by T2Laser )

( DXF2Gcode for Grbl )

( Start Point: Center )

( Frame Mode : Abs. )

( X Maximum : 10 )

( Y Maximum : 10 )

( Laser Power: 255 )

( Vector Rate: 200 )

( Rapid Feed : 200 )

( Vector Name: 10x10Square.dxf )

G21

G90

F200

M05

G00X0Y0F200

G92X5Y5

G90

G00 Z0

G01 X0 Y0 F200

M03 S0

G01 Z0 F200

G01 X10 Y0 M03 S255 F200

G01 Z0 F200

G01 X10 Y10 M03 S255 F200

G01 Z0 F200

G01 X0 Y10 M03 S255 F200

G01 Z0 F200

G01 X0 Y0 M03 S255 F200

G00 Z0 M03 S0

M05

G00 Z0

G01 X0 Y0 M03 S0 F200

M03 S0

G01 Z-2 F200

G01 X10 Y0 M03 S255 F200

G01 Z-2 F200

G01 X10 Y10 M03 S255 F200

G01 Z-2 F200

G01 X0 Y10 M03 S255 F200

G01 Z-2 F200

G01 X0 Y0 M03 S255 F200

G00 Z0 M03 S0

M05

G00 Z0

G01 X0 Y0 M03 S0 F200

M03 S0

G01 Z-4 F200

G01 X10 Y0 M03 S255 F200

G01 Z-4 F200

G01 X10 Y10 M03 S255 F200

G01 Z-4 F200

G01 X0 Y10 M03 S255 F200

G01 Z-4 F200

G01 X0 Y0 M03 S255 F200

G00 Z0 M03 S0

M05

G00 Z0

G01 X0 Y0 M03 S0 F200

M03 S0

G01 Z-6 F200

G01 X10 Y0 M03 S255 F200

G01 Z-6 F200

G01 X10 Y10 M03 S255 F200

G01 Z-6 F200

G01 X0 Y10 M03 S255 F200

G01 Z-6 F200

G01 X0 Y0 M03 S255 F200

G00 Z0 M03 S0

M05

G00X5Y5

G92X0Y0

Sorry don't have enough privileges to upload the saved g-code file.

Any help greatly appreciated

Cheers

David