Z levelling

I moved all these comments from the topo map thread to here so everything is in one place.

Here is the top of the gcode for people who are on mobile:

; lr3-strut-plate-variable_1500
; Minimum extent in X = 0.000 Minimum extent in Y = 0.000 Minimum extent in Z = -6.000
; Maximum extent in X = 600.000 Maximum extent in Y = 1600.000 Maximum extent in Z = 0.000
; Length of material in X = 600.000
; Length of material in Y = 1600.000
; Depth of material in Z = 6.000
; Home X = X0.000 Home Y = Y0.000 Home Z = Z30.000
; Safe Z height: 30.000
; Tools: 5 = 1/8" End Mill 2 Flute DownCut (3.18 mm)
; Notes: 
; Generated Friday November 17 2023 03:20 PM
 
G90
M400
M300
M117 Load 1/8" End Mill 2 Flute DownCut (3.18 mm)
M0 Load 1/8" End Mill 2 Flute DownCut (3.18 mm)
M118 P0 Load 1/8" End Mill 2 Flute DownCut (3.18 mm)
M84 S0
M03 S24000
G21
G92 X0 Y0
M400
M300
M117 Is Material Loaded & Secured?
M00 Is Material Loaded & Secured?
M118 P0 Is Material Loaded & Secured?
M400
M300
M117 Attach Tool and Touchplate
M0 Attach Tool and Touchplate
M118 P0 Attach Tool and Touchplate
M400
G38.2 Z0
G92 Z0.5
G1 Z10 F500
M400
M300
M117 Remove Touchplate
M0 Remove Touchplate
M118 P0 Remove Touchplate
M400
G1 X0.000 Y0.000 F480
M106 P0
M106 P1
M106 P2
M400
M300
M117 Click to Start!
M00 Click to Start!
M118 P0 Click to Start!
M400
G1 X10 Y10 F3000 ;Move XY axis close to home rapid
G1 X0.000 Y0.000 F500 ;Move XY axis to home
 
; Tool 5: 1/8" End Mill 2 Flute DownCut (3.18 mm)
; Path: Drill Pilot J:\lr3-strut-plate-variable_1500.gcode
; 
G0 X222.786 Y96.208 F3000
G0 Z30.000 F500
G0   F3000
G0 Z5.000 F500
G1   Z-2.000 F480.0
G1 X222.789 Y96.263  F900.0
G1 X222.799 Y96.320  F900.0
G1 X222.816 Y96.377  F900.0
G1 X222.840 Y96.434  F900.0
G1 X222.872 Y96.488  F900.0
G1 X222.911 Y96.538  F900.0
G1 X222.956 Y96.583  F900.0
G1 X223.006 Y96.622  F900.0

The touch plate stuff is there, even if it is a bit verbose. Is your touch plate 0.5mm?

G38.2 Z0
G92 Z0.5
G1 Z10 F500

This looks weird, but it doesn’t look dangerous:

G0 X222.786 Y96.208 F3000
G0 Z30.000 F500
G0   F3000
G0 Z5.000 F500
G1   Z-2.000 F480.0

Why the extra F3000 on a separate line? IDK. Why is it climbing all the way to Z=30? IDK.

There aren’t any Z commands to go deeper than -6.

So that leaves a few possibilities:

  • The machine doesn’t have the right steps per mm, but you’ve checked a 10mm Z move is a 10mm Z move.
  • The machine isn’t square, flat, and the Z=0 at the start is not Z=0 at the end. You’ve seen this, but it is 1-2mm, not 7mm
  • The machine is skipping steps, or the grub screws are loose and it is slipping during cutting.

Your 12/24V power supply doesn’t make a difference.

We have seen these have a lot of runout and wobble, which can cause some other issues later, but I am going to ignore this. The one thing to check is that the bit isn’t drooping and getting longer.

The next thing I would want is some clue from the way the error looks. Are you letting the whole job finish? Is it 13mm everywhere? Can you make a smaller square gcode that is 2" wide or something, starting near the touch plate? Watch it carefully and report anything weird.

It would be best if you used estlcam so we can more easily help you. Once we prove your build is correct, you can more confidently try other software but ESTLcam V11 is bulletproof and easy to diagnose.

Very easy to fix, the instructions have a section of correcting this. But save it for after your struts.

For learning you should be using an upcut they are just much more forgiving. For a down cut slow your move and plunge speeds down considerably, like 10 and 3mm/s. And since it is a two flute endmill the speed dial should be all the way down for now.

