Browse Source

Einsy: Regular endstops and BLTOUCH pins

Based on #10131
Scott Lahteine 7 years ago
parent
commit
9e9e29ddf8
1 changed files with 26 additions and 3 deletions
  1. 26
    3
      Marlin/src/pins/pins_EINSY_RAMBO.h

+ 26
- 3
Marlin/src/pins/pins_EINSY_RAMBO.h View File

49
 //
49
 //
50
 // Limit Switches
50
 // Limit Switches
51
 //
51
 //
52
-#define X_MIN_PIN          64 //12
52
+// Only use Diag Pins when SENSORLESS_HOMING is enabled for the TMC2130 drivers.
53
+// Otherwise use a physical endstop based configuration.
54
+//
55
+// SERVO0_PIN and Z_MIN_PIN configuration for BLTOUCH sensor when combined with SENSORLESS_HOMING.
56
+//
57
+
53
 #define X_MAX_PIN          -1
58
 #define X_MAX_PIN          -1
54
-#define Y_MIN_PIN          69 //11
55
 #define Y_MAX_PIN          -1
59
 #define Y_MAX_PIN          -1
56
-#define Z_MIN_PIN          68 //10
57
 #define Z_MAX_PIN          -1
60
 #define Z_MAX_PIN          -1
58
 
61
 
62
+#if DISABLED(SENSORLESS_HOMING)
63
+
64
+  #define X_MIN_PIN          12
65
+  #define Y_MIN_PIN          11
66
+  #define Z_MIN_PIN          10
67
+
68
+#else
69
+
70
+  #define X_MIN_PIN          X_DIAG_PIN
71
+  #define Y_MIN_PIN          Y_DIAG_PIN
72
+
73
+  #if ENABLED(BLTOUCH)
74
+    #define Z_MIN_PIN        11 // Y-MIN
75
+    #define SERVO0_PIN       10 // Z-MIN
76
+  #else
77
+    #define Z_MIN_PIN        10
78
+  #endif
79
+
80
+#endif
81
+
59
 //
82
 //
60
 // Z Probe (when not Z_MIN_PIN)
83
 // Z Probe (when not Z_MIN_PIN)
61
 //
84
 //

Loading…
Cancel
Save