; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.1 on Fri Jun 05 2020 12:16:49 GMT+0200 (czas środkowoeuropejski letni) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"DUET3MK3S" ; 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 S1 ; enable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S0 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M569 P0.4 S1 ; physical drive 0.4 goes forwards M569 P0.5 S1 ; physical drive 0.2 goes forwards M584 X0.0 Y0.1 Z0.3:0.4 E0.2:0.5 ; set drive mapping M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X200.00 Y200.00 Z400.00 E830.00:830.00 ; set steps per mm M906 X1300 Y1300 Z500 E1000:1000 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S10 ; Set idle timeout M913 E100:100 ; set E motors current to 100% M566 E300.00:300.00 ; set maximum instantaneous speed changes (mm/min) M203 E6000.00:6000.00 ; set maximum speeds (mm/min) M201 E5000.00:5000.00 ; set accelerations (mm/s^2) M98 P"dynamics_normal.g" ; Axis Limits M208 X0 Y-5.5 Z0.10 S1 ; set axis minima M208 X255 Y210 Z210 S0 ; set axis maxima ; Endstops M574 X1 S3 ; configure sensorless endstop for low end on X M574 Y1 S3 ; configure sensorless endstop for low end on Y 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" H5 F300 T24000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X-23.0 Y-34.0 Z3.900 ; set Z probe trigger value, offset and trigger height M557 X0:230 Y0:175 P10:10 ; define mesh grid M671 X-39:292 Y100:100 S10 ; define position of Z lead screws for gantry auto leveling ; Temperature sensors M308 S0 P"temp0" Y"thermistor" A"Heatbed" T100000 B4092 ; configure sensor 0 as thermistor on temp0 input M308 S1 P"temp1" Y"pt1000" A"Nozzle L" ; pt1000 on temp1 input ; M308 S2 P"temp2" Y"pt1000" A"Nozzle R" ; pt1000 on temp2 input M308 S2 P"temp2" Y"thermistor" A"Nozzle R" T100000 B3950 M308 S3 P"temp3" Y"thermistor" A"Chamber" T100000 B3950 ; configure sensor 3 as thermistor on temp3 input M308 S10 Y"mcu-temp" A"MCU" ; configure sensor 10 as MCU temperature M308 S11 Y"drivers" A"TMC" ; configure sensor 11 as TMC temperature ; Heaters 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 S140 ; set temperature limit for heater 0 to 140C M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S450 ; set temperature limit for heater 1 to 450C M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S450 ; set temperature limit for heater 2 to 450C M950 H3 C"out8" T3 ; create chamber heater output on out8 and map it to sensor 3 M307 H3 B0 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit M141 P0 H3 ; map chamber to heater 3 M143 H3 S100 ; set temperature limit for heater 3 to 100C ; M143 P100 H3 X104 A2 C0 S100 ; Fans M950 F0 C"out4" Q100 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 L0.02 X1.0 H-1 C"print" ; set fan 0 value. Thermostatic control is turned off M950 F1 C"out5" Q100 ; create fan 1 on pin out8 and set its frequency M106 P1 S1 H1:2 T45 C"hotend" ; set fan 1 value. Thermostatic control is turned on M950 F2 C"!out6+out6.tach" Q25000 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 L0.40 H10:11 T40:60 C"board" ; set fan 2 value. Thermostatic control is turned on ; Tools M563 P0 S"Mosquito L" D0 H1 F0 ; define tool 0 G10 P0 X0.0 Y0.0 Z0.0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C M563 P1 S"Mosquito R" D1 H2 F0 ; define tool 1 G10 P1 X15.0 Y0.0 Z0.0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined M915 X H200 S1 F0 R0 ; set sensitivity for sensorless homing X axis M915 Y H200 S1 F0 R0 ; set sensitivity for sensorless homind Y axis ; Power switch M950 P10 C"out9" Q100 ; create output port on pin out9 and set its frequency M42 P10 S0.25 ; enable power led in switch M950 J11 C"^io7.in" ; LED Lights M950 P12 C"out7" Q500 ; create output port on pin out7 and set its frequency M98 P"lights_on.g" ; disable light by default ; Filament monitors M950 J0 C"io3.in" ; configure extruder filament sensor on io3 as IO#0 M591 D0 P3 C"io5.in" S1 L25.4 R60:140 E12.7 A0 ; configure magnetic filament monitor on io5 ; M591 D1 P3 C"io4.in" S1 L25.4 R60:140 E12.7 A0 ; configure magnetic filament monitor on io5 ; Miscellaneous M501 ; load saved parameters from non-volatile memory ; M911 S18 R20 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss ; T0 ; select first tool M575 P1 S1 B115200 M80