; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Aug 01 2020 21:20:25 GMT-0400 (Eastern Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Duet 3" ; set printer name M669 K1 ; select CoreXY mode ; Drives ; Dnnn 0=constant off time, 1=random off time, 2=spread cycle, 3=stealthChop or stealthChop2 M569 P0.0 S1 D2 ; Z1 physical drive goes forwards, spread cycle M569 P0.1 S1 D2 ; Z2 physical drive goes forwards, spread cycle M569 P0.2 S1 D2 ; Z3 physical drive goes forwards, spread cycle M569 P0.3 S1 D2 ; Z4 physical drive goes backwards, spread cycle M569 P0.4 S1 D2 ; X physical drive goes forwards, spread cycle M569 P0.5 S1 D2 ; Y physical drive goes forwards, spread cycle M569 P1.1 S1 D2 ; E0 physical drive goes forwards, spread cycle ; set drive mappings M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.1 ; leadscrews at front left, rear left, rear right, front right M671 X14.891:14.891:567.309:567.309 Y-44.113:466.887:466.887:-44.113 S20 ; configure microstepping with interpolation M350 X16 Y16 Z1 E16 I1 ; set steps per mm M92 X160.00 Y160.00 Z200.00 E344 ; set maximum instantaneous speed changes (jerk) (mm/min) M566 X500.00 Y500.00 Z50.00 E3000.00 ; set maximum speeds (mm/min) M203 X30000.00 Y30000.00 Z1200.00 E180000.00 ; set accelerations (mm/s^2) M201 X10000.00 Y10000.00 Z100.00 E5000.00 ; set motor currents (mA) and motor idle factor in percent M906 X1500 Y1500 Z1500 E1300 I80 ; Set idle timeout M84 S30 ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X515 Y515 Z540 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io1.in" ; configure active-high endstop for low end on X via pin io0.in M574 Y1 S1 P"io0.in" ; configure active-high endstop for low end on Y via pin 121.io2.in M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"io4.out" ; create servo pin 0 for BLTouch M558 P9 C"io4.in" H10 A5 S0.005 F100 T10000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X43.00 Y-24 Z1.75 ; set Z probe trigger value, offset and trigger height M557 X40:480 Y40:450 S55:51.2 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; 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 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S105 ; set temperature limit for heater 0 to 100C M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin 121.temp0 M950 H1 C"out1" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit ; Fans M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency M106 P0 C"PART COOLING" S0 H-1 ; set fan 0 name and value. Thermostatic control is turned off M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency M106 P1 C"AQUA" S1 H1 T45 ; set fan 1 name and value. Thermostatic control is turned on ; Tools M563 P0 S"Hotend" D0 H1 F0 ; define tool 0 G10 P0 X-3 Y24 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; set voltage thresholds and actions to run on power loss M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; select first tool T0 ; pressure advance M572 D0 S0.046 ; Firmware retraction M207 D0 S0.8 F1800 Z0.1 R0 ; Dynamic acceleration. Cancel ringing at 31.48Hz M593 F27.59 ; Use config override M501