Advertisement
Victorrar

Duet config

Aug 22nd, 2020
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.51 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.1.4 on Mon Jul 27 2020 18:13:03 GMT+0300 (Восточная Европа, летнее время)
  5.  
  6. ; General preferences
  7. G90                                            ; send absolute coordinates...
  8. M83                                            ; ...but relative extruder moves
  9. M550 P"My Printer"                             ; set printer name
  10.  
  11. ; Network
  12. M551 P"deffinetly_not_my_password"                         ; set password
  13. M552 S1                                        ; enable network
  14. M586 P0 S1                                     ; enable HTTP
  15. M586 P1 S1                                     ; enable 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. M584 X0 Y1 Z2 E3                               ; set drive mapping
  24. M350 X256 Y256 Z256 E256 I0                    ; configure microstepping without interpolation
  25. M92 X1280.00 Y1280.00 Z6400.00 E1629.75        ; set steps per mm
  26. M566 X600.00 Y600.00 Z300.00 E600.00           ; set maximum instantaneous speed changes (mm/min)
  27. M203 X6000.00 Y6000.00 Z1800.00 E3600.00       ; set maximum speeds (mm/min)
  28. M201 X600.00 Y600.00 Z300.00 E1000.00          ; set accelerations (mm/s^2)
  29. M906 X1100 Y1100 Z750 E1300 I30                ; set motor currents (mA) and motor idle factor in per cent
  30. M84 S30                                        ; Set idle timeout
  31.  
  32. ; Axis Limits
  33. M208 X0 Y0 Z0 S1                               ; set axis minima
  34. M208 X190 Y190 Z195 S0                         ; set axis maxima
  35.  
  36. ; Endstops
  37. M574 X1 S1 P"!^xstop"                          ; configure active-high endstop for low end on X via pin !^xstop
  38. M574 Y1 S1 P"!^ystop"                          ; configure active-high endstop for low end on Y via pin !^ystop
  39. M574 Z1 S1 P"!^zstop"                          ; configure active-high endstop for low end on Z via pin !^zstop
  40.  
  41. ; Z-Probe
  42. M950 S0 C"exp.heater3"                         ; create servo pin 0 for BLTouch
  43. M558 P9 C"^zprobe.in" H2 A3 F200 T6000            ; set Z probe type to bltouch and the dive height + speeds
  44. G31 P500 X39 Y-47 Z2                          ; set Z probe trigger value, offset and trigger height
  45. M557 X40:190 Y0:135 S20                       ; define mesh grid
  46.  
  47. ; Heaters
  48. M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
  49. M950 H0 C"bedheat" T0                          ; create bed heater output on bedheat and map it to sensor 0
  50. M307 H0 B0 S1.00                               ; disable bang-bang mode for the bed heater and set PWM limit
  51. M140 H0                                        ; map heated bed to heater 0
  52. M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
  53. M308 S1 P"e0temp" Y"thermistor" T100000 B4138  ; configure sensor 1 as thermistor on pin e0temp
  54. M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
  55. M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
  56.  
  57. ; Fans
  58. M950 F0 C"fan0" Q500                           ; create fan 0 on pin fan0 and set its frequency
  59. M106 P0 S0 H-1                                 ; set fan 0 value. Thermostatic control is turned off
  60. M950 F1 C"fan1" Q500                           ; create fan 1 on pin fan1 and set its frequency
  61. M106 P1 S1 H1 T40                              ; set fan 1 value. Thermostatic control is turned on
  62. M950 F2 C"fan2" Q500                           ; my create fan 2 for motor cooling
  63. M106 P2 S0 H-1
  64.  
  65.  
  66. ; Tools
  67. M563 P0 S"Extruder" D0 H1 F0                   ; define tool 0
  68. G10 P0 X0 Y0 Z0                                ; set tool 0 axis offsets
  69. G10 P0 R0 S0                                   ; set initial tool 0 active and standby temperatures to 0C
  70.  
  71. ; Custom settings are not defined
  72.  
  73. ; Miscellaneous
  74. M575 P1 S1 B57600                              ; enable support for PanelDue
  75. M501                                           ; load saved parameters from non-volatile memory
  76.  
  77. ;myLED strip
  78. M307 H1 A-1 C-1 D-1 ;disable heater1
  79. M950 P1 C"e1heat"
  80. M42 P1 S1
  81.  
  82.  
  83. M593 F25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement