; Configuration file for Duet 3 Mini 5+ (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Sun Jun 11 2023 19:08:55 GMT+0300 (Eastern European Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"voron" ; set printer name M669 K1 ; select CoreXY mode ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S1 ; disable FTP M586 P2 S0 ; disable Telnet G4 S5 ; wait for expansion boards to start ; Drives ; --- Z Drive map --- ; B_______A ; | 1 | 2 | ; | ----- | ; | 0 | 3 | ; ------- ; front ; ; (looking at the printer from the top) M569 P0.5 S1 ; physical drive 0.5 goes forwards M569 P0.6 S1 ; physical drive 0.6 goes forwards M569 P0.1 S1 ; physical drive 0.1 goes forwards M569 P0.2 S0 ; physical drive 0.2 goes backwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M569 P0.4 S0 ; physical drive 0.4 goes backwards M569 P124.0 S1 ; physical drive on rrf36 goes forward ; Note that A is assigned to Y !! ; (as per CoreXY standard A is Left side not right as in Voron Doc...) M584 X0.5 Y0.6 Z0.1:0.2:0.3:0.4 ; set drive mapping M584 E124.0 ; extruder on rrf36 M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 ; set steps per mm for axis M92 E691 ; set steps per mm for extruder M566 X600.00 Y600.00 Z300.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M201 X3000.00 Y3000.00 Z400.00 E2000.00 ; set accelerations (mm/s^2) M203 X18000.00 Y18000.00 Z3000.00 E5000.00 ; set maximum speeds (mm/min) M204 P4000 T6000 ; Set printing acceleration and travel accelerations M906 X1000 Y1000 Z800 I30 ; set motor currents (mA) and motor idle factor in per cent M906 E1100 I20 ; set motor currents (mA) and motor idle factor in per cent for extruder M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X300 Y300 Z280 S0 ; set axis maxima ; Endstops M574 X2 S1 P"124.temp0" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io2.in on SHT36 M574 Y2 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io2.in ; Z endstop is replaced with voron tap ;M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Bed leveling using multiple motors ;M671 X-54:-54:354:354 Y-2:369:369:-2 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) M671 X-65:-65:365:365 Y0:395:395:0 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) ; Z-Probe M558 P8 C"^124.io0.in" H8 F120 T6000 ; set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z-1.415 K0 ; set Z probe trigger value, offset and trigger height M557 X15:285 Y15:285 S20 ; define mesh grid M376 H6 ; taper off compensation over 6 mm height ; Heaters M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 Q10 ; 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 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"124.max31865cs" Y"rtd-max31865" F50 R430 W2 ; configure sensor 1 as PT1000 on max31865 pinon SHT36 M950 H1 C"124.out0" T1 ; create nozzle heater output on out0 on SHT36 and map it to sensor 1 M307 H1 B0 S0.60 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"124.out2" Q500 ; create fan 0 on pin out2 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"124.out1" Q250 ; create fan 1 on pin out1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"out3+out3.tach" ; create fan 2 on pin out3 (12v) with tacho M950 F3 C"out4+out4.tach" ; create fan 3 on pin out4 (12v) with tacho ; electronic bay fans are managed by daemon.g ; Tools M563 P0 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 ; Screen M575 P1 S1 B57600 ; enable support for PanelDue ;M918 P2 E-4 F2000000 ; Fysetc 12864mini ;M950 E1 C"io3.out" T1 U3 ; create a RGB Neopixel LED strip with 3 LEDs on the Duet 3 Mini 5+ 12864_EXP1 header ;M150 E1 R128 U128 B128 P128 S1 F1 ; display led white ; neopixels are inverted - R for green, U for red ;M150 E1 R255 U0 B0 P128 S2 F0 ; both encoder leds green ; Neopixels on SHT36 M950 E0 C"124.rgbled" T1 ; RGB neopixel on SHT36 M150 E0 R255 U255 B192 P96 S1 F1 ; mild yellow on main M150 E0 R255 U255 B192 P150 S2 F0 ; blueish on right bottom ; Extras M308 S2 P"124.temp1" Y"thermistor" A"Chamber Temperature" T100000 B4092 R430 ; RRF336 on-board thermistor ; Accelerometer and IS M955 P124.0 I16 ; The first digit specifies which machine direction the Z axis of the accelerometer chip ; (usually the top face of the chip) faces, as follows: 0 = +X, 1 = +Y, 2 = +Z, 4 = -X, 5 = -Y, 6 = -Z. ; The second digit expresses which direction the X axis of the accelerometer chip faces, using the same code. M593 P"ei2" F49 ; Use ei2 centered around 49hz ; Pressure advance M572 D0 S0.02 ; pressure advance to be adjusted in filament g-code ; Custom settings M98 P"globals.g" ; initialize global variables ; Filament Sensor M950 J1 C"^124.io1.in" ; define logical input for filament auto load M581 P1 T3 S1 R0 ; define trigger for filament auto load triggers trigger3.g M581 P1 T2 S0 R0 ; define trigger for filament sensing triggers trigger2.g M950 J2 C"^124.io2.in" ; define logical input for filament unload ;M581 P2 T4 S1 R0 ; define trigger for filament auto unload triggers trigger4.g ; Miscellaneous M501 ; load saved parameters from non-volatile memory