; Configuration file for Duet Ethernet (firmware version 1.20 or newer) ; executed by the firmware on start-up ; generated by RepRapFirmware Configuration Tool on Wed May 30 2018 19:04:08 GMT+1200 (New Zealand Standard Time) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare M667 S1 ; Select CoreXY mode M912 P0 S-0.5 ; CPU Temp adjustment to extruder PT100 ; Network M550 PSam's Printer ; Set machine name M552 P192.168.1.40 S1 ; Enable network with Static IP M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S1 F8 ; Drive 0 goes forwards X Axis M569 P1 S0 F8 ; Drive 1 goes forwards Y Axis M569 P2 S0 F10 ; Drive 2 goes forwards Z Axis FL M569 P3 S1 F10 ; Drive 3 goes forwards Z Axis RL M569 P4 S1 F10 ; Drive 4 goes forwards Z Axis RR M569 P5 S0 F10 ; Drive 5 goes forwards Z Axis FR M569 P6 S1 ; Drive 5 goes forwards Extruder ; Motor Specifications M584 X0 Y1 Z2:3:4:5 U3 V4 W5 E6 P6 ; Driver 0 For X, 1 for Y, Z=2:3:4 U3 V4, Extruder 5 M350 X16 Y16 Z16:16:16:16 U16 V16 W16 I1 ; Configure microstepping with interpolation M350 E8 ; Set Extruder to 8x Microstepping with no interpolation M92 X80 Y80 Z400:400:400:400 U400 V400 W400 E2092.4 ; Set steps per mm 81.4 2218.4 1900 2218.4 M566 X1200 Y1200 Z120:120:120:120 U120 V120 W120 E45 ; Set maximum instantaneous speed changes (mm/min) M203 X12000 Y12000 Z400:400:400:400 U400 V400 W400 E3600 ; Set maximum speeds (mm/min) M201 X3000 Y3000 Z250:250:250:250 U250 V250 W250 E150 ; Set accelerations (mm/s^2) M906 X1000 Y1000 Z1800:1800:1800:1800 U1800 V1800 W1800 E600 I60 ; Set motor currents (mA) and motor idle factor in % M84 S15 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X361.5 Y371.5 Z412 S0 ; Set axis maxima M671 X-61:-62:384:383 Y86:291:296:89 S2.5 ; Define the X and Y coordinates of the lead screw. Motor order: FL (1), RL (2), RR (3), FR (4).Snn Maximum correction in mm to apply to each leadscrew ; Endstops ;Piezo Probe M574 X1 Y1 S1 ; X home to min. Y home to max. Normally Closed limit switches. M574 Z1 S0 M558 P8 I1 R0.4 F300 X0 Y0 Z0 A5 ; digital piezo sensor, output rises on contact, probing speed, not used to home axes G31 X0 Y0 Z-0.085 P500 ; sensor is nozzle and debounce value. ; Define mesh grid M557 X0:361.5 Y0:371.5 S20 M376 H20 ; Heaters M140 H1 ; Remap heated bed to heater 1 M305 P0 X200 ; Set PT100 for Hot End M143 H0 S300 ; Set temperature limit for heater 0 to 300C ;M307 H0 A609.0 C239.9 D6 B0 ; set model parameters for heater 0 and use PID mode Heater 0 model: gain 609.0, time constant 239.9, dead time 6.0, M307 H0 A805.8 C389.3 D4.2 B0 ; Heater 0 model: gain 805.8, time constant 389.3, dead time 4.2, max PWM 1.00, calibration voltage 24.2, mode PID, inverted no, frequency default M305 P1 X201 ; Set PT100 Channel 2 to Heat Bed M143 H1 S150 ; Set temperature limit for heater 1 to 130C M307 H1 A276.9 C1121.5 D20.4 S1.00 B0 ; Set model parameters for Heat Bed 1 and use PID mode gain 276.9, time constant 1121.5, dead time 20.4 ; Part Cooling Pump M307 H2 A-1 C-1 D-1 ; Disable Heater 2 for Part Cooling M106 P4 A2 X0.5 B0 F25000 H-1 C"Part Cooling" ; Part Cooling Fan Remap to Heater 2 ; Water Cooling M305 P103 T10000 R4700 B3950 X2 S"Water Temp" ; Create Virtual Heater for Cooling Water M106 P7 H0 B1 L0.3 X0.7 T60 C"Extruder" I1 ; Water Cooling Pump Start M106 P0 H103 F25000 L.3 B.5 T30:45 C"Radiator" I1 ; Set fan 4 PWR fan. Turns on when Radiator temperature (heater 103), hits 45C and full speed when the temperature reaches 65C ;Board Cooling Fan M305 P100 X1000 S"MCU Temperature" ; Map Duet MCU to the Extra Table M305 P101 X1001 S"Duet Drivers" ; Map Duet Drivers to the Extra Table M305 P102 X1002 S"Duex2 Drivers" ; Map Duex2 Driver to the Extra Tabl M305 P104 T100000 R4700 B3950 X1 S"Control Area" ; Create Virtual Heater for Control Area M106 P1 F25000 L.3 B.5 T30:65 H100:101:102 C"Duet Fan" I1 ; Set fan 1 PWR fan. Turns on when MCU temperature, hits 45C and full when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual M106 P2 F25000 L.3 B.5 T30:40 H104 C"Control Area" I1 ; Set fan 2 PWR fan. Turns on when MCU temperature, hits 45C and full when the MCU temperature reaches 65C or if any TMC2660 drivers (virtual ; Tools M563 P0 D0 H0 F4 S"Extruder" ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ;M572 D0 S0.05 ; Pressure Advance M592 D0 A0.009541 B0.001755 ; Non Linear Extrusion M593 F65.5 ; Dynamic Acceleration Adjustment ;Filament out sensor ;M581 E3 S-1 T1 C0 ; invoke trigger 2 when a rising edge is detected on the E1 or E2 endstop input M591 D0 P3 C3 S0 R70:130 L26.26 E3.0 ; Duet3D rotating magnet sensor for extruder drive 0 is connected to E0 endstop input, enabled, sensitivity 24.8mm.rev, 70% to 130% tolerance, 3mm detection length 25.88 M591 D0 ; display filament sensor parameters for extruder drive 0 ; Automatic power saving M911 S20 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss;