Last active
July 26, 2021 17:46
-
-
Save jrsphoto/b167a90f4d4cfe559a6ee13bb9729c09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Configuration file for Duet WiFi (firmware version 3) | |
; executed by the firmware on start-up | |
; | |
; generated by RepRapFirmware Configuration Tool v2.1.5 on Wed Jan 08 2020 16:01:30 GMT-0800 (Pacific Standard Time) | |
; General preferences | |
G90 ; send absolute coordinates... | |
M83 ; ...but relative extruder moves | |
M550 P"Ender3" ; set printer name | |
; Network | |
M551 P"ender" ; set password | |
M552 S1 ; enable network | |
M586 P0 S1 ; enable HTTP | |
M586 P1 S0 ; disable FTP | |
M586 P2 S0 ; disable 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 backwards | |
M569 P3 S0 ; physical drive 3 goes forwards | |
M584 X0 Y1 Z2 E3 ; set drive mapping | |
M92 X80.00 Y80.00 Z397.44 E811.62 ; set steps per mm | |
M566 X900.00 Y900.00 Z24.00 E180.00 ; set maximum instantaneous speed changes (mm/min) | |
M203 X7000.00 Y7000.00 Z5000.00 E500.00 ; set maximum speeds (mm/min) | |
M201 X500.00 Y500.00 Z150.00 E350.00 ; set accelerations (mm/s^2) | |
M906 X900 Y900 Z900 E900 I60 ; set motor currents (mA) and motor idle factor in per cent | |
M84 S40 ; Set idle timeout | |
M350 X16 Y16 Z16 E16 I1 ; configure microstepping without interpolation | |
;M350 E16 I1 ; configure microstepping with interpolation | |
; Axis Limits | |
M208 X0 Y0 Z0 S1 ; set axis minima | |
M208 X230 Y210 Z200 S0 ; set axis maxima | |
; Endstops | |
M574 X1 S0 P"xstop" ; configure active-low endstop for low end on X via pin xstop | |
M574 Y1 S0 P"ystop" ; configure active-low endstop for low end on Y via pin ystop | |
M574 Z1 S2 ; configure Z-probe endstop for low end on Z | |
M950 H3 C"nil" ; Disable heaters h3-h7 to free up pins | |
M950 H4 C"nil" | |
M950 H5 C"nil" | |
M950 H6 C"nil" | |
M950 H7 C"nil" | |
; Z-Probe | |
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch | |
M558 P9 C"^zprobe.in" H6 F200 T2000 ; set Z probe type to bltouch and the dive height + speeds | |
; | |
; Bed Height Adjustments here | |
; | |
G31 P500 X-41.2 Y-10.32 Z1.515 ; set Z probe trigger value, offset and trigger height | |
;G31 P9 X-41.2 Y-10.32 Z1.298 ; Creality 3.85mm Glass Bed 0.525 1.213 with .32mm builttak surface | |
M557 X45:193 Y30:193 S32 ; S32 = 40 points S20 = 72 points define mesh grid | |
; Heaters | |
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 A"BedTemp" ; 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 | |
M143 H0 S120 ; set temperature limit for heater 0 to 120C | |
M307 H0 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit | |
M307 H0 A129.9 C531.9 D0.3 S1.00 V24.0 B0 ; PID Auto tune values | |
; | |
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 A"Extrdr" ; configure sensor 1 as thermistor on pin e0temp | |
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 280C | |
M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit | |
M307 H1 A417.9 C139.9 D3.9 S1.00 V24.1 B0 ; PID Auto tune values | |
; Sensors for thermal fans | |
M308 S3 Y"mcu-temp" A"MCUTemp" ; configure sensor 3 as thermistor on pin mcu-temp for Duet 2 | |
; | |
; Fans | |
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency | |
M106 P0 C"Part" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off | |
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency | |
M106 P1 C"Extruder" S1 H1 T60 ; set fan 1 name and value. Thermostatic control is turned on | |
; Thermal fan on drivers sensor | |
M308 S2 Y"drivers" A"Drivers" ; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet 2 | |
M950 F2 C"fan2" Q100 ; create fan 2 on pin fan2 and set its frequency | |
M106 P2 H2:4 L0.0 X0.05 B0.5 T45:55 C"DrvTemp" ; set fan 2 value and connect to sensor 2. Turn on at 50% if Driver temp reaches 45C, increase to full speed gradually as the temp rises to 55C | |
; Tools | |
M563 P0 S"MicroSwiss" 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 are not defined | |
; Miscellaneous | |
T0 ; select first tool | |
G28 ; Home on boot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment