Advertisement
DunstonUK

Config.g

Dec 17th, 2017
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. xcz; Configuration file for Duet WiFi (firmware version 1.20 or newer)
  2. ; executed by the firmware on start-up
  3. ;
  4. ; generated by RepRapFirmware Configuration Tool on Sat Dec 16 2017 23:54:50 GMT+0000 (GMT Standard Time)
  5. ; General preferences
  6. M80
  7. M111 S0 ; Debugging off
  8. G21 ; Work in millimetres
  9. G90 ; Send absolute coordinates...
  10. M83 ; ...but relative extruder moves
  11. M555 P2 ; Set firmware compatibility to look like Marlin
  12. M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
  13. M208 X0 Y0 Z0 S1 ; Set axis minima
  14. M208 X220 Y260 Z230 S0 ; Set axis maxima
  15.  
  16. ; Endstops
  17. ;M574 Z0 S0 ; Set active low endstops
  18. M574 X1 Y2 S1 ; Set active high endstops
  19. M307 H7 A-1 C-1 D-1 ;
  20. M558 P5 X0 Y0 Z1 H7 F120 T6000 ; Set Z Probe to type Switch or Digital output where Z probe connector is used. Used for z only.;
  21. G31 P50 X-25 Y38 Z1.5; Set Z probe trigger value, offset and trigger height
  22. M557 X15:205 Y15:245 S20 ; Define mesh grid
  23.  
  24. ; Drives
  25. M569 P0 S1 ; Drive 0 goes forwards = X S1 Homes X to the Left
  26. M569 P1 S0 ; Drive 1 goes forwards = Y S0 Homes y to the Back of the bed
  27. M569 P2 S1 ; Drive 2 goes forwards = Z S1 Homes Z to the Down, wait for trigger from BLT Probe
  28. M569 P3 S1 ; Drive 3 goes forwards = E0 S1 Rotates Extruder to the Forward/Backwards
  29.  
  30. M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
  31. M574 X0 Y1 Z0 S1
  32. M906 X800 Y1000 Z800 E800 ; Set motor currents (mA)
  33. M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
  34. M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
  35. M566 X600 Y600 Z30 E20 ; Maximum jerk speeds mm/minute
  36. M208 X200 Y200 Z200 ; set axis maxima and high homing switch positions (adjust to suit your machine)
  37. M92 X80 Y80 Z4000 E420 ; Set steps per mm
  38. M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
  39. M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
  40. M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
  41. M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
  42. M84 S30 ; Set idle timeout
  43.  
  44. ; Heaters
  45. M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
  46. M143 H0 S150 ; Set temperature limit for heater 0 to 150C
  47. M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
  48. M143 H1 S300 ; Set temperature limit for heater 1 to 300C
  49.  
  50. ; Tools
  51. M563 P0 D0 H1 ; Define tool 0
  52. G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
  53. G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
  54.  
  55. ; Network
  56. M550 PI3 Steel ; Set machine name
  57. M552 S1 ; Enable network
  58. ; Access point is configured manually via M587 by the user
  59. M586 P0 S1 ; Enable HTTP
  60. M586 P1 S0 ; Disable FTP
  61. M586 P2 S0 ; Disable Telnet
  62.  
  63. ; Fans
  64. M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
  65. M106 P1 S0.5 I0 F500 H0:1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
  66. M106 P2 S1 I0 F500 H0:1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
  67.  
  68. ; Custom settings are not configured
  69.  
  70. ; Miscellaneous
  71. M501 ; Load saved parameters from non-volatile memory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement