SM2 Bed Leveling

I’am maybe dumb but it doesn’t change any value at all @Tone @parachvte
Please help me !

you used M420. you have to use M421

Oh !! I’m dumb lmao
I did copy the previous command from @parachvte
Will try now thanks !!
Can anyone tell me if this calibration point IX JX are good match from my testing ?

Yes, that’s fine, although I would just order them like:
789
456
123

Corresponding to the row numbers.
Where did you get those row numbers?

NO! Wait, I think you have I & J switched. I is the X row, J is the Y column.

“M420 V” is the command used to DISPLAY the leveling data.

2 Likes

I think no, I will have to check Firmware code to see if a command is supported.
We think about composing a reference manual in our website.

Did you turn off the bed leveling compensation? M420 V also shows if “BED LEVELING” is on or off as you can see from the image I posted above.

M420 S1 to turn on it. Or G28 (Home) will turn it on our dev told me.

Hum okay…
One more question If i’m too low and my curent value is for example Z4.000 are we agree that my next value will be Z4.250 ? Look like for me is the oposite effect

1 Like

:fearful:

What start G-Code do I need to use on Cura when Fast Calibration and auto calibration is disabled ?

Yeah, I checked that out because the Marlin docs say G28 turns OFF leveling by default.
Does your custom code turn it back on because G28 leaves leveling on with the SM.

to keep a record:

I would include a G28 (home) to be safe and though it may not be necessary, a “M420 S1” Which makes sure leveling is on, otherwise it may try to print 4mm lower or whatever values are in your leveling matrix.

Are you doing manual leveling with a glass bed and double checking them? I wrote a nice little routine for checking the leveling points. I can post it if you’re interested.

How thick is your bed?

Yes I’m doing a manual calibration with my glass bed. It’s a 2mm thickness

What range of values are you getting in the leveling matrix? (M503)

I am doing manual leveling. Using the normal bed, but I’d like to go e your code a try. I really don’t trust the calibration. It seems seriously off even manual. Maybe because that overrun or whatever you called it. Where going up doesn’t go as far as it should.

Here is my level checking code. It’s fairly simple. Let me describe it.
The “G42” command lets you move to the specified leveling grid point.
It goes down to Z.1, the thickness of the test card, pauses for 2 seconds, goes back up and
then repeats for every point. It does move around fairly quickly which can be concerning. If you want to start off slower, you can change the F6000’s to “F3000”.

Just follow the head around with the test card and you should get the same resistance check at every point if you level is good.

; Check Bed Grid Level
; ONLY RUN IF YOU’RE CONFIDENT THE BED SHOULD BE LEVEL

;Start GCode begin
G28 ;home
M420s1 ;make sure leveling is active
G0G90 Z10 F3000
; Point 1
G42I0J0 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 2
G42I1J0 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 3
G42I2J0 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 4
G42I2J1 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 5
G42I1J1 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 6
G42I0J1 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 7
G42I0J2 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 8
G42I1J2 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; Point 9
G42I2J2 F6000
G1 Z0.1 F100
G4 S2; Pause 2 second
G0 Z2 F6000
; END
G0 X0 F6000
G0 Z225 F6000
M400
;End of Gcode

Save it to a text file with a name ending in “.gcode”. I named mine “Check Level.gcode”
Let me know what your results are. I have a version of this that works with a dial indicator and I have tweaked my leveling grid to perfection. With it I can get to .01mm at every point.

4 Likes

My glass is 3/16" and my probe points as reported by M503 are in the 8.000 to 8.500mm range of Z. Oh and I should include that I have a sheet of 0.5mm between the heated bed and the glass

That sounds about right for 3/16" glass.

Your file helped me a lot !! Manual calibration doesn’t work at all !! I needed to calibrate all the 9 points using only your file

1 Like

I found that Manual calibration seemed to work for the back row of test points but not the front two rows. Although I think I did end up tweaking points everywhere when I got my dial indicator involved. I’m planning on releasing the model & code routines for the indicator version. I think its hard to get any closer than .05mm without a dial indicator. I may also try doing my own manual calibration gcode

3 Likes