; 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-34" ; 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 M584 X0.0 ; set drive mapping X M584 Y0.1 ; set drive mapping Y M584 Z0.2:0.3:0.4:0.5 ; set drive mapping Z 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 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M906 X800 Y800 Z800 E1200 I30 ; set motor currents (mA) and motor idle factor in percent M566 X900.00 Y900.00 Z900.00:900.00:900.00:900.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z6000.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 M208 X0:320 Y0:300 Z0:300 ; set axis minima:maxima ; M557 X5:295 Y5:295 S58:58 ; define mesh grid M557 X5:295 Y5:295 P3 ; define G29 mesh probe grid ; Probes, Endstops, Fans and Lights ; Z-Probe M558 P1 C"!^io6.in" H10 F500 R1 A3 S0.03 T5000 ; set Z probe type to unmodulated and the dive height, speeds, pause inter point travel speed 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 M574 Z1 S2 ; Configure Z to use Probe ; 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" T103000 B4728 C7.06e-8 ; configure sensor 1 as thermistor on pin 1.temp0 - ORIGINAL M308 S1 P"1.temp0" Y"thermistor" A"Extruder" T100000 B4725 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 B0 R1.845 C299.0 D7.96 S1.00 V24.1 ; PID Tuning (M303 H1 P1 S250) disable bang-bang mode for heater and set PWM limit - ORIGINAL 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 M143 H1 S300 ; set temperature limit for heater 1 to 300C ; Fan - Part Cooler M950 F0 C"1.out6" Q100 ; 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.05 ; 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 ; Define positions of Z motors M671 X-80:-80:380:380 Y-70:390:390:-70 S5 ; leadscrews at Front left, Rear left, Rear right and Front right, ; S - Maximum error allowed before system rejects, Note Motor Connections MUST Match