; Configuration file for Duet WiFi (firmware version 1.20) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Mon Nov 27 2017 08:32:27 GMT-0500 (Eastern Standard Time) ; 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 ; Endstops ; M558 P6 I1 X0 Y0 Z0 F175 T6000 H3 ; Probe Mode 6 Switch Type ; M558 P1 I1 R0.4 F300 X0 Y0 Z0 ; Piezo Board G31 X0 Y0 Z6.975 ; Set Z probe offset and trigger height Switch Type ; G31 X0 Y0 Z-.1 P600 ; Piezo Board M557 X-195:195 Y-190:190 S20 ; Define mesh grid ; Drives M569 P0 S1 ; Drive 0 goes forwards M569 P1 S1 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes backwards M569 P3 S1 ; Drive 3 goes forwards M569 P4 S0 ; Drive 4 goes backwards M569 P5 S0 ; Drive 5 goes backwards M584 X0 Y1 Z2 U3 E4:5 ; Create U axis for second X carriage before we try to configure it M574 X1 Y2 U2 Z2 S0 ; Set active low endstops M208 X-255.3 Y-226 U-213 Z0 S1 ; Set axis minima M208 X214 Y250.1 U255.6 Z427.65 S0 ; Set axis maxima M350 X16 Y16 U16 Z16 E16:16 I1 ; Configure microstepping with interpolation M92 X80 Y80 U80 Z400 E837.0:837.0 ; Set steps per mm M566 X300 Y300 U300 Z12 E500:500 ; Set maximum instantaneous speed changes (mm/min) M203 X18000 Y18000 U18000 Z2500 E1200:1200 ; Set maximum speeds (mm/min) M201 X1000 Y1000 U1000 Z250 E1000:1000 ; Set accelerations (mm/s^2) M906 X1000 Y1800 U1000 Z1800 E1100:1100 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning) M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 B4725 C0.0000000706 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S350 ; Set temperature limit for heater 1 to 350C M305 P2 T100000 B4725 C0.0000000706 R4700 ; Set thermistor + ADC parameters for heater 2 M143 H2 S350 ; Tools M563 P0 D0 H1 ; Define tool 0 G10 P0 X0 Y0 U0 Z-.25 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C M563 P1 D1 H2 X3 ; Define tool 1 G10 P1 X0 Y.1 U0 Z-.25 ; Set tool 1 axis offsets G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C M563 P2 D0:1 H1:2 X0:3 ; Define tool 2 Ditto Printing G10 P2 X50 Y0 U-50 Z-.25 ; Set tool 2 axis Ditto Printing offsets G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C M576 P2 E1:1 ; Set mix rtio 100% on both extruders ; Network M550 P####### ; Set machine name M551 ####### ; Set password M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Fans M106 P1 S1 I0 F500 H1 T45; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H2 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P3 H100:101 T35:45 L0.3 ; CPU Cooler later ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from non-volatile memory M80 ; turn on power supply T0 ; Select first tool