Advertisement
Guest User

Endstop Configuration

a guest
Jun 14th, 2016
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.63 KB | None | 0 0
  1. /* By default all endstops are pulled up to HIGH. You need a pull-up if you
  2. use a mechanical endstop connected with GND. Set value to false for no pull-up
  3. on this endstop.
  4. */
  5. #define ENDSTOP_PULLUP_X_MIN true
  6. #define ENDSTOP_PULLUP_Y_MIN true
  7. #define ENDSTOP_PULLUP_Z_MIN true
  8. #define ENDSTOP_PULLUP_X_MAX true
  9. #define ENDSTOP_PULLUP_Y_MAX true
  10. #define ENDSTOP_PULLUP_Z_MAX true
  11.  
  12. //set to true to invert the logic of the endstops
  13. #define ENDSTOP_X_MIN_INVERTING true
  14. #define ENDSTOP_Y_MIN_INVERTING true
  15. #define ENDSTOP_Z_MIN_INVERTING true
  16. #define ENDSTOP_X_MAX_INVERTING true
  17. #define ENDSTOP_Y_MAX_INVERTING true
  18. #define ENDSTOP_Z_MAX_INVERTING true
  19.  
  20. // Set the values true where you have a hardware endstop. The Pin number is taken from pins.h.
  21. #define MIN_HARDWARE_ENDSTOP_X false
  22. #define MIN_HARDWARE_ENDSTOP_Y false
  23. #define MIN_HARDWARE_ENDSTOP_Z true
  24. #define MAX_HARDWARE_ENDSTOP_X true
  25. #define MAX_HARDWARE_ENDSTOP_Y true
  26. #define MAX_HARDWARE_ENDSTOP_Z true
  27.  
  28. //If your axes are only moving in one direction, make sure the endstops are connected properly.
  29. //If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here
  30.  
  31. // Delta robot radius endstop
  32. #define max_software_endstop_r true
  33.  
  34. //If true, axis won't move to coordinates less than zero.
  35. #define min_software_endstop_x false
  36. #define min_software_endstop_y false
  37. #define min_software_endstop_z false
  38.  
  39. //If true, axis won't move to coordinates greater than the defined lengths below.
  40. #define max_software_endstop_x false
  41. #define max_software_endstop_y false
  42. #define max_software_endstop_z false
  43.  
  44. // If during homing the endstop is reached, ho many mm should the printer move back for the second try
  45. #define ENDSTOP_X_BACK_MOVE 10
  46. #define ENDSTOP_Y_BACK_MOVE 10
  47. #define ENDSTOP_Z_BACK_MOVE 10
  48.  
  49. // For higher precision you can reduce the speed for the second test on the endstop
  50. // during homing operation. The homing speed is divided by the value. 1 = same speed, 2 = half speed
  51. #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 2
  52. #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 2
  53. #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 2
  54.  
  55. // When you have several endstops in one circuit you need to disable it after homing by moving a
  56. // small amount back. This is also the case with H-belt systems.
  57. #define ENDSTOP_X_BACK_ON_HOME 1
  58. #define ENDSTOP_Y_BACK_ON_HOME 1
  59. #define ENDSTOP_Z_BACK_ON_HOME 1
  60.  
  61. // You can disable endstop checking for print moves. This is needed, if you get sometimes
  62. // false signals from your endstops. If your endstops don't give false signals, you
  63. // can set it on for safety.
  64. #define ALWAYS_CHECK_ENDSTOPS 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement