; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Sep 03 2020 12:19:13 GMT-0400 (Eastern Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"duet3" ; set printer name M667 S1 ; select CoreXY mode M669 K1 ; switch to CoreXY mode M80 ; enable the powersupply before relay time expires ; Network ;M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP ;M586 P0 S1 ; enable HTTP ;M586 P1 S0 ; disable FTP ;M586 P2 S1 ; enable Telnet ; Drives M584 X0.1 Y0.0 Z0.4:0.3:0.2 E121.0 ; set drive mapping M569 P0.0 S1 ; left XY drive 0.0 goes forwards M569 P0.1 S1 ; right XY drive 0.1 goes forwards M569 P0.2 S0 ; Z1 drive 0.2 goes backwards M569 P0.3 S0 ; Z2 drive 0.2 goes backwards M569 P0.4 S0 ; Z3 drive 0.2 goes backwards M569 P121.0 S1 ; extruder drive 1.0 goes forwards M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z800.00 E420.00 ; set steps per mm M203 X18000.00 Y18000.00 Z1000.00 E12000.00 ; set maximum speeds (mm/min) M201 X3000.00 Y3000.00 Z600.00 E6000.00 ; set accelerations (mm/s^2) M566 X2400.00 Y2400.00 Z120.00 E2400 ; set maximum instantaneous speed changes (jerk) (mm/min) M906 X1200 Y1200 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout //M572 D0 S0.085 ; pressure advance 0.6mm nozzle PLA M572 D0 S0.070 ; pressure advance 0.6mm nozzle PLA ; Axis Limits M208 X-22 Y-10 Z-0.2 S1 ; set axis minima M208 X320 Y315 Z300 S0 ; set axis maxima M671 X-67:368:369 Y156:8:313 S5.0 ; leadscrews at left middle, right front and right rear ; Endstops M574 Y1 S1 P"!io0.in" ; configure active-low endstop for low end on Y via pin io0.in M574 Z1 S1 P"!io1.in" ; configure active-low endstop for low end on Z via pin io1.in M574 X1 S1 P"!121.io2.in" ; configure active-low endstop for low end on X via toolboard pin io2.in ; Z-Probe M558 P8 C"!121.io0.in" H5 A2 F300 R1.0 T9000 ; set Z probe type to switch and the dive height + speeds G31 X0 Y0 Z-0.04 ; set Z probe trigger value, offset and trigger height M557 X35:285 Y35:285 S50 ; define mesh grid ; Heaters ;Heater 0 model: gain 157.2, time constant 209.1, dead time 1.7, max PWM 1.00, calibration voltage 23.9, mode PID M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 Q1 ; create bed heater output on out0 and map it to sensor 0 ;Auto tuning heater 0 completed after 10 idle and 5 tuning cycles in 836 seconds. This heater needs the following M307 command: M307 H0 B0 R0.802 C347.5 D3.62 S1.00 V23.9 ;M307 H0 B0 A157.2 C400 D4 S1.0 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"121.temp0" Y"thermistor" T100000 B3950 ; configure sensor 1 as thermistor on toolboard temp0 M308 S2 P"121.temp1" Y"thermistor" T100000 B3950 ; configure sensor 2 as thermistor on toolboard temp1 hot end heatsink temp M950 H1 C"121.out0" T1 ; nozzle heater output on toolboard out0 and map it to sensor 1 ;M307 H1 A796 C220 D5 V23.9 B0 S0.50 ; disable bang-bang mode for heater and set PWM limit ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 816 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.230 C345.6:251.3 D9.71 S1.00 V23.9 ; M303 autotune settings ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 1091 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.343 C360.8:285.7 D9.54 S0.70 V24.0 ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 836 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.314 C340.3:340.3 D9.18 S0.80 V23.9 ;M307 H1 B0 R2.436 C284.6:199.0 D7.35 S1.00 V23.9 ; Dragon hotend ;Dragon, no bed heat, 5mm height, 40 watt heater, 80% PWM ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 712 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.576 C210.7:189.1 D7.07 S0.80 V23.9 ;Dragon, bed at 70C, 5mm height, 40 watt heater, 80% PWM ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 706 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.588 C211.9:190.7 D6.95 S0.80 V23.9 ;Dragon, bed at 70C, 5mm height, 40 watt heater, 100% PWM ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 646 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.528 C205.6:186.9 D7.05 S1.00 V23.9 ;Auto tuning heater 1 completed after 3 idle and 10 tuning cycles in 653 seconds. This heater needs the following M307 command: ;M307 H1 B0 R2.276 C219.0:208.5 D7.22 S1.00 V23.9 ; Dragon hotend ;M307 H1 B0 R3.620 C258.8:254.9 D17.73 S0.7 V23.1 ; Standard E3D V6 with no part fan or silicone sock & M303 @100% power ;M307 H1 B0 R3.620 C258.8:254.9 D17.73 S0.5 V23.1 ; Standard E3D V6 with no part fan or silicone sock & M303 @100% power M307 H1 B0 R4.7 C258.8:254.9 D15.73 S0.6 V23.1 ; Standard E3D V6 with part fan no silicone sock & M303 @80% power ; Fans M950 F0 C"121.out1" Q100 ; create fan 0 (part cooling) on toolboard out1 and set its frequency 5015 fan M106 P0 S0 H-1 C"PartFan" B0.5 L0.2 ; set fan 0 value. Thermostatic control is turned off ;M950 F1 C"!121.out1" Q25000 ; create fan 0 (hot end) on toolboard out1 and set its frequency0 M950 F1 C"121.out2" Q5000 ; create fan 1 (hot end) on toolboard out2 and set its frequency 5015 fan ;M106 P1 S0 H1 L0.5 C"HotEnd" T40:45 ; set fan 1 value. Thermostatic control is turned on M106 P1 H1 T40:45 C"HotEnd" ; set fan 1 value. Thermostatic control is turned on M950 F3 C"!out4" Q25000 ; Power supply Aux Fan M106 P3 S0.55 H-1 C"PSfan" L0.2 ; set fan 3 value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 S"Dragon" ; define tool 0 M568 P0 R120 S0 A0 ; Set standby & active temps and set heater off ;M565 X0 Y0 Z0 ; define tool offset ;G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets ;G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Lighting M950 F2 C"out1" Q5000 M106 P2 S0.2 C"LEDs" ; Toolboard Buttons M950 J0 C"^!121.button0" M950 J1 C"^!121.button1" M581 T2 P0 S0 R0 M581 T3 P1 S0 R0 ; Front panel button & switch M950 J2 C"^io2.in" ; Input 2 pullup enabled - front panel switch M950 J3 C"^!io3.in" ; Input 3 inverted, pullup enabled - red button M581 T4 P2 S0 R0 M581 T5 P2 S1 R0 M581 T6 P3 S0 R0 ; Nozzle brush servo M950 S4 C"out9" M280 P4 S40 ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory 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 G4 S10 ; setup ;M140 S70 ; set the bed temperature ;G10 P0 S120 ; set the extruder temperature M98 P"0:/sys/homeall.g" ; home all axes ;M98 P"0:/macros/setup" ; Check/set standby temps & level bed M501