Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@madebyjeffrey
Created August 29, 2019 04:00
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/3318c98e944668b8a51b34fecc949f99 to your computer and use it in GitHub Desktop.
Save madebyjeffrey/3318c98e944668b8a51b34fecc949f99 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 25 2019 01:45:40 GMT-0400 (Eastern Daylight Time)
; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
; Network
M550 P"Flashforge" ; Set machine name
M552 S1 ; Enable network
M587 S"IceIceBaby" P"vanilla1c3" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S1 ; Disable Telnet
; Drives
M569 P0 S1 ; Physical drive 0 goes forwards
M569 P1 S1 ; Physical drive 1 goes forwards
M569 P2 S0 ; Physical drive 2 goes backwards
M569 P3 S0 ; Physical drive 3 goes forwards
M569 P4 S1 ; Physical drive 4 goes forwards
M584 X0 Y1 Z2 E3:4 ; set drive mapping
M350 X16 Y16 I1 ; Configure microstepping without interpolation
M350 Z16 E16:16 I1 ; Configure microstepping with interpolation
M92 X94.12 Y94.12 Z400.00 E96.28:96.28 ; Set steps per mm
M566 X900.00 Y900.00 Z180.00 E1200.00:1200.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E1560.00:1560.00 ; Set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z150.00 E2000.00:2000.00 ; Set accelerations (mm/s^2)
M906 X600 Y600 Z600 E600:600 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X227 Y148 Z150 S0 ; Set axis maxima
; Endstops
M574 X2 Y2 Z1 S0 ; Set active low endstops
; Z-Probe
M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
M557 X15:215 Y15:148 S20 ; Define mesh grid
; Heaters
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100900 B4230 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 X150 ; Configure thermocouple for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C
M305 P2 X151 ; Configure thermocouple for heater 2
M143 H2 S280 ; Set temperature limit for heater 2 to 280C
; Fans
M106 P0 S1 I0 F500 H1 T75 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P1 S1 I0 F500 H2 T75 ; 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 F0 S"Left" ; 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
M563 P1 D1 H2 F1 S"Right" ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 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
; 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