Advertisement
Guest User

Untitled

a guest
Apr 27th, 2024
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. ; Configuration file for Duet WiFi (firmware version 3.3)
  2. ; executed by the firmware on start-up
  3. ;
  4. ; generated by RepRapFirmware Configuration Tool v3.3.10 on Thu Jul 07 2022 18:06:56 GMT+0200 (Central European Summer Time)
  5.  
  6. ; General preferences
  7. M575 P1 S1 B57600 ; enable support for PanelDue
  8. G90 ; send absolute coordinates...
  9. M83 ; ...but relative extruder moves
  10. M550 P"BLV_MGN_CUBE" ; set printer name
  11. ;M551 P"xxxxxxx" ; set login password
  12. M669 K1 ; select CoreXY mode
  13. M80 C"pson" ;Turn on PSU
  14.  
  15. ; Network
  16. M552 S1 ; enable network
  17. M586 P0 S1 ; enable HTTP
  18. M586 P1 S0 ; disable FTP
  19. M586 P2 S0 ; disable Telnet
  20. ;M587 S"IoT" P"xxxxxxxxxxxxxxxxxxx" ; Configure access point. You can delete this line once connected
  21.  
  22. ; Drives
  23. M569 P0 S0 ; X drive 0 goes forwards
  24. M569 P1 S0 ; Y drive 1 goes backwards
  25. M569 P2 S0 ; Z1 drive 2 goes forwards
  26. M569 P3 S0 ; E0 drive 1 goes backwards
  27. M569 P4 S0 ; Z1 drive 2 goes forwards
  28. M584 X0 Y1 Z2:4 E3 ; set drive mapping
  29. M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
  30. M92 X200.00 Y200.00 Z1612.9032 E690 ; Set steps per mm for each axes
  31. M566 X600 Y600 Z24 E300 ; Set maximum instantaneous speed changes (Jerk) (mm/min)
  32. M203 X20000 Y20000 Z600 E7200 ; Set maximum speeds (mm/min)
  33. M201 X3000 Y3000 Z100 E3000 ; Set accelerations (mm/s^2)
  34. M906 X1600 Y1600 Z1600 E850 I30 ; Set motor currents (mA) and motor idle factor in per cent
  35. M84 S30 ; Set idle timeout
  36.  
  37. ; Axis Limits
  38. M208 X-171 Y-175 Z0 S1 ; set axis minima
  39. M208 X175 Y182 Z300 S0 ; set axis maxima
  40.  
  41. ; Endstops
  42. M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
  43. M574 Y2 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
  44. M574 Z1 S2 ; configure Z-probe endstop for low end on Z
  45. M591 D0 P1 C"!zstop" S1 ; set filament sensor switch for extruder 0
  46.  
  47. ; Z-Probe
  48. M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
  49. M558 P9 C"^zprobe.in" H5 F400 T6000 ; set Z probe type to bltouch and the dive height + speeds
  50. G31 P500 X0 Y-41.5 Z2.90 ; set Z probe trigger value, offset and trigger height, decrease to move up, increase to move down
  51.  
  52. ; Pressure advance
  53. M572 D0 S0.03 ;Pressure advance
  54. M207 S1.5 F7200 Z0.2 ;firmware retraction
  55.  
  56. ; Heaters
  57. M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
  58. M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
  59. M307 H0 R0.603 K0.224:0.000 D3.09 E1.35 S1.00 B0 ; enable bang-bang mode for the bed heater and set PWM limit
  60. M140 H0 ; map heated bed to heater 0
  61. M143 H0 S120 ; set temperature limit for heater 0 to 120C
  62. M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
  63. M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
  64. M307 H1 R5.180 K0.556:0.000 D5.26 E1.35 S1.00 B0 V23.7 ; disable bang-bang mode for heater and set PWM limit
  65. M143 H1 S280 ; set temperature limit for heater 1 to 280C
  66.  
  67. ; Fans
  68. M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
  69. M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
  70. M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
  71. M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
  72.  
  73. ; Tools
  74. M563 P0 S"VOLCANO" D0 H1 F0 ; define tool 0
  75. G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
  76. G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
  77. M955 P0 I10 C"spi.cs2+spi.cs1" ;define accelerometer
  78.  
  79. ; Automatic power saving
  80. M911 S21 R22 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
  81.  
  82. ; Miscellaneous
  83. T0 ;select first tool
  84. M575 P1 S0 ;enable the PanelDue serial port and turn off check-sums
  85. M106 S0 ;turn off fans on startup
  86. M950 J1 C"^connlcd.encb" ;define logical input for filament load/unload
  87. M581 P1 T2 S0 R0 ;define trigger for filament auto load/unload macro to trigger2.g
  88. M593 P"mzv" F40 ;apply input shaper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement