Advertisement
lutzmor

config.g

Jan 28th, 2021
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 KB | None | 0 0
  1. ; Configuration file for Duet WiFi (firmware version 3)
  2. ; executed by the firmware on start-up
  3. ;
  4. ; generated by RepRapFirmware Configuration Tool v3.2.2 on Thu Jan 28 2021 08:56:19 GMT+0100 (Central European Standard Time)
  5.  
  6. ; General preferences
  7. G90 ; send absolute coordinates...
  8. M83 ; ...but relative extruder moves
  9. M550 P"HevORT" ; set printer name
  10. M669 K1 ; select CoreXY mode
  11.  
  12. ; Network
  13. M552 S1 ; enable network
  14. M586 P0 S1 ; enable HTTP
  15. M586 P1 S0 ; disable FTP
  16. M586 P2 S0 ; disable Telnet
  17.  
  18. ; Drives
  19. M569 P0 S1 ; physical drive 0 goes forwards
  20. M569 P1 S1 ; physical drive 1 goes forwards
  21. M569 P2 S1 ; physical drive 2 goes forwards
  22. M569 P3 S1 ; physical drive 3 goes forwards
  23. M569 P5 S1 ; physical drive 5 goes forwards
  24. M569 P6 S1 ; physical drive 6 goes forwards
  25.  
  26. M584 X0 Y1 Z5:6:2 E3 ; set drive mapping
  27. M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
  28. M92 X160.00 Y160.00 Z800.00 E415.00 ; set steps per mm
  29. M566 X1200.00 Y1200.00 Z30.00 E1800.00 ; set maximum instantaneous speed changes (mm/min)
  30. M203 X18000.00 Y18000.00 Z1800.00 E3000.00 ; set maximum speeds (mm/min)
  31. M201 X1600.00 Y1600.00 Z100.00 E2000.00 ; set accelerations (mm/s^2)
  32. M906 X1200 Y1200 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
  33. M84 S30 ; Set idle timeout
  34.  
  35. ; Axis Limits
  36. M208 X0 Y0 Z0 S1 ; set axis minima
  37. M208 X355 Y355 Z400 S0 ; set axis maxima
  38.  
  39. ; Endstops
  40. M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
  41. M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
  42. M574 Z1 S2 ; configure Z-probe endstop for low end on Z
  43.  
  44. ; Z-Probe
  45. M950 S0 C"duex.pwm1" ; create servo pin 0 for BLTouch
  46. M558 P9 C"^zprobe.in" H15 F120 T9000 ; set Z probe type to bltouch and the dive height + speeds
  47. G31 P500 X37,449 Y26,253 Z2.5 ; set Z probe trigger value, offset and trigger height
  48. M557 X15:215 Y15:195 S20 ; define mesh grid
  49.  
  50. ; Heaters
  51. M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
  52. M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
  53. M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
  54. M140 H0 ; map heated bed to heater 0
  55. M143 H0 S120 ; set temperature limit for heater 0 to 120C
  56. M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
  57. M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
  58. M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
  59. M143 H1 S280 ; set temperature limit for heater 1 to 280C
  60.  
  61. ; Fans
  62. M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
  63. M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
  64. M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
  65. M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
  66.  
  67. ; Tools
  68. M563 P0 D0 H1 F0 ; define tool 0
  69. G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
  70. G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
  71.  
  72. ; Custom settings are not defined
  73.  
  74. ; Miscellaneous
  75. M911 S22 R23.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
  76.  
  77. ; Triple Z
  78. M671 X-13,298:182,911:379,12 Y2,021:370,231:2,021 S50
  79.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement