Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Configuration file for Duet WiFi (firmware version 1.17)
- ; executed by the firmware on start-up
- ; 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
- M667 S1 ; Select CoreXY mode
- M208 X0 Y0 Z0 S1 ; Set axis minima
- M208 X300 Y270 Z300 S0 ; Set axis maxima
- ; Endstops
- M574 X1 Y2 Z0 S0 ; Define active low and unused microswitches
- M558 P1 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
- G31 P500 X0 Y2.4 Z0.949 ; Set Z probe trigger value, offset and trigger height
- M557 X30:270 Y30:260 S20 ; Define mesh grid
- ; Drives
- M569 P0 S0 ; Drive 0 goes forwards
- M569 P1 S0 ; Drive 1 goes forwards
- M569 P2 S0 ; Drive 2 goes forwards
- M569 P3 S1 ; Drive 3 goes backwards
- M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
- M92 X99.9814 Y99.9814 Z1600 E151 ; Set steps per mm
- M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
- M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
- M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
- M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
- M84 S30 ; Set idle timeout
- ; Heater PID Tuning
- M307 H0 A196.9 C1021.6 D5.4 S1.00 B0
- M307 H1 A465.0 C239.5 D4.9 S1.00 B0
- ; Heaters
- M143 S280 ; Set maximum heater temperature to 260C
- M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
- M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
- M305 P1 T100000 B4719 C7.08e-8 R4700 ; Set thermistor + ADC parameters for heater 1
- ; Tools
- M563 P0 D0 H1 ; Define tool 0
- G10 P0 X0 Y0 ; Set tool 0 axis offsets
- G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
- ; Network
- M550 PPlexDuet ; Set machine name
- M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
- ; Fans
- M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
- M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
- M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
- ; Custom settings are not configured
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement