Advertisement
Cinpro

Duet CoreXY 12-22-17

Dec 22nd, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. G21 ; Work in millimetres
  2. G90 ; Send absolute coordinates...
  3. M83 ; ...but relative extruder moves
  4. M555 P1 ; Set firmware compatibility to look like RepRapFirmare
  5.  
  6. M667 S1 ; Select CoreXY mode
  7. M208 X0 Y0 Z0 S1 ; Set axis minima
  8. M208 X325 Y325 Z395 S0 ; Set axis maxima
  9.  
  10. ; Endstops
  11. M574 X1 Y1 Z2 S0; Define active low and unused microswitches
  12. ;M558 P1 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
  13. ;G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
  14. ;M557 X40:285 Y15:310 S20 ; Define mesh grid
  15.  
  16. ; Drives
  17. M569 P0 S1 ; Drive 0 goes forward
  18. M569 P1 S1 ; Drive 1 goes forward
  19. M569 P2 S0 ; Drive 2 goes backward
  20. M569 P3 S0 ; Drive 3 goes forward
  21. M350 X128 Y128 Z16 E32 I0 ; Configure microstepping without interpolation
  22. M92 X640 Y640 Z400 E885.58; Set steps per mm
  23. M566 X1800 Y1800 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
  24. M203 X12000 Y12000 Z2000 E1200 ; Set maximum speeds (mm/min)
  25. M201 X1000 Y1000 Z500 E250 ; Set accelerations (mm/s^2)
  26. M906 X1200 Y1200 Z1200 E1450 I50 ; Set motor currents (mA) and motor idle factor in per cent
  27. M84 S60 ; Set idle timeout
  28.  
  29. ; Heaters
  30. M143 S275 ; Set maximum heater temperature to 260C
  31. M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
  32. M305 P0 T100000 B4725 C7.06e-8 R4700 ; Set thermistor + ADC parameters for heater 0
  33. M305 P1 T100000 B4066 C0 R4700 ; Set thermistor + ADC parameters for heater 1
  34.  
  35. ; Tools
  36. M563 P0 D0 H1 ; Define tool 0
  37. G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
  38. G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement