NealzE

bed.g

Jul 8th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. ; bed.g
  2. ; called to perform automatic delta calibration via G32
  3.  
  4. M561 ; clear any bed transform
  5.  
  6. ; home all towers
  7. G91 ; relative positioning
  8. G1 S1 X650 Y650 Z650 F6000; move all towers to the high end stopping at the endstops (first pass)
  9. G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm
  10. G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
  11. G90 ; absolute positioning
  12.  
  13. ; Probe the bed at 10 peripheral and 6 halfway points, and perform 3-factor auto compensation
  14. ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
  15. ; bed.g file for RepRapFirmware, generated by Escher3D calculator
  16. ; 16 points, 6 factors, probing radius: 180, probe offset (0, 0)
  17. G30 P0 X0.00 Y180.00 Z-99999 H0
  18. G30 P1 X115.70 Y137.89 Z-99999 H0
  19. G30 P2 X177.27 Y31.26 Z-99999 H0
  20. G30 P3 X155.88 Y-90.00 Z-99999 H0
  21. G30 P4 X61.56 Y-169.14 Z-99999 H0
  22. G30 P5 X-61.56 Y-169.14 Z-99999 H0
  23. G30 P6 X-155.88 Y-90.00 Z-99999 H0
  24. G30 P7 X-177.27 Y31.26 Z-99999 H0
  25. G30 P8 X-115.70 Y137.89 Z-99999 H0
  26. G30 P9 X0.00 Y90.00 Z-99999 H0
  27. G30 P10 X77.94 Y45.00 Z-99999 H0
  28. G30 P11 X77.94 Y-45.00 Z-99999 H0
  29. G30 P12 X0.00 Y-90.00 Z-99999 H0
  30. G30 P13 X-77.94 Y-45.00 Z-99999 H0
  31. G30 P14 X-77.94 Y45.00 Z-99999 H0
  32. G30 P15 X0 Y0 Z-99999 S6
  33. ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
  34. ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly.
  35. ; The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
Advertisement
Add Comment
Please, Sign In to add comment