Skip to content

Instantly share code, notes, and snippets.

@coredump

coredump/config.g Secret

Created May 25, 2018
Embed
What would you like to do?
;m Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Thu Oct 26 2017 19:14:01 GMT-0400 (EDT)
; 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
; Automatic saving after power loss is not enabled
M584 X0 Y1 Z2:5:6 E3:4:7:8:9:10:11 ; Set motors 2, 5 and 6 as Z
M667 S1 ; Select CoreXY mode
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X270 Y245 Z300 S0 ; Set axis maxima
; Endstops
M574 X1 Y2 S0 ; Define active low and unused microswitches
; Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
; firmware retraction
M207 S0.4 F1800 R0.1 T2100 Z0.075
; Volumetric E
;M200 D1.75
; Piezo Z Probe
M558 P8 I0 R0.8 F400 X0 Y0 H3 T7000
G31 X0 Y0 Z-0.05 P100
M557 X0:270 Y0:240 S60 ; Define mesh grid
M376 H10 ; taper bed compensation
; Drives
M569 P0 S0 ; Drive 0
M569 P1 S0 ; Drive 1
M569 P2 S0 ; Drive 2
M569 P3 S1 ; Drive 3
M569 P5 S0 ; Drive 5
M569 P6 S0 ; Drive 6
M350 X16 Y16 Z16:16:16 E16 I1 ; Configure microstepping with interpolation
M92 X100 Y100 Z1600 E2730 ; Set steps per mm
; Pressure advance
;M572 D0 S0.05
M566 X800 Y800 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
M203 X8000 Y8000 Z420 E1200 ; Set maximum speeds (mm/min)
M201 X2000 Y2000 Z250 E120 ; Set accelerations (mm/s^2)
M204 P2000 T3000; printing and traveling moves accelerations
M906 X1450 Y1450 Z1200 E1100 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout
; Screw bed leveling
M671 X-45:300:135 Y60:60:405 S5
; Heaters
M143 S285 ; Set maximum heater temperature to 285C
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
;M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
M305 P1 T100000 B4725 R4700 C7.06e-8 H0 L0
; 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
; Network
M550 PD-Bot ; Set machine name
M551 Pdbot ; password
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S0 ; Disable Telnet
; Fans
M106 P0 S0.38 I0 F20000 H-1; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; 24v radial part cooler
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P8 S1 I0 F500 H1 T45 ; 12v noctua hotend
M106 P7 S1 I0 F500 H-1 ; 12v fan for board cooling
M106 S0 ; stop fan0 at start (part fan)
; Fans as led control
M106 P3 I-1 ; disable fan 3
M106 P4 I-1 ; disable fan 4
M106 P5 I-1 ; disable fan 5
; Set light on/white on startup
M42 P23 S255
M42 P24 S255
M42 P25 S255
; Custom settings are not configured
; Miscellaneous
; M501 ; Load saved parameters from non-volatile memory
; Heater model parameters
M307 H0 A98.8 C907.9 D1.7 S1.00 V24.2 B0
M307 H1 A582.9 C250.0 D6.0 S1.00 V24.2 B0
M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.