Guest User

Untitled

a guest
Oct 22nd, 2017
16
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Configuration file for Duet WiFi (firmware version 1.17)
  2. ; executed by the firmware on start-up
  3.  
  4. ; General preferences
  5. M111 S0 ; Debugging off
  6. G21 ; Work in millimetres
  7. G90 ; Send absolute coordinates...
  8. M83 ; ...but relative extruder moves
  9. M555 P2 ; Set firmware compatibility to look like Marlin
  10.  
  11. M667 S1 ; Select CoreXY mode
  12. M208 X0 Y0 Z0 S1 ; Set axis minima
  13. M208 X300 Y270 Z300 S0 ; Set axis maxima
  14.  
  15. ; Endstops
  16. M574 X1 Y2 Z0 S0 ; Define active low and unused microswitches
  17. 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
  18. G31 P500 X0 Y2.4 Z0.949 ; Set Z probe trigger value, offset and trigger height
  19. M557 X30:270 Y30:260 S20 ; Define mesh grid
  20.  
  21. ; Drives
  22. M569 P0 S0 ; Drive 0 goes forwards
  23. M569 P1 S0 ; Drive 1 goes forwards
  24. M569 P2 S0 ; Drive 2 goes forwards
  25. M569 P3 S1 ; Drive 3 goes backwards
  26. M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
  27. M92 X99.9814 Y99.9814 Z1600 E151 ; Set steps per mm
  28. M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
  29. M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
  30. M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
  31. M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
  32. M84 S30 ; Set idle timeout
  33.  
  34. ; Heater PID Tuning
  35. M307 H0 A196.9 C1021.6 D5.4 S1.00 B0
  36. M307 H1 A465.0 C239.5 D4.9 S1.00 B0
  37.  
  38. ; Heaters
  39. M143 S280 ; Set maximum heater temperature to 260C
  40. M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
  41. M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
  42. M305 P1 T100000 B4719 C7.08e-8 R4700 ; Set thermistor + ADC parameters for heater 1
  43.  
  44. ; Tools
  45. M563 P0 D0 H1 ; Define tool 0
  46. G10 P0 X0 Y0 ; Set tool 0 axis offsets
  47. G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
  48.  
  49. ; Network
  50. M550 PPlexDuet ; Set machine name
  51. M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
  52.  
  53. ; Fans
  54. M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
  55. M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
  56. M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
  57.  
  58. ; Custom settings are not configured
RAW Paste Data