; Configuration file for Duet Ethernet (firmware version 1.20 or newer) ; executed by the firmware on start-up ; ; General preferences ; M111 P4 S1 ; Debugging on ; 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 RepRap firmware M555 P2 ; Set firmware compatibility to look like Marlin firmware M667 S1 ; Select CoreXY mode ; Network M550 PDBot-Duet ; Set machine name ;M551 PXXXXXXX ; Set password M540 PBE:EF:DE:AD:FE:ED ; Set MAC address M552 P192.168.0.170 S1 ; Enable network and set IP address M553 P255.255.255.0 ; Set netmask M554 P192.168.0.254 ; Set gateway M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Enable FTP M586 P2 S1 ; Enable Telnet ; Drives M569 P0 S0 ; Drive 0 goes backwards - X M569 P1 S0 ; Drive 1 goes backwards - Y M569 P2 S0 ; Drive 2 goes backwards - Z M569 P3 S0 ; Drive 3 goes backwards - Extruder ;M350 X32 Y32 Z32 E32 I1 ; Configure x32 microstepping with interpolation ;M92 X200 Y200 Z800 E2400 ; Movement Set steps per mm M350 X16 Y16 Z16 E16 I1 ; Configure x16 microstepping with interpolation M92 X100 Y100 Z400 E1200 ; Movement Set steps per mm note NO extruder setting M566 X1200 Y1200 Z120 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X6000 Y6000 Z90 E1200 ; Set maximum speeds (mm/min) M201 X500 Y500 Z200 E200 ; Set accelerations (mm/s^2) M906 X1100 Y1100 Z1100 E1100 I50 ; Set motor currents (mA) and motor idle factor in per cent M84 S90 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; Set axis minima M208 X300 Y290 Z300 S0 ; Set axis maxima ; Endstops - these are for standard standard switched X low, Y high, active low M574 X1 Y2 S0 ; Set active low endstops M558 P8 I1 R0.5 F300 X0 Y0 Z0 ; Set Z probe type to effector and the dive height + speeds G31 X0 Y0 Z-0.1 P100 ; Set Z probe trigger value, offset and trigger height M557 X10:290 Y10:280 S45 ; Define mesh grid ; Heaters ; Bed M143 H0 S150 ; Set Max temperature limit for heater 0 (Bed) to 150C M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning) M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0 (Bed) ; Hot End M143 H1 S290 ; Set Max temperature limit for heater 1 (HotEnd 1) to 290C ;M143 H2 S290 ; Set Max temperature limit for heater 1 (HotEnd 2) to 290C M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1 (Hotend 1) ;M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 2 (Hotend 2) M307 H1 A228.5 C122.8 D7.4 S1 B0 ; Set PID for heater 1 (Hotend 1) ;M307 H2 A228.5 C122.8 D7.4 S1 B0 ; Set PID for heater 1 (Hotend 2) ; Fans M106 P0 I0 F10 H-1 ; Set fan 0 (Part Cooling fan) value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 T50 H1 ; Set Fan 1 (Extruder 0 AND Board fan [in parallel]) to comes on at 50 degrees ;M106 P1 S1 T50 H2 ; Set Fan 1 (Extruder 1 fan) comes on at 50 degrees used to swap heaters ; doesn't work as expected M106 P2 S1 T45 H100:101:102 ; Set fan 2 (Duet Board) to come on full power if any driver chip reaches 55 degrees ; Case LED Lights M106 P2 S0.15 H-1 ; Set Case LED's (Fan 2) to quarter power or less when heater 1 (Extruder 0 Fan) reaches 50 degrees ; Tools M563 P0 D0 H1 F0 F1 ; Define tool 0 ; M563 P0 D0 H2 F0 F1 ; Define tool 0 temporary using heater 2 to check for faults M92 E663 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ; Automatic power saving M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from non-volatile memory T0 ; Select first tool G29 S1 ; Load & use Mesh Bed Level grid ; M404 N1.75 D0.4 ; Filament width