duet_vcore3/bed.g

15 lines
438 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 P0 X20 Y20 Z-99999 ; probe near a leadscrew
G30 P1 X252.5 Y480 Z-99999 ; probe near a leadscrew
G30 P2 X480 Y20 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