;; system and network -------------------------------------- M550 PMunin ; hostname M552 S1 P10.0.0.6 ; start network module (must have been configured first with M587) M586 P2 S1 R23 T0 ; enable telnet M586 P1 S1 R20 T0 ; enable ftp M555 P2 ; set Marlin output mode G21 ; millimeter units G90 ; absolute tool coordinates M83 ; relative extruder coordinates ;; enable paneldue M575 P1 B57600 S1 ; Mini 12864 M918 P2 E4 R3 C100 ;; geometry ------------------------------------------------ M667 S1 ; corexy mode M208 X0 Y0 Z-3 S1 ; S1 = set axes minima M208 X252 Y251 Z235 S0 ; S0 = set axes maxima M557 X20:240 Y25:235 S20 ; configure z probing grid for mesh compensation M98 P"/macros/zprobe/use_mfast.g" M98 P"/macros/zprobe/use_ifast.g" ;; drive --------------------------------------------------- ;; Motor layout: ;; E0 E1 ;; YB XA ;; Z2 Z3 ;; Z0 Z1 M584 X0 Y1 Z5:2:4:6 E3 ; motor bindings ;;M574 X2 Y2 Z0 S1 ; endstops M574 X2 S1 P"!xstop" ; X min active low endstop switch M574 Y2 S1 P"!ystop" ; Y min active low endstop switch M574 Z1 S1 P"zstop" ; Z min active high endstop switch M671 X-65:-65:315:315 Y-10:325:325:-10 S20 ; Z leadscrews positions M569 P0 S1 ; X motor direction M569 P1 S0 ; Y motor direction M569 P2 S1 ; Z-- motor direction M569 P4 S0 ; Z+- motor direction M569 P5 S0 ; Z++ motor direction M569 P6 S1 ; Z++ motor direction M569 P3 S1 ; E0 motor direction M84 S3600 ; motor idle timeout M906 I50 ; motor idle current percentage M350 X16 Y16 Z16 E16 I1 ; set microstepping M92 X80 Y80 Z400 E425 ; set microsteps per mm ;; velocity, acceleration, and current settings are in these macros M98 P"/macros/drive/xy_fullcurrent.g" M98 P"/macros/drive/z_fullcurrent.g" M98 P"/macros/drive/e_fullcurrent.g" ;; firmware retraction ------------------------------------- ;; Choose one as your default: ;M98 P"/macros/retraction/quiet_nozhop.g ;M98 P"/macros/retraction/quiet_zhop.g M98 P"/macros/retraction/pa_nozhop.g" ;M98 P"/macros/retraction/pa_zhop.g" ;; thermal ------------------------------------------------- ;Bed M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 A"Bed"; configure sensor 0 as thermistor on pin temp0 M950 H0 C"bedheat" T0 ; create bed heater output on out0 and map it to sensor 0 M143 H0 S140 ; set temperature limit for heater 0 to 140C ;M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ;HotEnd M308 S1 P"e0temp" Y"thermistor" B4700 C7.060000e-8 A"Hotend" ; configure sensor 1 as thermistor M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M143 H1 S315 ; set temperature limit for heater 1 to 275C ;M307 H1 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit ;Chamber M308 S2 P"ctemp" Y"thermistor" T100000 B3950 A"Chamber" ;Chamber fan ;M950 H2 C"exp.heater4" T2 ;Chamber Assigned to unused Heater port to show on front page ;M141 H2 ;Assign as chamber heater ;Board M308 S3 Y"mcu-temp" A"Board" ;; M303 H1 S235 ; run autotune ;; M500 to save autotune results to config-override.g, ;; then move the heater config lines from config-override.g here. ;; (Delete them from config-override.g, or you will be confused when changing this file doesn't work.) M308 S4 P"e1temp" Y"thermistor" T100000 B3950 A"Bed2" ;PID Settings M307 H2 B1 S0.01 V23.7 ;PID for chamber set to reduce chance of faults with no heater M307 H0 A301.0 C845.3 D1.4 S1.00 V23.6 B0 M307 H1 A381.2 C189.3 D5.4 S1.00 V24.3 B0 ;M307 H1 A482.6 C291.7 D5.5 S1.00 V23.6 B0 ;V6 ;M307 H1 A395.7 C171.7 D2.3 S1.00 V23.6 B0 ; Mosquito w/ sock ;M307 H1 A703.3 C211.5 D8.3 S1.00 V24.3 B0; Dragon 50W ;Misc M912 P0 S-8 ;MCU tempurature sensor correction ;; fans ------------------------------------------------- ;Parts M950 F0 C"fan0" Q500 M106 P0 S0 B0.1 L128 C"Part" ; part fan ;Hot End M950 F1 C"fan1" Q500 M106 P1 T60 H1 C"Hotend" ; hotend fan PWMED DOWN ;Board cooling M950 F2 C"!^fan2" Q500 M106 P2 T45:60 L10 X255 F60 B1.5 H3 C"Board"; On when MCU temp (H3) reaches 45C ;H2 L180 X255 T30:50 ;M106 P2 S255 C"Board" M950 F3 C"e1heat" Q500 M106 P3 S0 C"Exhaust" ;; tools --------------------------------------------------- M563 P0 D0 H1 ; bind tool 0 to drive and heater G10 P0 X0 Y0 Z0 ; tool offset G10 P0 S0 R0 ; tool active and standby temp T0 ; activate tool 0 ;; filament sensor --------------------------------------- ;M591 D0 P3 C3 S0 R75:125 L24.8 E3.0 ; Duet3D rotating magnet sensor for extruder drive 0 is connected to E0 endstop input, enabled, sensitivity 24.8mm.rev, 85% to 115% tolerance, 3mm detection length M591 P5 C"e0stop" S1 ; Laser Filament Monitor