; Configuration file for Duet Ethernet (firmware version 2.01) ; executed by the firmware on start-up ; ; 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 M208 X0 Y-21 Z0 S1 ; Set axis minima M208 X305 Y291 Z247 ; Set axis maxim ; Endstops M574 X1 Y1 S1 ; Set active low endstops M574 Z1 S2 ; Z PROBE LOW END M558 P9 H5 F100 T2000 ; BL TOUCH PROBE TYPE G31 X0 Y12 Z2.01; PROBE OFFSET M557 X52:300 Y60:335 S40 ; Define mesh grid M307 H7 A-1 C-1 D-1 ;DISABLE HEATER 7 FOR SERVO ; Drives M569 P5 S1 R1 T5 ; Drive 0 goes forwards M569 P6 S2 R1 T5 ; Drive 1 goes forwards M569 P7 S1 R1 T5 ; Drive 2 goes forwards M569 P8 S1 R1 T5 ; Drive 3 goes forwards M584 X5 Y6 Z7 E8:9:10 ; Apply custom drive mapping M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation M92 X80 Y100 Z4800 E100; Set steps per mm M566 X300 Y300 Z12 E120 ; Set maximum instantaneous speed changes (mm/min) M203 X20000 Y20000 Z200 E1200 ; Set maximum speeds (mm/min) M201 X1200 Y1200 Z150 E250:150:150 ; Set accelerations (mm/s^2) M906 X2000 Y2000 Z2000 2000:2000:2000 ; Set motor currents (mA) M84 S0 ; Disable motor idle current reduction ; Heaters M307 H7 A-1 C-1 D-1 ;disable heater 7 to free up for servo signal M305 P0 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0 bed M143 H0 S90 ; Set temperature limit for heater 0 to 80C M307 H6 A340.0 C140.0 D5.5 S.50 V24.9 B0 M305 P1 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 1 extruder M143 H1 S260 ; Set temperature limit for heater 1 to 260C ; Tools M563 P0 D0 H1 F2 ; Define tool 0 FAN 0 FOR EXTRUDER 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 ; Network M550 Pkathy's printer ; Set machine name M540 PBE:EF:DE:AD:FE:ED ; Set MAC address M552 P192.168.1.212 S1 ; Enable network and set IP address M553 P255.255.255.0 ; Set netmask M554 P73.215.152.1 ; Set gateway M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Fans ;M106 P0 S1 I0 F255 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off ;M106 P1 S1 I0 F255 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned ON M106 P2 S1 I0 F255 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off ; Custom settings are not configured ; Miscellaneous M80 ;atx on M81 ;atx off T0 ; Select first tool M501 ;commented out for testing