; Default config.g template for DuetPi ; Replace this with a proper configuration file (e.g from https://configtool.reprapfirmware.org) ; Display initial welcome message ; M291 P"Please go to this page for further instructions on how to set it up." R"Welcome to your new Duet 3!" S1 T0 ; Activate first SSR M80 ; Turns on the ATX power supply ; Setup PanelDue M575 P1 S1 B57600 ; Setup network M552 P0.0.0.0 S1 ; DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; ; BLV specific setting ; G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"BLV mgn Cube XL V3.x" ; set printer name M584 X0 Y1 Z2:3:4 E5 ; set drive mapping three Z-Axis, one Extruders M669 K1 ; Select CoreXY mode - New format ; Drives M569 P0 S1 D3 ; physical drive 0 goes forwards M569 P1 S1 D3 ; physical drive 1 goes forwards M569 P2 S1 D3 ; physical drive 2 goes forwards M569 P3 S1 D3 ; physical drive 3 goes forwards M569 P4 S1 D3 ; physical drive 4 goes forwards M569 P5 S1 D3 ; physical drive 5 goes forwards M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X159.434584899 Y159.434584899 Z400 E411.34 ; set steps per mm M566 X600.0 Y600.0 Z24.0 E300.0 ; Set maximum instantaneous speed changes (Jerk) (mm/min) M203 X20000.00 Y20000.00 Z600.00 E4000.00 ; set maximum speeds (mm/min) M201 X3000.00 Y3000.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X1700 Y1700 Z1700 E600 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Set up Stealthcop Parameters ;M569 P0 V40 H5 ;M569 P1 V40 H5 ;M569 P2 V40 H5 ;M569 P3 V40 H5 ;M569 P4 V40 H5 ;M569 P5 V40 H5 M915 X Y Z E T1 ; Pressure Advance ;M572 D0 S0.05 ; Set pressure advance to offset elasticity ; Dynamic Acceleration Adjustment ; M593 F20 ; Axis Limits X:530, Y:525, Z:630 (depends on bed height and steps/mm ; Koordinaten roh: X:530 / Y: 525 ; 0/0 liegt bei 15/11 M208 X-15 Y-13 Z0 S1 ; set axis minima M208 X515 Y515 Z600 S0 ; set axis maxima ; LeadScrews 1-Left, 2-RightFront, 3-RightBack ;M671 X-67:565:565 Y252:9:486 S50 M671 X-35:535:535 Y250:10:490 S50 ; Endstops M574 X1 S1 P"io1.in" ; configure active-low endstop for low end on X via pin xstop M574 Y2 S1 P"io2.in" ; configure active-low endstop for high end on Y via pin ystop M574 Z1 S2 ; BL-Touch for Z ; Z-Probe M950 S0 C"io7.out" ; create servo pin 0 for BLTouch M558 P9 C"io7.in" H5 F120 T15000 ; set Z probe type to bltouch and the dive height + speeds ;M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0 G31 P50 X-45 Y-13 Z1.71 ; Set Z probe trigger value, offset and trigger height M557 X5:515 Y4:514 P20 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on bedheat and map it to sensor 0 M140 H0 ; map bed heater, after M950, before M143 M143 H0 S120 ; set temperature limit for heater 0 to 120C ; Also in config-override ;M307 H0 A149.9 C474.8 D1.0 V24.4 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M307 H0 R0.499 C640.779:640.779 D1.50 S1.00 V24.5 B0 M308 S1 P"temp1" Y"thermistor" T100000 B4725 C0.0000000706 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"out1" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Also in config-override ;M307 H1 A240.6 C112.9 D2.5 V24.4 B0 S1.00 ; disable bang-bang mode for the nozzle heater and set PWM limit M307 H1 R1.959 C175.327:138.190 D4.84 S1.00 V24.4 B0 ; Fans M950 F0 C"out4" 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"out5" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T35 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 S"E3DV6" 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 ; Filament Out M591 D0 P1 C"io3.in" S1 ; filament monitor connected to E0_stop, Tool 1 ;M591 D1 P1 C"e1_stop" S1 ; filament monitor connected to E1_stop, Tool 2 ; Custom settings are not defined ; Miscellaneous M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; using config-override.g M501