Skip to content

Instantly share code, notes, and snippets.

@PProvost
Created February 1, 2017 19:56
Show Gist options
  • Save PProvost/c7de1ac32124dc23d4b970f6f16c81bd to your computer and use it in GitHub Desktop.
Save PProvost/c7de1ac32124dc23d4b970f6f16c81bd to your computer and use it in GitHub Desktop.
The DuetWifi config file used for my firmware testing videos
; Configuration file for Duet WiFi (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Thu Dec 29 2016 23:38:47 GMT-0800 (Pacific Standard Time)
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X300 Y185 Z300 S0 ; Set axis maxima
; Endstops
M574 X1 Y2 Z1 S0 ; Define active low and unused microswitches
M558 P4 I1 X0 Y0 Z1 H5 F100 T3000 ; Inductive probe on Z, 5mm dive height, 100mm/min probe speed, 3000mm/min travel
G31 P600 X30 Y0 Z1.0 ; Set Z probe trigger value, offset and trigger height
; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes backwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes backwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X100 Y100 Z400 E445 ; Set steps per mm
; Accel & Jerk
M203 X6000 Y6000 Z600 E1200 ; Set maximum speeds (mm/min)
M201 X800 Y800 Z250 E250 ; Set accelerations (mm/s^2)
M566 X800 Y800 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M305 P0 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4388 R4700 ; Set thermistor + ADC parameters for heater 1
; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
; Network
M550 duetwifi; Set machine name
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
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 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
; Custom settings are not configured
; Miscellaneous
T0 ; Select first tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment