; Configuration file for Duet 3 5+ Mini ; ; Created By James Doglio January 22, 2024 ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"JADO 2023 Voron 2.4r2" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; X Y E Drives M569 P0 S1 ; AM (X) physical drive 0 goes forwards M569 P1 S1 ; BM (Y) physical drive 1 goes forwards ; Z-Drives ; ----------+----------- ; |Motor Z1 Motor Z2 ; Driver 3 | Driver 4 | ; ----+----------------- ; |Motor Z0 Motor Z3 ; Driver 2 | Driver 5 | ; ----------+----------- ; Front M569 P2 S1 ; Z0 physical driver 2 goes forwards M569 P3 S0 ; Z1 physical driver 3 goes backwards M569 P4 S1 ; Z2 physical driver 4 goes forwards M569 P5 S0 ; Z2 physical drive 5 goes backwards ;Extruder M569 P6 S1 ; Extruder (E0) physical driver 6 goes forwards M584 X0 Y1 Z2:3:4:5 E6 ; set drive mapping M906 X800 Y800 Z800 E1200 I10 ; set motor currents (mA) and motor idle factor in per cent M84 S60 ; Set idle timeout M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400 E710.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E8000.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z3000 E15000 ; set maximum speeds (mm/min) M201 X2000.00 Y2000.00 Z350.00 E1800.00 ; set accelerations (mm/s^2) M204 P12000 T12000 ;M204 P1500 T2000 ; set printing acceleration and travel acceleration ; geometry ------------------------------------------------ M669 K1 ; corexy mode M208 S1 X0 Y0 Z0.0 ; set axis minima M208 S0 X350 Y350 Z315 ; S0 = set axes maxima ; Endstops M574 X2 S1 P"io6.in" ; conf X endstop as micro switch (S1) pin io6.in (P) for active low/bed maxima (X2) M574 Y2 S1 P"io1.in" ; conf Y endstop as micro switch (S1) pin io1.in (P) for active low/bed maxima (Y2) ; Z-Probe M558 P5 C"^io2.in" H10 A10 S0.005 F1200:150 T18000 ; set Z probe type to switch type for Voron Tap (P5) on pins IO_2.in and the dive height (H10) ; Max probe attempt 10 (A10) Accurrcy 0.005 (S0.005) speed 1200 mm/sec then 150mm/s(F1200:150) G31 X0.0 Y0.0 Z6.18 ; set x (x0) and Y (Y0) nozzle offsets set Z probe trigger height (set at Z-0.20, also Z-0.25 is closer to the bed than Z-0.37) M671 X-45:-45:425:425 Y15:445:445:15 S20 ; Define Z belts locations (Front_Left (X-45,Y13), Back_Left (X-45,Y445), ; Back_Right (X405,Y445), Front_Right (X405,Y15), Max corr apply leadscrew 20 mm (S20) M557 X15:325 Y15:295 P5:5 ; define mesh grid (X25,Y25 to X325,Y285) (P5:5) Probe 5 points in X and Y dir ; Bed Heater M308 S0 A"Bed Heater" P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out2 and map it to sensor 0 M307 H0 R0.414 K0.213:0.000 D8.18 E1.35 S1.00 B0 ; Config heater 1 (H0), DISABLE BANG-BANG (B0), heating rate (R2.341) ; Cooling rate in degC/sec (K2.341:0.000), dead time (D4.25), max PWM (S1) M140 P0 H0 ; bed heater 0 uses heater 0 M143 H0 S120 ; set max temperature for bed heater (H0) to 120C (S120) ; Hot End Heater M308 A"Hot End" S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 R4.596 K0.537:0.000 D2.99 E1.35 S1.00 B0 V23.8 ; config heater 1 (H1), DISABLE BANG-BANG (B0), heating rate (R4.724) Cooling rate (K1.037) M143 H1 S300 ; set temperature limit for heater 1 (H1) to 300C (S300) ;Chamber Thermistor M308 S3 A"Chamber" P"temp2" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2 ; Parts Cooling Fan M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency Q500 M106 P0 S0 C"Parts Cooling" H-1 ; set fan 0 (P0) value. Thermostatic control is turned off (H-1) ;Hot End Cooling Fan M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency Q500 M106 P1 C"Hot End Fan" S1.0 H1 T45 ; set fan 1 (P0) value set fan speed to 100% (S1) ; set thermostatic control on (H1) set fan to turn on if Hot End is over 45C (T45) ;Case Cooling Fan for Electronics M950 F2 C"out5" Q500 ; create fan 2 (P2) on pin out5 and set its frequency Q500 M106 P2 C"Case Cooling Fan" S1.0 H-1 ; set fan 2 (P2) value set fan speed to 100% (S1) Thermostatic control is turned off ;Fan 3 used to control hour meter M950 F3 C"out6" ; create fan 2 (P2) on pin out5 and set its frequency Q500 M106 P3 C"Hour Meter" S0 H-1 ; set fan 2 (P2) value set fan speed to 100% (S1) Thermostatic control is turned off Filter Fan for Chamber M950 F3 C"out6" Q500 ; create fan 2 (P2) on pin out5 and set its frequency Q500 (Currently diverted to Hour Meter) M106 P3 C"Chamber Filter Fan" S0.0 H-1 ; set fan 2 (P2) value set fan speed to 100% (S1) Thermostatic control is turned off ;Accelerometer ;M955 P0 C"spi.cs2+spi.cs1" I24 ; toolboard mounted left side of toolhead +Z up (2) -X(4) M593 P"zvdd" F65 ; input shaping using zvdd P"zvdd" profile at 65Hz (F65) ;Pressure Advnce M572 D0 S0.05 ;pressure advance for extruder drive 0 (D0) with a starting pressure os 0.025 (S0.025) ;Filament Sensor (To Be Added Later) ;M591 D0 P4 C"io5.in" S1 ; Enable (S1) magnetic filament sensor (P4) to Stop extruder (D0) on pins (IO_5) if magnetic filament sensor detects a jam or run out ; LED Lights M950 E0 C"Neopixel" T2 ; create a RGBW Neopixel LED strip on the LED port (RRF 3.5 and later) M150 X3 w255 P255 ; LED driver X sets type of LED's X3=RGBW W =Color "White" 255 P255 max bright ; Tools M563 P0 D0 H1 F1 ; tool 0 uses extruder 0, heater 1 and fan 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures (R0) to 0C and Active Temp (S0) to 0C ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from config-override.g M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool