Fix bed and homing coordinates, add calibrate thermal probes, etc
This commit is contained in:
parent
96e4e47894
commit
6eec0b6c4a
8
bed.g
8
bed.g
|
@ -1,12 +1,12 @@
|
||||||
; this script compensates for what the Z offset is
|
; 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
|
; so if G31 P500 X-30 Y-15 Z1.7 then first probe will be at
|
||||||
; X30 Y20 (when G30 P0 X0 Y5)
|
; X30 Y20 (when G30 P0 X0 Y5)
|
||||||
|
|
||||||
M561 ; clear any bed transform
|
M561 ; clear any bed transform
|
||||||
|
|
||||||
G30 P0 X50 Y450 Z-99999 ; probe near a leadscrew
|
G30 P0 X0 Y500 Z-99999 ; probe near a leadscrew
|
||||||
G30 P1 X250 Y50 Z-99999 ; probe near a leadscrew
|
G30 P1 X250 Y0 Z-99999 ; probe near a leadscrew
|
||||||
G30 P2 X450 Y450 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
|
G30 P2 X500 Y500 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
|
||||||
|
|
||||||
G29 ; probe the bed and enable compensation
|
G29 ; probe the bed and enable compensation
|
||||||
|
|
||||||
|
|
30
config.g
30
config.g
|
@ -1,12 +1,11 @@
|
||||||
; Configuration file for Duet 3 (firmware version 3)
|
; Configuration file for Duet 3 (firmware version 3)
|
||||||
; executed by the firmware on start-up
|
; executed by the firmware on start-up
|
||||||
;
|
;
|
||||||
; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 26 2021 19:44:39 GMT+0000 (Coordinated Universal Time)
|
|
||||||
|
|
||||||
; General preferences
|
; General preferences
|
||||||
G90 ; send absolute coordinates...
|
G90 ; send absolute coordinates...
|
||||||
M83 ; ...but relative extruder moves
|
M83 ; ...but relative extruder moves
|
||||||
M550 P"Duet3" ; set printer name
|
M550 P"vcore3" ; set printer name fqdn: vcore3.int.lgx.io
|
||||||
M669 K1 ; select CoreXY mode
|
M669 K1 ; select CoreXY mode
|
||||||
|
|
||||||
; Drives
|
; Drives
|
||||||
|
@ -22,13 +21,13 @@ M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpola
|
||||||
M92 X160.00 Y160.00 Z1600.00 E873.08 ; set steps per mm
|
M92 X160.00 Y160.00 Z1600.00 E873.08 ; set steps per mm
|
||||||
M566 X400.00 Y400.00 Z6.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
|
M566 X400.00 Y400.00 Z6.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
|
||||||
M203 X10800.00 Y10800.00 Z1000.00 E1600.00 ; set maximum speeds (mm/min)
|
M203 X10800.00 Y10800.00 Z1000.00 E1600.00 ; set maximum speeds (mm/min)
|
||||||
M201 X3000.00 Y3000.00 Z100.00 E3600.00 ; set accelerations (mm/s^2)
|
M201 X3000.00 Y3000.00 Z100.00 E3600.00 ; set accelerations (mm/s^2)
|
||||||
M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
|
M906 X1200 Y1200 Z1200 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
|
||||||
M84 S30 ; Set idle timeout
|
M84 S30 ; Set idle timeout
|
||||||
|
|
||||||
; Axis Limits
|
; Axis Limits
|
||||||
M208 X15 Y15 Z0 S1 ; set axis minima
|
M208 X0 Y0 Z0 S1 ; set axis minima
|
||||||
M208 X500 Y500 Z500 S0 ; set axis maxima
|
M208 X510 Y500 Z500 S0 ; set axis maxima
|
||||||
|
|
||||||
; Endstops
|
; Endstops
|
||||||
M574 X1 S1 P"io2.in" ; configure active-high endstop
|
M574 X1 S1 P"io2.in" ; configure active-high endstop
|
||||||
|
@ -37,26 +36,33 @@ M574 Y1 S1 P"io1.in" ; configure active-high endst
|
||||||
|
|
||||||
; Z-Probe
|
; Z-Probe
|
||||||
M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
|
M950 S0 C"io7.out" ; create servo pin 0 for BLTouch
|
||||||
M558 P9 C"^io7.in" H3 F180 T12000 ; set Z probe type to bltouch and the dive height + speeds
|
M558 P9 C"^io7.in" H3 F500 T12000 ; set Z probe type to bltouch and the dive height + speeds
|
||||||
G31 P500 X-28 Y-13 Z0.9 ; set Z probe trigger value, offset and trigger height
|
G31 P500 X-28 Y15 Z0.9 ; set Z probe trigger value, offset and trigger height
|
||||||
M557 X50:500 Y50:500 S50 ; define mesh grid
|
|
||||||
|
M671 X-4.5:250:504.5 Y504.52:-5:504.52 S5 ; define positions of Z leadscrews or bed levelling screws
|
||||||
|
M557 X0:500 Y0:500 P5 ; define 5x5 mesh grid
|
||||||
|
|
||||||
; Heaters
|
; Heaters
|
||||||
M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed" ; configure sensor 0 as thermistor on pin temp0
|
;; BED
|
||||||
|
M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed"; configure sensor 0 as thermistor on pin temp0
|
||||||
M950 H0 C"out1" T0 ; create bed heater output on out1 and map it to sensor 0
|
M950 H0 C"out1" T0 ; create bed heater output on out1 and map it to sensor 0
|
||||||
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
|
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
|
||||||
M140 H0 ; map heated bed to heater 0
|
M140 H0 ; map heated bed to heater 0
|
||||||
M143 H0 S120 ; set temperature limit for heater 0 to 120C
|
M143 H0 S120 ; set temperature limit for heater 0 to 120C
|
||||||
M308 S1 P"temp1" Y"thermistor" T100000 B4138 A"Hotend" ; configure sensor 1 as thermistor on pin temp1
|
M307 H0 A303.1 C356.7 D1.4 S1.00 V24.0 B0 ; PID tune for "Bed"
|
||||||
|
|
||||||
|
;; HotEnd
|
||||||
|
M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend" ; configure sensor 1 as thermistor on pin temp1
|
||||||
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
|
M950 H1 C"out2" T1 ; create nozzle heater output on out2 and map it to sensor 1
|
||||||
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
|
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
|
||||||
M143 H1 S280 ; set temperature limit for heater 1 to 280C
|
M143 H1 S280 ; set temperature limit for heater 1 to 280C
|
||||||
|
M307 H1 A751.5 C196.6 D4.7 S1.00 V23.9 B0 ; run PID tune for Hotend
|
||||||
|
|
||||||
; Fans
|
; Fans
|
||||||
M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
|
M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
|
||||||
M106 P0 C"Hotend fan" S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on
|
M106 P0 C"Hotend fan" S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on
|
||||||
M950 F1 C"out4" ; create fan 1 on pin out4
|
M950 F1 C"out4" ; create fan 1 on pin out4
|
||||||
M106 P1 C"Layer fan" S1 ;;H-1 ; set fan 1 value. Thermostatic control is turned off
|
M106 P1 C"Layer fan" S1 H-1 ; set fan 1 value. Thermostatic control is turned off
|
||||||
|
|
||||||
; Tools
|
; Tools
|
||||||
M563 P0 D0 H1 F0:1 ; define tool 0
|
M563 P0 D0 H1 F0:1 ; define tool 0
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
|
|
||||||
G91 ; relative positioning
|
G91 ; relative positioning
|
||||||
G1 H2 Z5 F6000 ; lift Z relative to current position
|
G1 H2 Z5 F6000 ; lift Z relative to current position
|
||||||
G1 H1 X-625 Y605 F3600 ; move quickly to X and U axis endstops and stop there (first pass)
|
G1 H1 X-625 Y-605 F3600 ; move quickly to X and U axis endstops and stop there (first pass)
|
||||||
G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
||||||
G1 H1 Y-605 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
G1 H1 Y-605 F1800 ; move quickly to X and U axis endstops and stop there (first pass)
|
||||||
G1 H2 X5 Y-5 F6000 ; go back a few mm
|
G1 H2 X5 Y5 F6000 ; go back a few mm
|
||||||
G1 H1 X-625 Y605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
G1 H1 X-625 Y-605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
||||||
G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass)
|
G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass)
|
||||||
G1 H1 Y-605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
G1 H1 Y-605 F360 ; move slowly to X and U axis endstops once more (second pass)
|
||||||
|
|
||||||
|
|
7
homex.g
7
homex.g
|
@ -3,11 +3,10 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
G91 ; relative positioning
|
G91 ; relative positioning
|
||||||
;G1 H2 Z5 F6000 ; lift Z relative to current position
|
G1 H2 Z2 F10800 ; lift Z relative to current position
|
||||||
G1 H1 X-625 F1800 ; move quickly to X axis endstop and stop there (first pass)
|
G1 H1 X-625 F1800 ; move quickly to X axis endstop and stop there (first pass)
|
||||||
G1 H2 X5 F6000 ; go back a few mm
|
G1 H2 X5 F6000 ; go back a few mm
|
||||||
G1 H1 X-625 F360 ; move slowly to X axis endstop once more (second pass)
|
G1 H1 X-625 F360 ; move slowly to X axis endstop once more (second pass)
|
||||||
;G1 H2 Z-5 F6000 ; lower Z again
|
G1 H2 Z-2 F10800 ; lower Z again
|
||||||
G90 ; absolute positioning
|
G90 ; absolute positioning
|
||||||
|
G1 X10 F6000 ; move forward 10mm
|
||||||
G1 X0 F6000
|
|
||||||
|
|
9
homey.g
9
homey.g
|
@ -3,11 +3,10 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
G91 ; relative positioning
|
G91 ; relative positioning
|
||||||
;G1 H2 Z5 F6000 ; lift Z relative to current position
|
G1 H2 Z2 F10800 ; lift Z relative to current position
|
||||||
G1 H1 Y-605 F1800 ; move quickly to Y axis endstop and stop there (first pass)
|
G1 H1 Y-605 F1800 ; move quickly to Y axis endstop and stop there (first pass)
|
||||||
G1 Y-5 F6000 ; go back a few mm
|
G1 Y-5 F6000 ; go back a few mm
|
||||||
G1 H1 Y-605 F360 ; move slowly to Y axis endstop once more (second pass)
|
G1 H1 Y-605 F360 ; move slowly to Y axis endstop once more (second pass)
|
||||||
;G1 H2 Z-5 F6000 ; lower Z again
|
G1 H2 Z-2 F10800 ; lower Z again
|
||||||
G90 ; absolute positioning
|
G90 ; absolute positioning
|
||||||
|
G1 Y10 F6000 ; move forward 10 mm
|
||||||
G1 Y0 F6000
|
|
||||||
|
|
10
homez.g
10
homez.g
|
@ -3,13 +3,13 @@
|
||||||
;
|
;
|
||||||
|
|
||||||
G91 ; relative positioning
|
G91 ; relative positioning
|
||||||
G1 H2 Z5 F6000 ; lift Z relative to current position
|
G1 H2 Z5 F10800 ; lift Z relative to current position
|
||||||
G90 ; absolute positioning
|
G90 ; absolute positioning
|
||||||
G1 X250 Y250 F10000 ; go to first probe point
|
G1 X250 Y250 F10800 ; go to first probe point
|
||||||
G30 ; home Z by probing the bed
|
G30 ; home Z by probing the bed
|
||||||
|
|
||||||
; Uncomment the following lines to lift Z after probing
|
; Uncomment the following lines to lift Z after probing
|
||||||
;G91 ; relative positioning
|
G91 ; relative positioning
|
||||||
;G1 Z5 F100 ; lift Z relative to current position
|
G1 Z5 F100 ; lift Z relative to current position
|
||||||
;G90 ; absolute positioning
|
G90 ; absolute positioning
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
; retractprobe.g
|
; retractprobe.g
|
||||||
; called to retract a physical Z probe
|
; called to retract a physical Z probe
|
||||||
;
|
;
|
||||||
; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 26 2021 19:44:39 GMT+0000 (Coordinated Universal Time)
|
|
||||||
M280 P0 S90 ; retract BLTouch
|
M280 P0 S90 ; retract BLTouch
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user