This is config.g:
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Feb 27 2020 22:15:04 GMT+0100 (Central European Standard Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Phoenix3D" ; set printer name
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S1 ; enable Telnet
; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forward
M569 P3 S1 ; physical drive 3 goes forward
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z2552.00 E100.00 ; set steps per mm
;M566 X900.00 Y900.00 Z12.00 E500.00 ; set maximum instantaneous speed changes (mm/min)
M566 X1000.00 Y1000.00 Z25.00 E500.00 ; set maximum instantaneous speed changes (mm/min)
M203 X9000.00 Y9000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
;M201 X500.00 Y500.00 Z25.00 E250.00 ; set accelerations (mm/s^2)
M201 X1000.00 Y1000.00 Z25.00 E500.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E1200 I15 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Silent drives
M569 F1 P3
M569 F2 P2
M569 F2 P1
M569 F2 P0
M569 B2 P0
M569 B2 P1
M569 B2 P2
M569 B2 P3
; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X240 Y240 Z200 S0 ; set axis maxima
; Endstops
M574 X1 Y1 S1 ; set active low and enabled endstops
M574 Z1 S2 ; set endstops controlled by probe
; Z-Probe
M307 H3 A-1 C-1 D-1 ; disable heater 3 - used for probe
M558 P9 H2.5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X35 Y15 Z2.52 ; set Z probe trigger value, offset and trigger height
M557 X40:200 Y40:200 S80 ; define mesh grid
; Heaters
M305 P0 T100000 B4450 C0 R4700 ; set thermistor and ADC parameters for heatbed
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C
; Fans
M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
; Custom settings
M307 H4 A-1 C-1 D-1 ; disable heater 4 to repurpose gpio - ligths
This is homeall.g:
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Thu Feb 27 2020 22:15:04 GMT+0100 (Central European Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H1 Y-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-225 Y-225 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z-225 F360 ; move Z down stopping at the endstop
G90 ; absolute positioning
;G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning
With this configuration i cannot home all axis without an head crash. Now I'm trying to understand how to modify homeall.g in order to have an accurate calibration before the print starts.
Later, how to force the print to run a mesh leveling and apply the mesh before each print?
Regards,
Fabio