; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; Created By James Doglio February 3, 2023 ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"JADO 2023 Voron 2.4r2" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; X Y E Drives M569 P0 S1 ; AM (X) physical drive 0 goes forwards M569 P1 S1 ; BM (Y) physical drive 1 goes forwards ; Z-Drives ; ----------+----------- ; |Motor Z1 Motor Z2 Driver 3 | Driver 4 | ; ----+----------------- ; |Motor Z0 Motor Z3 Driver 2 | Driver 5 | ; ----------+----------- ; Front M569 P2 S1 ; Z0 physical driver 2 goes forwards M569 P3 S0 ; Z1 physical driver 3 goes backwards M569 P4 S1 ; Z2 physical driver 4 goes forwards M569 P5 S0 ; Z2 physical drive 5 goes backwards ;Extruder M569 P6 S0 ; Extruder (E0) physical driver 6 goes forwards M584 X0 Y1 Z2:3:4:5 E6 ; set drive mapping M906 X800 Y800 Z800 E1200 I10 ; set motor currents (mA) and motor idle factor in per cent M84 S60 ; Set idle timeout M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400 E690.00 ; set steps per mm ;M564 H0 ;REMOVE WHEN DONE ; velocity, acceleration, and current settings are in these macros ; Not usd relates to pressure advance and may add functionality later See GitHub Desktop Repository RRF-Klicky Probe for all files ;M98 P"/macros/drive/xy_fullcurrent.g" ;M98 P"/macros/drive/z_fullcurrent.g" ;M98 P"/macros/drive/e_fullcurrent.g" M566 X220.00 Y220.00 Z300.00 E800.00 ; set maximum instantaneous speed changes (mm/min) ; set maximum instantaneous speed changes (mm/min) M203 X45000.00 Y45000.00 Z8000 E7200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z1000 E4000.00 ; set accelerations (mm/s^2) ; geometry ------------------------------------------------ M669 K1 ; corexy mode M208 S1 X-5 Y0 Z-0.5 ; S1 = set axes minima M208 S0 X350 Y350 Z330 ; S0 = set axes maxima ; Endstops M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in M574 Z1 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin io2.in ; Z-Probe M558 P5 C"^io3.in" H5 A10 S0.01 F600;120 T6000 ; set Z probe type to KLICKY and the dive height + speeds G31 P500 X-2.5 Y30 Z0 ; set Z probe trigger value, offset and trigger height M671 X-45:-45:405:405 Y15:445:445:15 S20 ;Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Rear, Snn Maximum correction to apply to each leadscrew S20 mm spacing M557 X15:335 Y15:335 S64 ; define mesh grid ; Bed Heater M308 S0 P"temp1" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin temp1 M950 H0 C"out2" T0 ; create bed heater output on out2 and map it to sensor 0 M307 H0 R0.937 K2.341:0.000 D4.25 E1.35 S1.00 B0 ; 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 ; Hot End Heater M308 S1 P"temp0" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin temp0 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 ;M140 P1 H1 ;map hot end heater to heater 1 M143 H1 S300 ; set temperature limit for heater 1 to 300C ; Chamber Heater M950 F3 C"out0" Q500 ; create fan 1 on pin out4 and set its frequency ;M307 H0 R0.937 K2.341:0.000 D4.25 E1.35 S1.00 B0 M106 P3 S0 H-1 ; set fan 1 value. Thermostatic control is turned on ;M308 S2 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp2 ;M950 H2 C"out0" T2 ; create chamber heater output on out0 and map it to sensor 2 ;M307 H2 B1 ; enable bang-bang mode for the chamber heater and set PWM limit ;M141 P0 H2 ; map chamber to heater 2 ;M143 H0 S160 ; set temperature limit for heater 2 to 160C ; Parts Cooling Fan M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off ;Hot End Cooling Fan M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on ;Case Cooling Fan for Electronics M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off ; Accelerometer (To Be Added Later) ;M955 P121.0 I05 ; toolboard mounted right side of toolhead VIN up OUT0 forward ; LED Lights ;M950 F3 C"neopixel" ;Define LED Connection M150 X1 Q3000000 ; set LED type to NeoPixel and set SPI frequency to 3MHz M150 R255 P128 S20 F1 ; set first 20 LEDs to red, half brightness, more commands for the strip follow M150 U255 B255 P255 S20 ; set next 20 LEDs to cyan, full brightness, finished programming strip ; 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 ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S10 R11 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