Let’s stick to some test cuts first. Some squares, the test crown, stuff like that. no sense is wasting a ton of material until you are sure you can easily draw a few shapes and cut out a couple cup holders.

These tend to let the endmill slip out. Rarely do they work well. Once a endmill slips in it, it is not usable any longer. You can mark yours or measure it. Stick it in the collet and mark it with a sharpie, check it at the end of a cut. If it moved that insert is no longer good. If it moved a lot, it could wreck your collet as well.

Frank, it seems you are trying to tackle too many things at the very same time. How about we take a bit of a step back and start over a bit. First things first, draw the test crown, does it work (show us a picture so we can look for issues)? Then follow the instructions and create your own test crown, does that work, is it exactly the same as our gcode (I recommend doing this in estlcam but if you want to use your software this is always the best first step)? Drawing the crown tests a lot of things at once. From there is it easy to find issues.

1 Like

This adds up to what you are getting for cut depth.

If you are in relative mode (G91) rather than absolute mode (G90), the first cut is 2mm, your second cut is 4 mm from the first cut depth, and your third cut is 6mm from your second cut depth.

Absolute mode (G90), depths are 2mm per cut (numbers are interpreted as positions relative to (X0,Y0,Z0)

G90 is supposed to be default, but perhaps vcarve is changing that (or is setting the Z to 0 at the start of each pass).

Quick test would be to change each cut to 2mm. Or put a G90 command at the start of the gcode .

(Edit - previous posting had G92 instead of G91 for Relative Mode)

1 Like

This may or may not work, depending if vcarve later changes to G91. or it may or may not break all of the other axis movements. Experimentation would answer those questions.

Ok, I looked at the gcode file you posted above, and there is a G90 command at the start, no G91 commands anywhere, and all of the commands seem to be in Absolute Mode. There are even several places where the Z axis is raised to 30mm, then set back to cutting depth.

I’m stumped, but it seems that absolute vs relative is NOT the issue here.

1 Like

Thank you all for helping me.
Ok so I will try this all on estlcam.

The z30 moves are the safe Z moves I believe and according to aspire setting.

I will also change bit to upcut bit.
With speeds of 10mm/s moves, plunge moves to 3mm/s and spindle all the way to 1 on the Makita tool.

I will also redo a test crown and then do a small cut square cut as advised.

Thanks all again for everyone’s assistance, really appreciate it

1 Like

Cool, we can work our way up from there. Figure out what the heck is going on with your build.

I still highly suggest you get up a few pictures so we can double-check everything. Your build and your board.

Not that is will cause this but what PP were you using in vetric? Thank you for your patience also some get testy when asked the same thing multiple time but you stud aand answered everyone you fit in like a finger in a glove :+1::rofl:

1 Like

My controller (skr pro) is currently a mess lol, wires everywhere!

I have another skr pro in my test lab which is also connected to rpi. Once the struts are printed I was going to transfer this to the lowrider. As the skr pro in there now is just to get it going for now.
Still it’s the same skr pro v1.2. But just wanted one for a test bench for testing purposes, who knows might build another lowrider in future lol

The test bench skr pro, I have it wired to another control board which turns on relays, with dual supplies, etc. but wanted to get the one in the lowrider going first before I go to advanced mode lol
Here is a pic of my test bench skr pro, which will eventually replace my current setup once the struts are done.




1 Like

And this is my current (mess) setup lol on lowrider3



I was using the marlin test5 pp on vectric,
I did do some editing on that which controlled my relays etc.
air cutting seemed to function fine.

Also in regards to the extension collet, this was only temporarily to cut the struts.
As I plan on adding another bed on top of mine as currently I don’t have the reach on my setup.
The extension was purely just to cut the struts out for now.
Then once I install the bed i will then have the reach and won’t need the extension collet.

1 Like

This was going to be my question. Though I haven’t used a v1 machine yet, I do use vectric. All your settings look good in vectric, so I would look to the PP that you were using. I’m not real good at understanding gcode, and though your movement code looks to be on, there is a lot at the beginning that could be making something not right. I am more used to GRBL, and I know Marlin can have some weird stuff in it, but I don’t know.

Of all things, I would follow what @vicious1 is saying and start from the beginning.

I use GRBL and vcarve pro on my primo and it works great will be changing to the new controller soon and se how it goes but I don’t really like marlinf so won’t be going there but it is not the issue here at all many people use it here without issues. But his mods may have changed something but the air cuts sould be bad also if the gcode was wrong

1 Like

ok so tried a basic estlcam version just to drill pilot holes.
I still get it drilling 12/13mm even though its set for 6mm.

;Project lr3-strut-plate-variable_1500custom
;Created by Estlcam version 11 build 11.245
;Machining time about 00:24:33 hours

G90				;Absolute positioning
G92 X0 Y0 			; Set Current position to 0 on the X and Y axes.
M0 Attach tool and Touchplate	; Pause to connect tool and Touchplate
G38.2 Z0 				; Probe down to touchplate
G92 Z0.5 				; Set new Z position to thickness of touchplate
G1 Z2 F900 			; Lift off touchplate
M0 Remove probe	 		; Pause and wait for touchplate removal
M03 S24000			;Spindle Start
M106 P0 				;Starts Fan0 (Router/Vacuum)
M106 P1 				;Starts Fan1 (Router/Vacuum)
M106 P2 				;Starts Fan2 (Router/Vacuum)
M400				;wait for current moves to finish
M00 Click to Start! 			;Click to Start
G00 X0.0000 Y0.0000 Z0.0000 F2100
G00 Z30.0000 F480


;No. 1: Drill 1
G00 X258.5694 Y142.0334 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180 S24000
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 2: Drill 2
G00 X353.7692 Y146.8679 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 3: Drill 3
G00 X458.3586 Y138.1682 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 4: Drill 4
G00 X466.2146 Y893.2905 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 5: Drill 5
G00 X360.6116 Y891.5069 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 6: Drill 6
G00 X226.5369 Y943.0705 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 7: Drill 7
G00 X259.4385 Y1553.0526 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 8: Drill 8
G00 X342.3652 Y1553.0249 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480


;No. 9: Drill 9
G00 X445.9409 Y1548.4548 Z30.0000 F2100
G00 Z0.5000 F480
G01 Z-1.5000 F180
G00 Z0.5000 F480
G00 Z-1.0000
G01 Z-3.0000 F180
G00 Z0.5000 F480
G00 Z-2.5000
G01 Z-4.5000 F180
G00 Z0.5000 F480
G00 Z-4.0000
G01 Z-6.0000 F180
G00 Z30.0000 F480
G00 X0.0000 Y0.0000 F2100

M05		;PID, Stop Spindle
G28 Z 		; Lift Z axis
M107 P0 		;Stops Fan0 (Router/Vacuum)
M107 P1 		;Stops Fan1 (Router/Vacuum)
M107 P2 		;Stops Fan2 (Router/Vacuum)
M400		;wait for current moves to finish
M00 Completed! 	;Pause to keep steppers energized

So i guess this rules out PP for now? I have everything set up on estlcam as per the Estlcam Basics & Milling Basics on V1E setup.

Have done my crown (paper did move slightly during the drawing), here is a pic:

The only thing i can think of is maybe my bed is way out, intially during the drilling, it had a clearance plane of 2mm which did hit the surface when it moved to drill. Hence why i changed clearance to 30mm.
Maybe this is the issue why its drilling deeper? as where im probing (HOME (Xmin/Ymin) maybe a low point from approx 100mm towards Ymax and 100mm towards Xmax? But when i sit a spirit level on the bed its all reasonably level which throws me out?

Ok I think that is the problem. Xmin/Ymin is lower approx 6mm from roughly the centre of the sheet.
It sinks down approx 6mm about 200mm towards Xmax.
So I’m gonna try probe Z where it’s level. And see if that’s the issue

@Ryan so I used upcut bit, set Makita on 1 and it seems like it’s struggling to cut plywood.
Does this need to be set higher on Makita?
I found the downcut was cutting nicer except for the depth issue which I think I may have found the cause as per my last post.

It struggled and pretty much seized in one spot.
I’m going to get rid of the collet extension as I think that’s just another variable.
So will need to add another bed as per my plan to get height

1 is too low. Use 3-4, don’t go too fast, plywood is hard because of all the glue. :slightly_smiling_face:

Are your legs the same lengths? Mayne one didn’t get seated to the same depth? I hade one move when i plunged without the router on and pushed the whole x y o ut of alignment. Not sure how that would happen to a lowrider

Legs?
I know mine sometimes is temperamental.
Like if I sometimes click home on the tft. It plunges down all the way, popping the leadscrew nuts.
Not sure why it does it only sometimes, most times if I click home it does what it should. Guessing some sort of bug in the firmware.

1 Like