; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; Created By James Doglio February 20, 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 S1 ; 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 E710.00 ; set steps per mm ; Not usd relates to pressure advance and will add functionality later See GitHub Desktop Repository RRF-Klicky Probe for all files ; velocity, acceleration, and current settings are in these macros ;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) 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 X0 Y0 Z0.0 ; set axis minima M208 S0 X350 Y350 Z315 ; S0 = set axes maxima ; Endstops M574 X2 S1 P"io6.in" ; conf X endstop as micro switch (S1) pin io6.in (P) for active low/bed maxima (X2) M574 Y2 S1 P"io1.in" ; conf Y endstop as micro switch (S1) pin io1.in (P) for active low/bed maxima (Y2) ;M574 Z1 S1 P"io2.in" ; conf Z endstop as micro switch (S1) pin io2.in (P) for active low/bed minima (Z1) ; ; Z-Probe M558 P5 C"^io3.in" H5 A10 S0.01 F600;120 T6000 ; set Z probe type to KLICKY (P5) on pins IO_3.in and the dive height (H5) ; Max probe attempt 10 (A10) Accurrcy 0.01 (S(0.01) speed 600 mm/sec (F600) G31 P500 X0 Y0 Z0 ; set x (x0) and Y (Y22) nozzle offsets set Z probe trigger height (Z5.98) M671 X-45:-45:425:425 Y15:445:445:15 S20 ; Define Z belts locations (Front_Left (X-45,Y13), Back_Left (X-45,Y445), ; Back_Right (X405,Y445), Front_Right (X405,Y15), Max corr apply leadscrew 20 mm (S20) M557 X25:325 Y25:325 S50 ; define mesh grid (X50,Y50 to X300,Y300) Probe ever 50mm in X and Y dir ; Bed Heater M308 S0 A"Bed Heater" P"temp0" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out2" T0 ; create bed heater output on out2 and map it to sensor 0 M307 H0 R0.468 K0.220:0.000 D5.93 E1.35 S1.00 B0 ; Config heater 1 (H0), DISABLE BANG-BANG (B0), heating rate (R2.341) ; Cooling rate in degC/sec (K2.341:0.000), dead time (D4.25), max PWM (S1) M140 P0 H0 ; bed heater 0 uses heater 0 M143 H0 S120 ; set max temperature for bed heater (H0) to 120C (S120) ; Hot End Heater M308 A"Hot End" S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 R4.595 K0.681:0.000 D3.63 E1.35 S1.00 B0 V23.8 ; config heater 1 (H1), DISABLE BANG-BANG (B0), heating rate (R4.724) Cooling rate (K1.037) M143 H1 S300 ; set temperature limit for heater 1 (H1) to 300C (S300) ;Chamber Thermistor M308 S3 A"Chamber" P"temp2" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2 ;;;Chamber Heater ;;;M950 H2 C"out0" T2 ; create chamber heater output on out0 and map it to sensor 2 ;;;M307 H2 B1 S1.00 ; enable bang-bang mode for the chamber heater and set PWM limit ;;;M141 H2 ; map chamber to heater 2 ;;;M143 H2 S140 ; set temperature limit for heater 2 to 140C ;Chamber Fans/Heaters M950 F4 C"out0" Q500 ; create chamber heater output on out0 and map it to sensor 2 M106 P4 C"Chamber Heater Fans" ; set fan 4 (F4) as Chamber Heater Fans Blow under bed for added chamber heating) ; Parts Cooling Fan M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency Q500 M106 P0 S0 C"Parts Cooling" H-1 ; set fan 0 (P0) value. Thermostatic control is turned off (H-1) ;Hot End Cooling Fan M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency Q500 M106 P1 C"Hot End Fan" S1.0 H1 T45 ; set fan 1 (P0) value set fan speed to 100% (S1) ; set thermostatic control on (H1) set fan to turn on if Hot End is over 45C (T45) ;Case Cooling Fan for Electronics M950 F2 C"out5" Q500 ; create fan 2 (P2) on pin out5 and set its frequency Q500 M106 P2 C"Case Cooling Fan" S1.0 H-1 ; set fan 2 (P2) value set fan speed to 100% (S1) Thermostatic control is turned off ;Fan 3 used to control hour meter M950 F3 C"out6" ; create fan 2 (P2) on pin out5 and set its frequency Q500 M106 P3 C"Hour Meter" S0.0 H-1 ; set fan 2 (P2) value set fan speed to 100% (S1) Thermostatic control is turned off ;Filter Fan for Chamber ;M950 F3 C"out6" Q500 ; create fan 2 (P2) on pin out5 and set its frequency Q500 (Currently diverted to Hour Meter) ;M106 P3 C"Chamber Filter Fan" S0.0 H-1 ; set fan 2 (P2) value set fan speed to 100% (S1) Thermostatic control is turned off ; Accelerometer (To Be Added Later) ;M955 P121.0 I05 ; toolboard mounted right side of toolhead VIN up OUT0 forward ;Filament Sensor ;M591 D0 P4 C"io5.in" S1 ; Enable (S1) magnetic filament sensor (P4) to Stop extruder (D0) on pins (IO_5) if magnetic filament sensor detects a jam or run out ; LED Lights M150 X3 w255 P255 ; LED driver X sets type of LED's X3=RGBW W =Color "White" 255 P255 max bright ; Tools M563 P0 D0 H1 F1 ; tool 0 uses extruder 0, heater 1 and fan 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures (R0) to 0C and Active Temp (S0) 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