Skip to content

Instantly share code, notes, and snippets.

@madebyjeffrey
Created December 8, 2018 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madebyjeffrey/ebd8520b6e087d04aebfa24fa1d57f09 to your computer and use it in GitHub Desktop.
Save madebyjeffrey/ebd8520b6e087d04aebfa24fa1d57f09 to your computer and use it in GitHub Desktop.
; Configuration file for Duet Maestro (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Oct 21 2018 22:04:51 GMT-0400 (Eastern Daylight Time)
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P0 ; Set firmware compatibility to look like native output
; Network
M550 PWilson ; Set machine name
M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
; Drives
M569 P0 S1 D3 ; Drive 0 goes forwards
M569 P1 S1 D3 ; Drive 1 goes forwards
M569 P2 S1 D3 ; Drive 2 goes forwards
M569 P3 S1 D3 ; Drive 3 goes forwards
M350 Z16 I1
M350 X16 Y16 E16 I1
M92 X80 Y80 Z400 E837 ; Set steps per mm
M566 X900 Y900 Z12 E1200 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z200 E2100 ; Set maximum speeds (mm/min)
M201 X500 Y40 Z400 E350 ; Set accelerations (mm/s^2)
M906 X500 Y750 Z700 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X-8 Y-35 Z0 S1 ; Set axis minima
M208 X185 Y283 Z200 S0 ; Set axis maxima
; Endstops
M574 X1 Y1 S1 ; Set active high endstops
; Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T6000 A3 ; Set Z probe type to bltouch and the dive height + speeds
G31 P25 X-3 Y40 Z1.71 ; Set Z probe trigger value, offset and trigger height
;M557 X15:170 Y15:268 S20 ; Define mesh grid
M557 X0:180 Y0:280 S30:50
; Heaters
M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 X201 ; Configure thermocouple for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M301 H1 S0.80 ; Set heater 1 PWM limit to 80%
M305 P1 X200 ; Configure thermocouple for heater 1
M143 H1 S300 ; Set temperature limit for heater 1 to 300C
; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S128 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
; 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 saving after power loss is not enabled
; Custom settings are not configured
; Miscellaneous
M501 ; Load saved parameters from non-volatile memory
T0 ; Select first tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment