; Configuration file for Duet 3 (firmware version 3.3) ; executed by the firmware on start-up ; ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Voron2" ; set printer name M669 K1 ; select CoreXY mode ; Configure Drives M569 P0.1 S1 ; physical drive 0.0 goes forwards - A M569 P0.0 S1 ; physical drive 0.1 goes forwards - B M569 P0.2 S0 ; physical drive 0.0 goes backwards - Z0 M569 P0.3 S1 ; physical drive 0.1 goes forwards - Z1 M569 P0.4 S0 ; physical drive 0.2 goes backwards - Z2 M569 P0.5 S1 ; physical drive 0.3 goes forwards - Z3 M569 P1.0 S0 ; physical drive 1.0 goes backwards - Extruder ; set drive mappings X, Y, Z M584 X0.0 M584 Y0.1 M584 Z0.2:0.3:0.4:0.5 M584 E1.0 ; set drive mapping E (extruder on 3HC) M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm NOTE: put before M350 so doesn't need to be changed with change in micro-stepping M350 X32 Y32 Z32 E32 I1 ; configure microstepping with interpolation M906 X800 Y800 Z800 E600 I75 ; set motor currents (mA) and motor idle factor in percent M566 X1200.00 Y1200.00 Z1200.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X12000.00 Y12000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z1000.00 E500.00 ; set accelerations (mm/s^2) M84 S10 ; Set idle timeout ; Axis Limits ; Z Motor Layout ; ----------- X-Y (A-B) Homing Position ; Z1 | Z2 ; -----+----- ; Z0 | Z3 ; 0,0 ----------- ; Front ; Define positions of Z motors M671 X0:0:300:300 Y0:300:300:0 S10 ; leadscrews at Front left, Rear left, Rear right and Front right, ; S - Maximum error allowed before system rejects, Note Motor Connections MUST Match M208 X0:325 Y0:300 Z0:325 ; set axis minima:maxima M557 X10:290 Y10:290 P5 ; define G29 mesh probe grid ; Probes, Endstops, Fans and Lights ; Z-Probe M558 P1 C"!^io6.in" H25 F1000:500 T6000 R1 A5 S0.03 ; Z probe type to unmodulated, dive height, speeds (F & T), pause 1 sec, probe upto 5 times with 0.03 difference G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height ; Endstops M574 X2 S1 P"^io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin ^io1.in M574 Y2 S1 P"^io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ^io2.in ; Heaters ; Bed M308 S0 P"temp0" Y"thermistor" A"Bed" T127000 B4438 C0 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 R0.393 C1267.6 D43.81 S1.00 V23.7 ; PID Tuning (M303 H0 P1 S100) disable bang-bang mode for heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C ; Extruder M308 S1 P"1.temp0" Y"thermistor" A"Extruder" T100000 B4267 C7.060000e-8; configure sensor 1 as thermistor on pin 1.temp0 M950 H1 C"1.out0" T1 ; create nozzle heater output on 1.out0 and map it to sensor 1 ;M307 H1 R4.327 K0.523:0.000 D2.93 E1.35 S1.00 B0 V24.1 ; PID Tuning (M303 H1 P1 S250) disable bang-bang mode for heater and set PWM limit M307 H1 R3.346 K0.374:0.000 D2.76 E1.35 S1.00 B0 V24.2 ; PID Tuning (M303 H1 P1 S250) disable bang-bang mode for heater and set PWM limit M143 H1 S300 ; set temperature limit for heater 1 to 300C ; Fan - Part Cooler M950 F0 C"1.out6" Q250 ; create fan 0 on pin 1.out6 and set its frequency M106 P0 S0 H-1 C" " ; set fan 0 value. Thermostatic control is turned off ; Fan - Extruder Cooler M950 F1 C"1.out7" Q250 ; create fan 1 on pin 1.out7 and set its frequency M106 P1 S255 H1 T45 C" " ; set fan 1 value. Thermostatic control is turned on ; Fans - Lower Case Fans (4 Off, run in parralel) M950 F2 C"1.out3" Q250 T1 ; Create fan 2 on pin 1.out3 for Lower case Fans M106 P2 S0 H1 T45 C"Case Fans" ; Set Lower Case Fans (Fan 2) to thermoststic control using same Hotend Cooler probe ; Fan - External Filter Fan M950 F3 C"out8" Q250 T1 ; Create fan 3 for Filter Fan M106 P3 S255 H1 T45 C"Filter Fan" ; Set External Case Fan (Fan 3) to thermoststic control using same Hotend Cooler probe ; Case Lights - Uses Out 4 M950 F4 C"out4" Q500 ; Create fan 4 for case lights M106 P4 S0 C"Case Lights" ; Case LED's (Fan 4) set to off ; Tools M563 P0 S"E3d_Revo" D0 H1 F0:1 ; define tool 0 T0 ; select first tool G10 L2 P1 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Miscellaneous Custom settings M575 P1 B57600 S1 ; enable support for PanelDue by setting Port / Port speed G31 P500 Z-0.30 ; set Z off-set M501 ; Allow Updates using M500