; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Aug 05 2020 11:42:30 GMT+0200 (Mitteleuropäische Sommerzeit) ; General preferences M550 P"Factory500" ; set printer name ; Blower M950 F0 C"!out4+out4.tach" C"Blower" Q25000 ; create fan 0 on pin out4 and set its frequency M106 P0 X0.40 B0 H1:2 T80 ; Chamer Fan M950 F4 C"!out5+out5.tach" A"Filter Fan" M106 P4 X0.30 B0 H0:1:2 T60 ; Power ON M81 C"pson" M80 ; switch power on G4 S4 ; wait for expansion boards to boot ; Drives M569 P0 S0 ; Drive 0.0/Z1 motor (rear left) M569 P1 S1 ; Drive 0.1/Z2 motor (rear right) M569 P2 S1 ; Drive 0.2/Z3 motor (front right) M569 P3 S0 ; Drive 0.3/Z4 motor (front left) M569 P4 S1 ; Drive 0.4/E1 motor M569 P5 S0 ; Drive 0.5/E2 motor ; Closed loop drives M569 P123.0 S0 ; X-Motor M569 P124.0 S0 ; U-Motor M569 P125.0 S0 ; Y1-Motor M569 P126.0 S1 ; Y2-Motor M569.1 P123.0 T2 C20 R125 I500 D0.1 H50 ; Configure the 1HCL board at CAN address 123 with a quadrature encoder on the motor shaft that has 20 steps per motor full step. M569.1 P124.0 T2 C20 R125 I500 D0.1 H50 ; Configure the 1HCL board at CAN address 124 with a quadrature encoder on the motor shaft that has 20 steps per motor full step. M569.1 P125.0 T2 C20 R125 I500 D0.1 H50 ; Configure the 1HCL board at CAN address 125 with a quadrature encoder on the motor shaft that has 20 steps per motor full step. M569.1 P126.0 T2 C20 R125 I500 D0.1 H50 ; Configure the 1HCL board at CAN address 126 with a quadrature encoder on the motor shaft that has 20 steps per motor full step. ; Motion System M584 X123.0 Y125.0:126.0 Z0:1:2:3 U124.0 E4:5 ; set 4 Z drivers and add one U driver -> Must come earlier than M350,M906,M92, M201, M203, M208, M350, M566, M574, M667 and M669 M350 X32 Y32 Z16 U32 E16:16 I1 ; Configure microstepping with interpolation M92 X160 Y160 Z640 U160 E400:400 ; Set steps per mm M203 X42000 Y42000 Z1800 U42000 E10000:10000; A40000 B40000 ; Set maximum speeds (mm/min) M566 X600 Y600 Z200 U600 E600:600 ; set maximum instantaneous speed changes (mm/min) M201 X30000 Y30000 Z500 U30000 E30000:30000 ;A6000 B6000 ; Set maximum accelerations (mm/s^2) M906 X2400 Y2400 Z1200 U2400 E900:900 I25 ;A300 B300 ; Set motor currents (mA) and motor idle factor in per cent M84 S5 ; Set idle timeout M917 X50 Y50 Z50 U50 ; Set holding current in percent ; Kinematics M669 K11 Y1:-1:0:-1 ; Matrix mapping for Axis - X:Y:Z:U ;M669 K11 X1:0:0:0 Y1:-1:0:-1 Z0:0:1:0 U0:0:0:1 ; Matrix mapping for Axis - X:Y:Z:U ;M669 K1 X1:0:0:0 Y1:-1:0:-1 Z0:0:1:0 U0:0:0:1 M671 X-41:495.5:495.5:-41 Y353:353:23:23 S10 ; lead screw positions and maximum allowed correction S in mm G90 ; send absolute coordinates... M83 ; ...but relative extruder moves ; Axis Limits M208 X0 Y0 Z0 U0 S1 ; set axis minima M208 X405 Y323 Z350 U405 S0 ; set axis maxima ; Endstops M574 X1 S1 P"123.io1.in" ; configure active-high endstop for low end on X via pin io1.in M574 Y2 S1 P"126.io1.in" ; configure active-high endstop for low end on Y via pin io1.in M574 U2 S1 P"124.io1.in" ; configure active-high endstop for high end on U via pin io1.in M574 Z2 S1 P"io3.in" ; configure active-high endstop for high end on Z via pin io0.in ; Z-Probe M558 P5 C"io5.in" H2 A10 S0.01 R0 F300:150 T60000 ; IR Z-Probe 1: set Z probe type and the dive height + speeds M376 H10 ; Set height (mm) over which to taper off the bed compensation (should be 20x max mesh error) G31 P500 X0 Y20 Z1.5 ; Set Z probe parameters, lower Z-value -> nozzle further down ; Bed Heater M308 S0 P"temp0" A"Bed" Y"thermistor" T100000 B3950 ; define bed temperature sensor M950 H0 C"out8" Q10 T0 ; create bed heater output on bed output and map it to sensor 0 M143 H0 S125 ; set temperature limit for heater 0 to 120C M307 H0 R0.383 K0.269:0.000 D2.81 E1.35 S1.00 B0 ; enable PWM mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 ; Hotend1 Heater M308 S1 P"temp1" A"Extruder1" Y"pt1000" R2200 ; configure sensor 1 as PT1000 on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M143 H1 S300 ; set temperature limit for heater 1 to 280C M307 H1 R2.872 K0.252:0.115 D1.45 E1.35 S1.00 B0 V23.8 ; Hotend2 Heater M308 S2 P"temp2" A"Extruder2" Y"pt1000" R2200 ; configure sensor 2 as PT1000 on pin temp2 M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2 M143 H2 S300 ; set temperature limit for heater 2 to 280C M307 H2 R2.872 K0.252:0.115 D1.45 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit ; Tools ; tool 0, X-axis M563 P0 D0 H1 X0 F1 ; tool 0 uses extruder1 and heater 1 with fan 1 as the print cooling fan M568 P0 R0 S0 ; set standby and active temperatures for tool 0 G10 P0 X0 Y0 Z0 S0 R0 ; set tool 0 offsets and temperatures M950 F1 C"out6" ; T0 Fan ; tool 1, U-axis M563 P1 D1 H2 X3 F2 ; tool 1 uses extruder2 and heater 2 with fan 2 as the print cooling fan and maps X to U M568 P1 R0 S0 ; set standby and active temperatures for tool 1 G10 P1 X0 U1.6 Y0 Z0 S0 R0 ; set tool 1 offsets and temperatures. (increase U to move nozzle to the left) M950 F2 C"out7" ; T1 Fan ; Create a tool that prints 2 copies of the object using both carriages''' ;M563 P2 D0:1 H1:2 X0:3 F1:2 S"Duplication Mode" ; tool 2 uses both extruders, hot end heaters and fans, and maps X to both X and U ;G10 P2 X0 Y0 U-205 S0 R0 ; set tool offsets and temperatures ;M567 P2 E1:1 ; set mix ratio 100% on both extruders ; Create a tool that prints 2 mirrored copies of the object using both carriages''' ;M563 P3 D0:1 H1:2 X0:3 F1:2 S"Mirror Mode" ;tool 3 uses both extruders, hot end heaters and fans, and maps X to both X and U ;G10 P3 X0 Y0 U-465 S0 R0 ; set tool offsets and temperatures ;M567 P3 E1:1 ; set mix ratio 100% on both extruders ; Temp sensors M308 S7 Y"mcu-temp" A"MCU" ; configure sensor 5 as thermistor for MCU M308 S3 P"124.temp0" Y"pt1000" R2180 A"Chamber Temp." ; Setup temp 0 on 1HCL at CAN address 50 as sensor 3 - sensing the chamber temperature M308 S4 P"temp3" A"Blower Temp." Y"thermistor" T100000 B3950 ; define bed temperature sensor ; LED lights M950 P3 C"out3" M42 P3 S1 ; Pressure Advance M572 D0:1 S0.02 ; Extruder Drive Number, Pressure advance amount ; Accelerometer ;M955 P0 C"io4.out+io4.in" I05 ; input shaping ;M593 P"none" F99 M501 ; set the active parameters to those stored in sys/config-override.g M291 P"The printer is not homed, home now?" R"Homing" S3 G28