; 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 G31 X-52 Y50 Z.9 P25 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 Z0 M558 P9 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds G31 P600 X0 Y12 Z1.08; Set Z probe trigger value, offset and trigger height M557 X52:300 Y60:335 S40 ; Define mesh grid ; 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 M569 P9 S2 R1 T5 ; Drive 4 goes forwards M569 P10 S2 R1 T5 ; Drive 5 goes forwards M584 X5 Y6 Z7 E8:9:10 ; Apply custom drive mapping M350 X16 Y16 Z16 E16:16:16 I0 ; Configure microstepping without interpolation M92 X80 Y100 Z4800 E100:100:100 ; Set steps per mm M566 X300 Y300 Z12 E120:120:120 ; Set maximum instantaneous speed changes (mm/min) M203 X20000 Y20000 Z200 E1200:1200:1200 ; 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 M143 H0 S90 ; Set temperature limit for heater 0 to 80C M305 P1.5 T100000 H15 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S290 ; Set temperature limit for heater 1 to 260C ; Tools M563 P0 D0 H1 F0:1:2 ; Define tool 0 FAN 0,1,2 FOR EXTRUDER 0 M563 P1 D1 H1 F0:1:2 ; DEFINE TOOL 1 FAN 0,1,2 FOR EXTRUDER 1 M563 P2 D2 H1 F0:1:2 ; DEFINE TOOL 2 FAN 0,1,2 FOR EXTRUDER 2 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C M568 P0 D0:1:2 S1 ; Enable mixing for tool 0,1,2 M567 P0 E0.33:0.33:0.34 ; Set mixing ratios for tool 0 ; 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 cy. The; 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 H1 T45 ; 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 frequenrmostatic control is turned off ; Custom settings are not configured ; Miscellaneous M80 ;atx on M81 ;atx off T0:1:2 ; Select first tool M501