Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. ; Communication and general
  2. M111 S0 ; Debug off
  3. M550 PDelta ; Machine name and Netbios name (can be anything you like)
  4. M551 Preprap ; Machine password (used for FTP)
  5. ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
  6. M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
  7. ;*** Wifi Networking
  8. M552 S1 ; Enable WiFi.
  9. M555 P2 ; Set output to look like Marlin
  10.  
  11. ; Axis and motor configuration
  12. G21 ; Work in millimetres
  13. G90 ; Send absolute coordinates...
  14. M83 ; ...but relative extruder moves
  15.  
  16. M665 L288.110:288.110:288.120 R139.716 H232.014 B105.0 X-0.354 Y-0.132 Z0.000
  17. M666 X-0.807 Y0.119 Z0.688 A0.00 B0.00
  18.  
  19. M586 P0 S1 ; Enable HTTP
  20.  
  21. ; Drives
  22. M569 P0 S0 ; Drive 0 goes forwards X
  23. M569 P1 S0 ; Drive 1 goes forwards Y
  24. M569 P2 S0 ; Drive 2 goes forwards Z
  25. M569 P3 S1 ; Drive 3 goes backwards E
  26. M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation
  27. M350 E8 I0 ; Configure microstepping without interpolation
  28.  
  29. M92 X160 Y160 Z160 E2230 ; Set steps per mm
  30.  
  31. M566 X2000 Y2000 Z2000 E6 ; Set maximum instantaneous speed changes (mm/min)
  32. M203 X18000 Y18000 Z18000 E1800 ; Set maximum speeds (mm/min)
  33. M201 X2500 Y2500 Z2500 E120 ; Set accelerations (mm/s^2)
  34.  
  35. M906 X1500 Y1500 Z1500 E400 I60 ; Set motor currents (mA) and motor idle factor in per cent
  36. M84 S30 ; Set idle timeout
  37.  
  38. ; Axis Limits
  39. M208 Z0 S1 ; Set minimum Z
  40.  
  41. ; Endstops
  42. M574 X2 Y2 Z2 S1 ; Set active high endstops
  43.  
  44. ; Z-Probe
  45. M558 P8 R0.4 F1200 H10 ; Set Z probe type to switch and the dive height + speeds
  46. G31 P100 X0 Y0 Z-0.17 ; Set Z probe trigger value, offset and trigger height (increase value to lower printhead. Lower value to rise printhead)
  47.  
  48. M557 R105 S20 ; Define mesh grid
  49.  
  50. ; Heaters
  51. M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
  52. M143 H0 S120 ; Set temperature limit for heater 0 to 120C
  53. M305 P1 X501 R4700 ; heater 1 uses a PT1000 connected to thermistor channel 1 which has a 4.7K series resistor
  54. M143 H1 S280 ; Set temperature limit for heater 1 to 280C
  55.  
  56. ; Fans
  57. M106 P0 S0 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
  58. M106 P1 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
  59. M106 P2 T35:40 F250 H100:101:102
  60.  
  61. ; Tools
  62. M563 P0 D0 H1 ; Define tool 0
  63. G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
  64. G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
  65.  
  66. ; Automatic power saving
  67. M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
  68.  
  69. ; Custom settings are not configured
  70.  
  71. ; Miscellaneous
  72. M501 ; Load saved parameters from non-volatile memory
  73. T0 ; Select first tool
  74. M572 D0 S0.02 ;pressure advance off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement