; Configuration file for Duet Maestro (firmware version 3) ; General preferences G90 ; absolute coordinates M83 ; relative extruder M550 P"Maestro86" ; set printer name ; 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 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes backwards M569 P0 D2 ;D3 V468 ; X Stealthchop2 till about 10 mm/sec M569 P1 D2 ;D3 V468 ; Y Stealthchop2 till about 10 mm/sec M569 P2 D3 V40 ; Z Stealthchop2 till about 46.9 mm/sec M569 P3 D2 ; Extruder in Spreadcyle M584 X1 Y0 Z2 E3 ; set drive mapping M92 X159.93 Y159.75 Z400.00 E510 ; set steps per mm M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M201 X5000.00 Y5000.00 Z230.00 E10000.00 ; Max accelerations (mm/s^2) M203 X12000.00 Y12000.00 Z2100.00 E2400.00 ; Max speeds (mm/min) M204 P2660 T5000 ; Accelerations (mm/s^2) ;M205 X12 Y12 Z3 E4.5 ; Maximum jerk rates (mm/s) M566 X720 Y720 Z180.0 E270 P1 ; Maximum jerk rates (mm/min) M593 F0 ;F57.6 ; dynamic accel cancel 0 hz M572 D0 S0 ; Pressure Advance M906 X1300 Y1300 Z1400 E1200 I50 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X195 Y193 Z220 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin !xstop M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin !ystop ; Z-Probe M574 Z1 S2 ; Set endstops controlled by probe ;M558 P9 C"^zprobe.in" H5 F300 T6000 ; set Z probe type to bltouch and the dive height + speeds M558 P5 C"^zprobe.in" H5 F500 T6000 A1 M950 S0 C"zprobe.mod" ; create servo pin 0 for BLTouch G31 P25 X20 Y-7.33 Z2.17 ; set Z probe trigger value, offset and trigger height ;X14 Y-18.5 Z2.13 ;X12 Y-18.0 Z2.37 M557 X12:200 Y0:169.2 S18.8 ; define mesh grid M376 H1.5 ; mesh taper ;Accelerometer M955 P0 C"twck0+twd0" R12 ; Heaters M308 S0 P"spi.cs1" Y"rtd-max31865" ; configure sensor 0 as a PT100 sensor in the first position on the Duet 2 daughter board connector M950 H0 C"bedheat" T0 ; create bed heater output on bedheat 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 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"pt1000" ;T100000 B4725 C7.06e-8 ; configure sensor 1 as PT1000 on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M143 H1 S240 ; set temperature limit for heater 1 to 250C M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M308 S2 Y"drivers" A"DRIVERS" ; configure sensor 2 as temperature warning and overheat flags on the TMC2660 on Duet M308 S3 Y"mcu-temp" A"MCU" ; configure sensor 3 as thermistor on pin e1temp for left stepper ; Heater model parameters (M307 H0 A126.9 C671.6 D1.2 S1.00 V23.0 B0)(OLD) (M307 H0 R0.208 C788.4 D2.44 S1.00 V24.3) M307 H0 R0.194 C896.8 D2.07 S1.00 V24.3 (M307 H1 A374.7 C132.0 D4.4 S1.00 V24.3 B0)(OLD) M307 H1 R2.523 C231.0:134.5 D5.90 S1.00 V24.3 ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T40 B1.5 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" ;Q800 ; create fan 2 on pin fan2 and set its frequency M106 P2 H1:2:3 L1 X1 T53 ; set fan 2 value ; Tools M563 P0 S"E0" D0 H1 F0 ; 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 M595 P40 ; Custom settings are not defined ; Miscellaneous T0 ; select first tool ;M501 ; Load config-override.g