duet_vcore3/bed.g
2022-02-01 17:54:16 +00:00

15 lines
436 B
Plaintext

; this script compensates for what the Z offset is
; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at
; X30 Y20 (when G30 P0 X0 Y5)
M561 ; clear any bed transform
G30 P5 X65 Y0 Z-99999 ; probe near a leadscrew
G30 P1 X252.5 Y450 Z-99999 ; probe near a leadscrew
G30 P2 X450 Y0 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
M280 P0 S160 ; clear and reset BL touch
;G29 ; probe the bed and enable compensation