; Configuration file for RepRapFirmware on Duet 3 Main Board 6XD
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.5.0-rc.2+3 on Thu Jan 11 2024 17:40:44 GMT+0000 (Greenwich Mean Time)
; General
M550 P"RoboC" ; set hostname
M911 S19.8 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
; Network
M551 P"sina" ; set machine password
M552 P0.0.0.0 S1 ; configure Ethernet adapter
M586 P0 S1 ; configure HTTP
; Motor Idle Current Reduction
M906 I30 ; set motor current idle factor
M84 S30 ; set motor current idle timeout
; External Drivers
M569 P0.0 S1 R0 T0.2:0.2:0.1:0 ; driver 0.0 goes forwards and requires an active-low enable signal (X axis)
M569 P0.1 S1 R0 T0.2:0.2:0.1:0 ; driver 0.1 goes forwards and requires an active-low enable signal (Y axis)
M569 P0.2 S1 R0 T0.2:0.2:0.1:0 ; driver 0.2 goes forwards and requires an active-low enable signal (Z axis)
M569 P0.3 S1 R0 T0.2:0.2:10:0 ; driver 0.3 goes forwards and requires an active-low enable signal (extruder 0)
; Axes
M584 X0.0 Y0.1 Z0.2 ; set axis mapping
M350 X128 Y128 Z128 I0 ; configure microstepping without interpolation
M92 X10240 Y10240 Z10240 ; configure steps per mm
M208 X0:600 Y0:900 Z0:300 ; set minimum and maximum axis limits
M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min)
M203 X15000 Y15000 Z15000 ; set maximum speeds (mm/min)
M201 X1250 Y1250 Z1250 ; set accelerations (mm/s^2)
; Extruders
M584 E0.3 ; set extruder mapping
M350 E128 I0 ; configure microstepping without interpolation
M92 E10240 ; configure steps per mm
M566 E120 ; set maximum instantaneous speed changes (mm/min)
M203 E15000 ; set maximum speeds (mm/min)
M201 E1250 ; set accelerations (mm/s^2)
; Kinematics
M669 K0 ; configure Cartesian kinematics
; Probes
M558 K0 P9 C"io0.in" H5 F120 T6000 ; configure BLTouch probe via slot #0
G31 P500 X0 Y0 Z0.7 ; set Z probe trigger value, offset and trigger height
M950 S0 C"io4.out" ; create servo #0 for BLtouch
; Endstops
M574 X2 P"io1.in" S1 ; configure X axis endstop
M574 Y2 P"io2.in" S1 ; configure Y axis endstop
M574 Z1 S2 ; configure Z axis endstop
; Sensors
M308 S0 P"temp0" Y"thermistor" A"Heated Bed 1" T100000 B4725 C7.06e-8 ; configure sensor #0
M308 S1 P"temp1" Y"thermistor" A"Heated Bed 2" T100000 B4725 C7.06e-8 ; configure sensor #1
M308 S2 Y"thermocouplemax31855" A"Metering Temp" ; configure sensor #2
M308 S3 Y"thermocouplemax31855" A"Compression Temp" ; configure sensor #3
M308 S4 Y"thermocouplemax31855" A"Feeding Temp" ; configure sensor #4
M308 S5 Y"thermocouplemax31855" A"Env Temp" ; configure sensor #5
; Heaters
M950 H0 C"out0" T0 ; create heater #0
M143 H0 P0 T0 C0 S110 A0 ; configure heater monitor #0 for heater #0
M307 H0 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #0
M950 H1 C"out1" T1 ; create heater #1
M143 H1 P0 T1 C0 S110 A0 ; configure heater monitor #0 for heater #1
M307 H1 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #1
M950 H2 C"out2" T2 ; create heater #2
M143 H2 P0 T1 C0 S400 A0 ; configure heater monitor #0 for heater #2
M307 H2 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #2
M950 H3 C"out3" T3 ; create heater #3
M143 H3 P0 T1 C0 S400 A0 ; configure heater monitor #0 for heater #3
M307 H3 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #3
M950 H4 C"out4" T4 ; create heater #4
M143 H4 P0 T1 C0 S400 A0 ; configure heater monitor #0 for heater #4
M307 H4 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #4
M950 H5 C"out5" T5 ; create heater #5
M143 H5 P0 T1 C0 S40 A0 ; configure heater monitor #0 for heater #5
M307 H5 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #5
; Heated beds
M140 P0 H0 ; configure heated bed #0
M140 P1 H1 ; configure heated bed #1
; Heated chambers
M141 P0 H5 ; configure heated chamber #0
; Fans
M950 F0 C"out6" ; create fan #0
M106 P0 C"Env Fan" S0 B0.1 H5 T50 ; configure fan #0
M950 F1 C"out7" ; create fan #1
M106 P1 C"Die Fan 1" S0 B0.1 H2 T45 ; configure fan #1
M950 F2 C"out8" ; create fan #2
M106 P2 C"Die Fan 2" S0 B0.1 H2 T45 ; configure fan #2
M950 F3 C"out9" ; create fan #3
M106 P3 C"Heat Sink Fan" S0 B0.1 H4 T40 ; configure fan #3
; Tools
M563 P0 S"SSE" D0 H2:4 F3 ; create tool #0
M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
T0 ; select first tool