Advertisement
Guest User

Config.g

a guest
Jan 5th, 2019
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. ; Configuration file for Duet Maestro (firmware version 1.20 or newer)
  2. ; executed by the firmware on start-up
  3. ;
  4.  
  5. ; General preferences
  6. M111 S0 ; Debugging off
  7. G21 ; Work in millimetres
  8. G90 ; Send absolute coordinates...
  9. M83 ; ...but relative extruder moves
  10. M555 P1 ; Set firmware compatibility to look like RepRapFirmare
  11. ; Automatic saving after power loss is not enabled
  12. M208 X0 Y0 Z0 S1 ; Set axis minima
  13. M208 X210 Y205 Z195 S0 ; Set axis maxima
  14.  
  15. ; Endstops
  16. M574 X1 Y1 S1 ; Set active high endstops
  17. M574 Z1 S2 ; Set endstops controlled by probe
  18. M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
  19. G31 P500 X0 Y19.22 Z2.689 ; Set Z probe trigger value, offset and trigger height
  20. M557 X10:210 Y20:200 S25 ; Define mesh grid
  21.  
  22. ; Drives
  23. M569 P0 S0 ; Drive 0 goes backwards
  24. M569 P1 S1 ; Drive 1 goes forwards
  25. M569 P2 S0 ; Drive 2 goes backwards
  26. M569 P3 S1 ; Drive 3 goes forwards
  27. M350 X16 Y16 Z16 E16 I1 ; set 16x microstepping with interpolation
  28. M92 X80 Y80 Z400 E830 ; Set steps per mm
  29. M566 X1200 Y1200 Z60 E300 ; Set maximum instantaneous speed changes (mm/min)
  30. M203 X12000 Y12000 Z600 E3600 ; Set maximum speeds (mm/min)
  31. M201 X3000 Y3000 Z50 E1000 ; Set accelerations (mm/s^2)
  32. M906 X1000 Y1000 Z1000 E1300 I30 ; Set motor currents (mA) and motor idle factor in per cent
  33. M84 S30 ; Set idle timeout
  34.  
  35. M671 X110:15:205 Y15:195:195 P0.5
  36.  
  37. ; Heaters
  38. M305 P0 T100000 B3950 C0 R2200 ; Set thermistor + ADC parameters for heater 0
  39. M143 H0 S120 ; Set temperature limit for heater 0 to 120C
  40. M307 H0 A131.4 C339.7 D1.0 B0 ; Set PID parameters for heater 0 (bed) at 60C
  41. M305 P1 T100000 B4725 C7.060000e-8 R2200 ; Set thermistor + ADC parameters for heater 1
  42. M143 H1 S280 ; Set temperature limit for heater 1 to 280C
  43. M307 H1 A361.8 C225.6 D5.8 B0 ; Set PID parameters for heater 1 (hotend) at 210C
  44.  
  45. ; Tools
  46. M563 P0 D0 H1 ; Define tool 0
  47. G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
  48. G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
  49.  
  50. ; Fans
  51. M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
  52. M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
  53.  
  54. ; Custom settings are not configured
  55.  
  56. ; Miscellaneous
  57. T0 ; Select first tool
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement