; Configuration file for Duet Ethernet (firmware version 3.00)
; executed by the firmware on start-up
;
; Network
M550 P"DuetTLM" ; Set machine name
;M551 P"password" ; Machine password (used for FTP)
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S0 ; Disable Telnet
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare
M665 R157 L398 B175 H525 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them
M208 Z0 S1 ; Set minimum Z
; Endstops
M574 X2 S1 P"xstop" ; X high active high endstop switch
M574 Y2 S1 P"ystop" ; Y high active high endstop switch
M574 Z2 S1 P"zstop" ; Z high active high endstop switch
; Filament Sensor
M591 D0 P1 C"e0_stop" S1 ; filament monitor connected to E0_stop
; BL-Touch
;M558 P9 X0 Y0 Z0 H3 F100 T5000 ; Set Z probe type to unmodulated and the dive height + speeds
;M307 H3 A-1 C-1 D-1 ; reserve Heater 3 Pin for M42 or servo use
M558 P9 C"^zprobe.in" H3 F100 T5000 ; BLTouch connected to Z probe IN pin
M950 S0 C"exp.heater3" ; create servo/gpio 0 on heater 3 pin on expansion connector
M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0
; Offset depending on nozzle size
; G31 P25 X0 Y-21 Z1.2 ; Set Z probe trigger value, offset and trigger height for 0.4mm Nozzle
G31 P25 X0 Y-21 Z1.208 ; Set Z probe trigger value, offset and trigger height for 0.6mm Nozzle
M557 R150 S15 ; mesh grid
; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 E32 I0 ; Configure microstepping without interpolation
M350 X32 Y32 Z32 I1 ; Configure microstepping with interpolation
M92 X160 Y160 Z160 E1607.45 ; Set steps per mm
M566 X1200 Y1200 Z1200 E3000 ; Set maximum instantaneous speed changes (mm/min)
M203 X39960 Y39960 Z39960 E3000 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E1500 ; Set accelerations (mm/s^2)
M906 X1800 Y1800 Z1800 E1500 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Heaters
M143 S285 ; Set maximum heater temperature to 285C
M308 S0 P"bed_temp" Y"thermistor" T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
;M308 S1 P"e0_temp" Y"thermistor" T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
M308 S1 P"spi.cs1" Y"rtd-max31865" ; create sensor number 1 as a PT100 sensor in the first position on the Duet 2 daughter board connector
M950 H0 C"bed_heat" T0 ; heater 0 uses the bed_heat pin, sensor 0
M950 H1 C"e0_heat" T1 ; heater 0 uses the bed_heat pin, sensor 0
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
; Tools
M563 P0 D0 H1 ; 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
; Fans
M950 F0 C"Fan0" Q500 ; Set fan 0 value, PWM signal inversion and frequency.
M950 F1 C"Fan1" Q500 ; ; Set fan 1 value, PWM signal inversion and frequency.
M106 P0 S0 H-1 ; Set fan 0 thermostatic control is turned off and switch off fan
M106 P1 H1 T45 ; Set fan 1 thermostatic control on and start Temp at 45 degree
; Custom settings are not configured
; Miscellaneous
M501 ; Load saved parameters from non-volatile memory
M575 P1 S1 B57600 ;panel
yea idk what im doing wrong everything is connected correctly