Advertisement
Guest User

Untitled

a guest
Jan 14th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. ; Machine configuration
  2. M569 P0 S0 ; Drive 0 (A Motor) goes backwards to move in +X +Y diagonal
  3. M569 P1 S0 ; Drive 1 (B Motor) goes backwards to move in -X +Y diagonal
  4. M569 P2 S0 ; Drive 2 (Z axis) goes backwards to move in +Z direction
  5. M569 P3 S0 ; Drive 3 (Extruder 0) goes backwards to feed
  6. M569 P4 S0 ; Drive 4 (Extruder 0) goes backwards to feed
  7. ; If you use an endstop switch for Z homing, change Z0 to Z1 in the following line, and see also M558 command later in this file
  8. M574 X1 Y2 Z1 S1 ; set endstops to X:low end, Y:high end, z:low, logic level active-high
  9. M667 S1 ; set CoreXY mode
  10. M92 X80.1 Y80.1 Z1600 ; Set axis steps/mm
  11. M92 E418.5:418.5 ; Set extruder steps/mm
  12. M906 X2000 Y2000 Z800 E1200 ; Set motor currents (mA)
  13. M201 X5000 Y5000 Z100 E10000 ; Accelerations (mm/s^2)
  14. M203 X24000 Y24000 Z500 E4800 ; Maximum speeds (mm/min)
  15. M566 X1200 Y1200 Z30 E1200 ; Maximum jerk speeds mm/minute
  16. M208 X300 Y305 Z300 ; set axis maxima (adjust to suit your machine)
  17. M208 X-18 Y0 Z0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
  18. M350 X16 Y16 Z16 E16 I1 ; Configure 1/16th microstepping with interpolation
  19. G21 ; Work in millimetres
  20. G90 ; Send absolute coordinates...
  21. M83 ; ...but relative extruder moves
  22.  
  23. ; Z probe setup
  24. M558 P4 Z1 F75 H3 T10000 ; Set up Z probe type and mesh probe travel parameters
  25. G31 X9 Y43 Z0.49 ; Set the height above the bed at which the probe triggers and the probe XY offset
  26. ; Increase Z to lower nozzle, decrease Z to raise nozzle
  27. ; Value above was calibrated at 24C
  28.  
  29. ; Note: bed compensation is performed in bed.g
  30.  
  31.  
  32. ; Thermistors
  33. ; You can also use S and B parameters to define the parameters of the thermistors you are using
  34. M305 P0 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
  35. M305 P1 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
  36. M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
  37.  
  38. ; Heaters
  39. M307 H0 A413.6 C1003.9 D12.7 S1.00 B0 ; Bed heater process parameters found by autotune. Automatically used to calculate PID parameters.
  40. M307 H1 A619.9 C191.9 D5.5 S1.00 B0 ; Heater 1 (extruder 0), ditto.
  41. M307 H2 A619.9 C191.9 D5.5 S1.00 B0 ; Heater 2 (extruder 1), ditto.
  42. M570 S120 ; Heater fault detection time; Increase to allow extra heating time if needed
  43. M143 H0 S120 ; Set maximum bed temperature (triggers fault)
  44. M143 H1 S300 ; Set maximum extruder 0 temperature (triggers fault)
  45. M143 H2 S300 ; Set maximum extruder 1 temperature (triggers fault)
  46.  
  47. ; Tool definition
  48. M563 P0 D0 H1 ; Define tool 0
  49. G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
  50. G10 P0 X0 Y0 Z0 ; Set tool 0 offsets
  51. M563 P1 D1 H2 ; Define tool 1
  52. G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
  53. G10 P1 X18.0 Y0.1 Z0 ; Set tool 1 offsets
  54. M302 P0 S200 ; Disallow extrusion below 200C
  55. M207 S2.5 F4800 ; Set firmware retraction distance
  56.  
  57. ; Set up fans
  58. M106 P1 S0.5 T60 H1:2 ; Set fan 2 (P1) to turn on when heaters 1 or 2 (H0:1) are above 60C (T60)
  59. ; Fan 2 is the hotend heatsink cooler
  60.  
  61. M556 S78 X0 Y0 Z0 ; Axis compensation here
  62.  
  63. M404 N1.75 D0.4 ; Filament diameter and nozzle width
  64.  
  65. ; Extruder pressure advance
  66. M572 D0 S0.5 ; Extruder 1 and 2...
  67. M572 D1 S0.5 ; both have the same parts and lengths
  68.  
  69. T0 ; select first hot end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement