; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Sep 20 2020 12:57:54 GMT+0200 (Central European Summer Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"BLV mgn Cube" ; set printer name
M669 K1 ; select CoreXY mode
; Network
M552 S1 ; Enable network
M587 S"Bill Wi, the Science Fi" P"sjn8nmdvFyF9" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
; Drives
M569 P0 S1 ; Drive 0 goes backwards blv: its was S1
M569 P1 S1 ; Drive 1 goes backwards blv: its was S1
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes backwards
M584 X0 Y1 Z2:4 E3 ; Multiple Z; define Drive for Z
M671 X-56.0:373.0 Y171.0:171.0 S5.0 ; Multiple Z; define position of leadscrew for probing Z
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X100 Y100 Z400 E830 ; Set steps per mm for Bondtech.
M566 X400 Y400 Z24 E2000 ; Set maximum instantaneous speed changes (Jerk) (mm/min)
M203 X18000 Y18000 Z800 E2000 ; Set maximum speeds (mm/min)
M201 X3000 Y3000 Z100 E5000 ; Set accelerations (mm/s^2)
M906 X2000 Y2000 Z750 E750 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Pressure advance
M572 D0 S0.05 ; disabled Pressure advance
; Axis Limits
M208 X-23 Y0 S1 ; Set axis minima
M208 X310 Y324 Z360 S0 ; Set axis max
; Endstops
M574 X1 S1 P"xstop" ; Set active high endstops edit: Y endstop is high(max).
M574 Y2 S1 P"ystop" ; Set active high endstops edit: Y endstop is high(max).
M574 Z1 S2 ; Set endstops controlled by probe
; Filament sensor
;591 D0 P1 C3 S1 ; Set Filament sensor Simple type (High) for extruder drive 0, connected to endstop input 3 (E0)
; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in"H5 F500 T9000 A5 B0
G31 P25 X36.47 Y-4 Z1.308 ; Set Z probe trigger value, offset and trigger height
M557 X30:270 Y30:270 S40 ; Define mesh grid
; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 R4700 B3950 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 A116.2 C224.5 D5.5 B0 S1 ; Set PID for heated bed values
M140 H0
;M305 P0 T100000 B4092 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 100C
M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M143 H1 S280 ; Set temperature limit for heater 1 to 260C
; Fans
M950 F0 C"fan0" Q500
M106 P0 S0 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M950 F1 C"fan1" Q500
M106 P1 S1 H1 T50 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M950 P2 C"fan2" @500
M106 P2 S2 H1 T50 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
; Tools
M563 P0 D0 H1 ; 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
; Automatic power saving
M911 S21 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue
; Custom settings are not configured
M564 H0 ; Let the Jog buttons work blv: added to allow jog buttons