; Configuration file for Duet WiFi (firmware version 1.20 or newer) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M665 L350.000 R160.789 H275.0 B140.0 X0.00 Y0.00 Z0.000 ; Network M550 PMACHINE ; Set machine name M552 S1 ; Enable network ;*** Access point is configured manually via M587 M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S0 ; Drive 0 goes backwards M569 P1 S0 ; Drive 1 goes backwards M569 P2 S0 ; Drive 2 goes backwards M569 P3 S1 ; Drive 3 goes forwards M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X3200 Y3200 Z3200 E768 ; Set steps per mm M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; Set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; Set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; Set accelerations (mm/s^2) M906 X1800.00 Y1800.00 Z1800.00 E1600.00 I10 ; Set motor currents (mA) and motor idle factor in per cent M84 S10 ; Set idle timeout ; Set idle timeout ; Axis Limits M208 Z0 S1 ; Set minimum Z ; Endstops M574 X2 Y2 Z2 S0 ; Set active-low endstops ; Filament Sensor M591 D0 P2 C3 ; Filament Sensor (Extruder0) ; Z-Probe ;M557 R140 S20 ; Define mesh grid M558 P5 I1 H25 F150 T3000 R0.4 ; Set Z probe type to modulated and the dive height + speeds ;M558 P0 I1 X0.0 Y0.0 Z10.0 H3 F200 T5000 R0 ; Set Z probe type to manual G31 P320 X0.0 Y0.0 Z-0.4 ; Set Z probe trigger value, offset and trigger height ; Heaters M140 H-1 ; Disable heated bed ;M305 P1 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 1 ;M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 M305 P1 X200 ; Set PT-100 for heater 1 M143 H1 S240 ; Set temperature limit for heater 1 to 240C ; S = %PWM (0.0-1.0), V = Voltage@Measurement, B0 = PID mode ; Fans M106 P0 S127 I0 B4 F25000 H-1 ; P0 = PWM Fan0, I0 = PWM Non-Inverted, B4 = Full Speed Startup Duration: 4 Sec ; F25000 = PWM Freq: 25KHz, H-1 = Thermostatic Control: Off M106 P1 S127 I0 B4 F25000 H-1 ; P1 = PWM Fan1, I0 = PWM Non-Inverted, B4 = Full Speed Startup Duration: 4 Sec ; F25000 = PWM Freq: 25KHz, H-1 = Thermostatic Control: Off M106 P2 S127 I0 B4 F25000 H-1 ; P2 = PWM Fan2, I0 = PWM Non-Inverted, B4 = Full Speed Startup Duration: 4 Sec ; F25000 = PWM Freq: 25KHz, H-1 = Thermostatic Control: Off ;M106 P2 S0.6 I1 F25000 L0.6 B4 H101 T-1:100 C"DuetFan" ; Thermostatically controlled fan settings ; 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 ; 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 M564 H0 M501 ; run override-config.g