Skip to content

Instantly share code, notes, and snippets.

@oliof
Created August 24, 2019 12: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 oliof/3b5111015624af357449bbda3f7845dd to your computer and use it in GitHub Desktop.
Save oliof/3b5111015624af357449bbda3f7845dd to your computer and use it in GitHub Desktop.
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Aug 04 2019 19:23:55 GMT+0200 (Mitteleuropäische Sommerzeit)
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M665 L360.22:360.22:360.22 R160 B125 H411.7 X0 Y0 Z0 diagonal rod length, delta radius, printable radius and homed height
M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them
; Network
M550 P"Frankenkossel" ; Set machine name
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
; Drives
M569 P0 S1 ; Physical drive 0 goes forwards
M569 P1 S1 ; Physical drive 1 goes forwards
M569 P2 S1 ; Physical drive 2 goes forwards
M569 P3 S0 ; Physical drive 3 goes backwards (extruder)
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z80.00 E141.00 ; 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 X2000.00 Y2000.00 Z2000.00 E2000.00 ; Set accelerations (mm/s^2)
M906 X1000.00 Y1000.00 Z1000.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 Z0:410.45 ; Set minimum Z
; Endstops
M574 X2 Y2 Z2 S1 ; Set active high endstops
; Z-Probe
M558 P5 R0.4 H3 F360 T6000 ; Set Z probe type to effector and the dive height + speeds
G31 P500 X0 Y0 Z -0.199 ; Set Z probe trigger value, offset and trigger height
M557 R111 S20 ; Define mesh grid
; Heaters
M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S80 ; Set temperature limit for heater 0 to 80C
M305 P1 T100000 B4725 C7.06e-8 ; Set thermistor + ADC parameters for heater 1
M143 H1 S240 ; Set temperature limit for heater 1 to 240C
; Fans
M106 P0 S0 I0 F500 H T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
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
; Tools
M563 P0 S"Nozzle" 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
T0 ; Select first tool
M80 ; ATX Power on
; load values from config-override.g
M501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment