Last active
March 17, 2021 14:37
-
-
Save wildy/9d606864f7ef04d7e510ced7cdcfab4a to your computer and use it in GitHub Desktop.
RepRapFirmware config for ZAV Max Pro and SKR v1.4T board
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Configuration file for SKR v1.4 (firmware version 3) | |
; executed by the firmware on start-up | |
; | |
; G-code dictionary: see https://duet3d.dozuki.com/Wiki/Gcode | |
; General preferences | |
G90 ; send absolute coordinates... | |
M83 ; ...but relative extruder moves | |
M550 P"ZAV" ; set printer name | |
M669 K1 ; select CoreXY mode | |
; Network | |
M551 P"zavprinter" ; set password | |
M552 S1 ; enable network | |
M586 P0 S1 ; enable HTTP | |
M586 P1 S0 ; disable FTP | |
M586 P2 S0 ; disable Telnet | |
; TFT | |
M575 P1 S3 B250000 | |
M555 P0 | |
; rrf mode | |
; marlin mode is p2 for this | |
; Drives | |
; Every drive now uses SpreadCycle, 16 steps WITH interpolation). | |
; (as per https://duet3d.dozuki.com/Wiki/Tuning_Stepper_Motor_Drivers) | |
M569 P0 S1 D2 I1 ; physical drive 0 goes forwards using default driver timings | |
M569 P1 S1 D2 I1 ; physical drive 1 goes forwards using default driver timings | |
M569 P2 S1 D2 I1 ; physical drive 2 goes forwards using default driver timings | |
M569 P3 S1 D2 I1 ; physical drive 3 goes forwards using default driver timings | |
M584 X0 Y1 Z2 E3 ; set drive mapping | |
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation | |
; Speeds | |
M92 X80.00 Y80.00 Z400.00 E105.49 ; set steps per mm | |
M566 X900.00 Y900.00 Z60.00 E600.00 P1 ; set maximum instantaneous speed changes (mm/min) | |
M203 X10800.00 Y10800.00 Z1000 E4200.00 ; set maximum speeds (mm/min) | |
M201 X3000.00 Y3000.00 Z150.00 E5000.00 ; set accelerations (mm/s^2) | |
M906 X800 Y800 E850 I30 ; set motor currents (mA) and motor idle factor in per cent | |
M906 Z800 I50 ; heavy Z table needs a little bit more oomph | |
M84 S90 ; Set idle timeout | |
; Axis Limits | |
M208 X0 Y0 Z0 S1 ; set axis minima | |
M208 X290 Y175 Z265 S0 ; set axis maxima | |
; Endstops | |
M574 X1 S1 P"^xstop" ; configure active-high endstop for low end on X via pin ^xstop | |
M574 Y1 S1 P"^ystop" ; configure active-high endstop for low end on Y via pin ^ystop | |
M574 Z2 S1 P"^zstop" ; configure opto endstop for high end on Z via pin ^zstop | |
; Z-Probe | |
M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed | |
M557 X15:265 Y15:160 S20 ; define mesh grid | |
; Heaters | |
M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp | |
; SEMITEC (E3D) | |
M950 H0 C"bed" T0 ; create bed heater output on bed and map it to sensor 0 | |
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit | |
M140 H0 ; map heated bed to heater 0 | |
M143 H0 S120 ; set temperature limit for heater 0 to 120C | |
M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp | |
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 | |
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit | |
M143 H1 S280 ; set temperature limit for heater 1 to 280C | |
; Fans | |
M950 F0 C"fan0" Q1000 ; create fan 0 on pin fan0 and set its frequency | |
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off | |
; Tools | |
M563 P0 D0 H1 F0 ; 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 | |
; Custom settings are not defined | |
M501 ; restore from ROM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment