Guest User

Untitled

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