MillMage Preview and Job-run deliver different results

My problem is the Z-axis moves to a position about 2 mm above my workpiece to start the job so does not cut the workpiece. The job runs but does not touch the workpiece.

I have taken some screenshots:

Operation Settings

Device set-up

Preview results

Operation settings

ur zero point is set to “bottom” , are u probing from bottom or top of work piece ?

possibly could be a wrong keyed number in custom g code

ive done it before and not picked up on it ,check probe settings and custom gcode settings

1 Like

Thanks for your reply. I don’t use a probe.

What settings do you recommend?

1 do u manually lower z to top of work piece or bed ? this will help answer some questions

2: after lowering tool do you zero Z axis under the move tab ?

I have presets to park the router at the bottom left corner. The Z = 20.00 is because my router only lifts the tool after moving to XY. If Z = 0.00 when the machine is homed, it runs into the workpiece when moving to the center of the workpiece. I’ve broken a couple of bits.

From there, I move the tool to the center of the workpiece

No. The preset above does that for me. My problem arises when I click START in Job Control, The tool is moved to the XY starting position but the Y-axis does not drop to the workplace surface. It seems to be 2-3 mm above the workpiece. Any moves executed do not cut the workpiece.

I do remember reading in one of the posts someone’s else’s machine moved xy before Z. cant remember which post , you might have read some of the threads,

have you tried setting zero point to work piece instead of bottom and doing a trial , i kept one of my broken shanks which i use when trailing different settings, so router doesn’t bottom out

have you looked at custom gcodes

1 Like

you could try setting custom gcode

below is for g code flavour is GRBL, if your flavour is something else it my be written differently which i cant help you with.

user start script : $HZ GO X0 Y0

same in end user script

and see what that does, in theory should home Z 1st

im still a newbie, the way i understand it with my machine is, saved positions wont give the machine absolute cords

have a look at tool (m) and (w) after you activate a saved position see if they are the same

Usually tool positions M and W are always different as I use bottom left on the table/bed as Tool M and center of the workpiece as Tool W.

Thanks for your help.

Is a user script recorded in the Macro function?

Are you setting z=0 by lowering the Z to the spoil board? Looking over the thread, it’s unclear how the workpiece origins are being set as distinct from the machine origins.

Could you please share the first 50 lines or so of the generated G-code? There might be a clue in there, as I’d expect the Z axis to drop to 2.5 as it starts that profile cut.

Thanks for looking at my post.

Usually tool positions M and W are always different as I use bottom left on the table/bed (no spoilboard) as Tool M and center of the workpiece as Tool W

I will make another reply when I have finished getting the remaining details you requested.

OK Here goes. I have screenshots for every step I perform. If this is not enough info, please advise what else I can provide.

Before I turn off the machine, I move the spindle to the bottom left corner of the bed (Machine position 0,0,0).

First, turn on the machine and connect to MM

Next I move the spindle to the WP origin (WPO). G code for the Move to WPO:

Screenshot of the workpiece tool W position after above G code run

Start the project. Stopped after 15 seconds.

Starting stream
G00 G17 G40 G21;Restore metric mode
G54
G90;Restore absolute mode
G0 Z20
G90;Restore absolute mode
G21;Restore metric mode
M5
T0
M3 S8000
G0 Z24
G0 X-0.301Y33.928Z24
G0 Z5
G1 Z4F120
G1 Z3.5
G1 X-0.828Y33.916F200
G1 X-1.855Y33.963
G1 X-2.199Y34.001
G1 X-1.696Y34.057
G1 X-1.131Y34.09
G1 X-0.521
G1 X0.072Y34.056
G1 X0.525Y34.005
G1 X0.241Y33.969
G1 X-0.301Y33.928
G1 X-0.281Y33.528
G1 X-0.831Y33.516
G1 X-1.887Y33.564
G1 X-2.323Y33.613
G1 X-2.787Y33.684
G1 X-3.252Y33.778
G1 X-3.696Y33.893
G1 X-4.024Y33.997
G1 X-3.407Y34.181
G1 X-2.878Y34.298
G1 X-2.313Y34.391
G1 X-1.735Y34.455
G1 X-1.138Y34.49
G1 X-0.508
G1 X0.113Y34.454
G1 X0.714Y34.387
G1 X1.293Y34.287
G1 X1.832Y34.162
G1 X2.321Y34.013
G1 X1.874Y33.859
G1 X1.38Y33.739
G1 X0.852Y33.643
G1 X0.285Y33.571
G1 X-0.281Y33.528
G1 X-0.26Y33.129
G1 X-0.84Y33.115
G1 X-1.917Y33.166
G1 X-2.371Y33.215
G1 X-2.859Y33.29
G1 X-3.335Y33.387
G1 X-3.812Y33.51
G1 X-4.216Y33.638
G1 X-4.598Y33.785
G1 X-4.926Y33.935
G1 X-4.855Y34.096
G1 X-4.458Y34.268
G1 X-4.012Y34.425
G1 X-3.504Y34.57
G1 X-2.959Y34.69
G1 X-2.364Y34.788
G1 X-1.765Y34.854
G1 X-1.144Y34.89
G1 X-0.502
G1 X0.146Y34.853
G1 X0.768Y34.783
G1 X1.369Y34.68
G1 X1.942Y34.546
G1 X2.451Y34.392
G1 X2.9Y34.221
G1 X3.277Y34.043
G1 X2.875Y33.777
Job halted
Stream completed in 0:15

Tool position after I clicked the STOP button

im unsure , but i dont think so

when you turn it back on do you home X, Y and Z before moving, if not homed before moving a saved position it will easily be out

I’m picking it is using saved positions to go to 0,0,0, which is causing conflict instead of setting custom g codes

ur move screenshot are showing z as moving 3.6mm

g code is showing

G0 Z5
G1 Z4F120
G1 Z3.5

Going to a saved position does not zero the Z axis.

Follow this to zero Z:

1 Like

With a 3mm material thickness, and a 1mm depth of cut, zero’d to the bottom, the initial Z moves should be going to Z 2.5 (3mm top, -0.5mm for the pass depth). I don’t see moves to Z2.5 in this file, it’s going to 3.5, so this could be a bug.

Can you attach your project file here so I can have a look?

1 Like

I set up a test file based on the screen shots you supplied, and my gcode output is exactly what I expect it to be.

Can you paste your support data here in the thread, and include your project file? I’m curious if there’s something odd in either your tool settings or your project setup.