Bed tramming script

Hi All,

I have spent some time in the forums looking over the scripts people are using to compensate for bed level and this is what I have come up with for my script. It works on my MendelMax3, but I confess that I don’t understand all of it perfectly. Is there anything I’m missing or may be forgetting?

Script: (run at start of every print)

G91 ; relative positioning
G1 Z007 ; lift 7 mm to clear probe
G90 ; absolute positioning

M280 S10.6 ; Clear any BLTouch alarm
M280 S7.0 ; Force probe to known stow position
G28 ; Home XY (Not Z)

M280 S3.0 ; Deploy Probe
G32 ; Probe Bed for leveling (3-point configuration)
G1 X80 Y150 F6000; Center probe on bed
G30 Z2.2 ;Probe center and specify nozzle Z Offset
M280 S7 ; Probe Up


For the probing, I am using a BLTouch Smart. The 2.2 Z offset was found by performing a G32, centering the probe on the bed, a G30, and manually lowering the probe until paper-drag.

-Duo

Imported from wikidot

If it works, it works or is there something that goes wrong?

You need to tell us what’s wrong.