; Configuration file for Duet Maestro (firmware version 1.21) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v2 on Sun May 05 2019 17:25:17 GMT-0600 (Central Standard Time) ; https://github.com/x0rtrunks/Ender3DuetMaestroConfigs/blob/master/config.g ; ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 3 Pro" ; set printer name ;M918 P1 E4 ; Enable 12864 LCD with 1 menu item per encoder click M918 P1 E4 F2000000 ; configure direct-connect display ; Network M551 P"" ; Set password M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S0 ; Drive 0 (X) goes backwards M569 P1 S0 ; Drive 1 (Y) goes backwards M569 P2 S1 ; Drive 2 (Z) goes forwards M569 P3 S0 ; Drive 3 (E) goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E128 I1 ; Configure microstepping with interpolation M92 X80 Y80 Z400 E776 ; Set steps per mm ;M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation ;M92 X80 Y80 Z400 E97 ; Set steps per mm - Z400 for stock Z screw ;M92 X80 Y80 Z1600 E97 ; Set steps per mm - Z1600 for upgraded Z screw ;M350 X32 Y32 E128 I1 ; Set steps per mm for the extruder to x128 (776 steps per mm) and X and Y to x32 (160 steps per mm) M566 X1200 Y1200 Z24 E300 ; set maximum instantaneous speed changes (mm/min) M203 X9000 Y9000 Z180 E6000 ; set maximum speeds (mm/min) M201 X500 Y500 Z100 E5000 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E1000 I50 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ;M566 X600 Y600 Z60 E300 ; Set maximum instantaneous speed changes (mm/min) ;M203 X9000 Y9000 Z600 E6000 ; Set maximum speeds (mm/min) ;M201 X500 Y500 Z120 E5000 ; Set accelerations (mm/s^2) ;M906 X800 Y800 Z800 E900 I30 ; Set motor currents (mA) and motor idle factor in per cent ;M84 S30 ; Set idle timeout ;M566 X800 Y800 Z60 E3000 P1 ; Set maximum instantaneous speed changes (mm/min) ;M203 X12000 Y12000 Z900 E6000 ; Set maximum speeds (mm/min) ;M201 X6000 Y6000 Z200 E5000 ; Set accelerations (mm/s^2) ;M204 P600 T2000 ; Set accelerations (mm/s^2) for print and travel moves ;M906 X700 Y700 Z700 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent ;M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X235 Y235 Z260 S0 ; Set axis maxima ; Endstops M574 X1 Y1 Z1 S1 ; set active high endstops ;M574 X1 Y1 S1 ; Set active high endstops ;M574 X1 Y1 Z2 S1 ; Set active high endstops ; Z-Probe M574 Z1 S2 ; Set endstops controlled by probe ;M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds ;M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved M558 P9 H5 F120 T6000 A10 S0.03 B1 R0.5 ; BLTouch Z probe settings M557 X15:215 Y15:195 S20 ; define mesh grid ;M557 X10:220 Y10:220 S20 ; Define mesh grid - 2020-03-27 ;M557 X5:190 Y5:215 S10 ; Define mesh grid G31 P500 X-45.4 Y-12.0 Z1.8 ; Set BLTouch offsets ... + to bring nozzle closer to the bed ; Heaters M305 P0 T100000 B4092 R2200 ; set thermistor + ADC parameters for heater 0 M143 H0 S150 ; set temperature limit for heater 0 to 150C M305 P1 T100000 B4092 R2200 ; set thermistor + ADC parameters for heater 1 M143 H1 S275 ; set temperature limit for heater 1 to 275C ;M305 P0 T98801 B4185 R2200 ; Set thermistor + ADC parameters for heater 0 ;M143 H0 S80 ; Set temperature limit for heater 0 to 80C ;M305 P1 T98801 B4185 R2200 ; Set thermistor + ADC parameters for heater 1 ;M143 H1 S250 ; Set temperature limit for heater 1 to 250C ; Fans ;M106 P0 S0 I0 F20 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off ;M106 P1 S0 I0 F20 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ;M106 P2 S0 I0 F20 H1:0 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ;M106 P0 S0 I0 H-1 B0.5 F60 L0.25 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off ;M106 P1 S0 I0 H1 T45 L1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on ;M106 P2 S0 I0 H1:0:100:101:102 T25 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on 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 M106 P2 S1 I0 F500 H1:0 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools ;M563 P0 S"Hotend" D0 H1 ; Define tool 0 M563 P0 S"Hotend" 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 ; Pressure Advance M572 D0 S0.35 ; Retraction M207 S6.5 R0.0 F4800 T4800 Z0.0 ; M207: Set retract length ; Parameters ; Snnn positive length to retract, in mm ; Rnnn positive or negative additional length to un-retract, in mm, default zero ; Fnnn retraction feedrate, in mm/min ; Tnnn feedrate for un-retraction if different from retraction, mm/min (RepRapFirmware 1.16 and later only) ; Znnn additional zlift/hop ; Example: M207 S4.0 F2400 Z0.075 ; FEEDRATE CONVERSIONS ; 3mm/s = F180 ; 20mm/s = F1200 ; 35mm/s = F2100 ; 50mm/s = F3000 ; 70mm/s = F4200 ; 100mm/s = F6000 ; 120mm/s = F7200 ; 133mm/s = F8000 ; 150mm/s = F9000 ; Automatic power saving M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings M912 P0 S-13 ; CPU temperature calibration ; Miscellaneous M501 ; Load saved parameters from non-volatile memory T0 ; Select first tool ; BLTouch startup G4 S2 ; Pause a couple seconds M280 P64 S160 ; Clear any alarms G4 S2 ; Pause a couple seconds M402 ; retract pin just in case ; Startup Tune ; G4 S10 M98 P"0:/macros/Other/Tunes/Startup.g"