Guest User

Config.h

a guest
May 17th, 2017
70
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. ; generated by RepRapFirmware Configuration Tool on Mon May 15 2017 04:27:52 GMT+0200
  5.  
  6. ; General preferences
  7. M111 S0 ; Debugging off
  8. G21 ; Work in millimetres
  9. G90 ; Send absolute coordinates...
  10. M83 ; ...but relative extruder moves
  11. M555 P1 ; Set firmware compatibility to look like RepRapFirmare
  12.  
  13. M667 S1 ; Select CoreXY mode
  14. M208 X0 Y0 Z0 S1 ; Set axis minima
  15. M208 X250 Y250 Z400 S0 ; Set axis maxima
  16.  
  17. ; Endstops
  18. M574 X1 Y1 Z0 S1 ; Define active high microswitches
  19. M558 P4 X0 Y0 Z1 H5 l1 F300 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
  20. G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
  21. M557 X15:235 Y15:400 S20 ; Define mesh grid
  22.  
  23. ; Drives
  24. M569 P0 S0 ; Drive 0 goes backwards
  25. M569 P1 S0 ; Drive 1 goes backwards
  26. M569 P2 S1 ; Drive 2 goes forwards
  27. M569 P3 S1 ; Drive 3 goes forwards
  28. M569 P4 S1 ; Drive 4 goes forwards
  29. M569 P5 S1 ; Drive 5 goes forwards
  30. M584 X0 Y1 Z6 E3:4:5 ; Apply custom drive mapping
  31. M350 X256 Y256 Z32 E256:256:256 I0 ; Configure microstepping without interpolation
  32. M92 X1280 Y1280 Z6400 E1000:1000:1000 ; Set steps per mm
  33. M566 X6000 Y6000 Z60 E1200:1200:1200 ; Set maximum instantaneous speed changes (mm/min)
  34. M203 X36000 Y36000 Z120 E1200:1200:1200 ; Set maximum speeds (mm/min)
  35. M201 X150 Y150 Z30 E250:250:250 ; Set accelerations (mm/s^2)
  36. M906 X800 Y800 Z1300 E1200:1200:1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
  37. M84 S30 ; Set idle timeout
  38.  
  39. ; Heaters
  40. M143 S260 ; Set maximum heater temperature to 260C
  41. M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
  42. M305 P0 T100000 B3985 C0 R4700 ; Set thermistor + ADC parameters for heater 0
  43. M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
  44. M307 H1 A253.2 C264 D5.3 B0 S0.95
  45.  
  46. ; Tools
  47. M563 P0 D0 H1 ; Define tool 0
  48. G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
  49. G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
  50.  
  51. ; Network
  52. M550 PTrinity ; Set machine name
  53. M551 P358179 ; Set password
  54. M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
  55.  
  56. ; Fans
  57. M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
  58. M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
  59. M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
  60.  
  61. ; Custom settings are not configured
  62.  
  63. ; Miscellaneous
  64. T0 ; Select first tool
RAW Paste Data