<p>I have an old Solidoodle 2 that I bought broken from a garage sale that I am converting to use RAMPS 1.4 with Marlin Firmware. All the motors work correctly, I am just having issues getting the endstops to work.<br><br> </p>

<p>I am using a regular limit switch with NC going to the signal pin and the other to ground. I have this switch plugged into first header column for X-min. My endstop configuration is currently:<br></p>

<pre><code>//=========================================================================== 
//============================== Endstop Settings ===========================
//===========================================================================

// @section homing

// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG true
#define USE_YMIN_PLUG true
#define USE_ZMIN_PLUG true
//#define USE_XMAX_PLUG false
//#define USE_YMAX_PLUG false
//#define USE_ZMAX_PLUG false

// coarse Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED(ENDSTOPPULLUPS)
  // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  //#define ENDSTOPPULLUP_ZMAX
  //#define ENDSTOPPULLUP_XMIN
  //#define ENDSTOPPULLUP_YMIN
  //#define ENDSTOPPULLUP_ZMIN
  //#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
</code></pre>

<p>I have X-min enabled and inverted. When I send an M119 (endstop status code) I recieve:</p>

<pre><code>Send: M119
Recv: Reporting endstop status
Recv: x_min: open
Recv: y_min: TRIGGERED
Recv: z_min: TRIGGERED
</code></pre>

<p>And then when I press down the X endstop with my hand I get:</p>

<pre><code>Send: M119
Recv: Reporting endstop status
Recv: x_min: open
Recv: y_min: TRIGGERED
Recv: z_min: TRIGGERED
</code></pre>

<p>-No change. There is no mechanical failure with the switches, I've tested it with a continuity tester. I have even shorted the signal and ground pins on the Ramps board with a jumper wire and I still haven't seen any change.</p>

<p>Where is the fault at?</p>

[{'answer_id': 3040, 'author': 'SteveP', 'author_id': 4863, 'author_profile': 'https://3dprinting.stackexchange.com/users/4863', 'pm_score': 3, 'selected': True, 'text': "<p>try uncommenting the following lines to enable endstop detection on all pins for troubleshooting.</p>\n\n<pre><code>//#define USE_XMAX_PLUG false\n//#define USE_YMAX_PLUG false\n//#define USE_ZMAX_PLUG false\n</code></pre>\n\n<p>This way the M119 will show any changes.</p>\n\n<p>The only thing I can think of is that either the switch is plugged into the wrong pin on the ramps board (Max instead of Min) or the switch doesn't require the pullup (your could try commenting that back as a second test as well)</p>\n"}, {'answer_id': 15369, 'author': 'uw5ego', 'author_id': 26385, 'author_profile': 'https://3dprinting.stackexchange.com/users/26385', 'pm_score': 0, 'selected': False, 'text': '<p>Yesterday I has same error with board MKS Robin Nano with Marlin 2.0.6.</p>\n<p>Try to find and uncomment this definition:</p>\n<pre><code>#define ENDSTOP_INTERRUPTS_FEATURE\n</code></pre>\n<p>Failure was in disabled endstop interrupts and broken part of code, which going to home and unchecks endstop status between steps. But if you activated endstop before sending homing command - it will work as needed.</p>\n'}, {'answer_id': 16710, 'author': 'Richard Ryan', 'author_id': 29292, 'author_profile': 'https://3dprinting.stackexchange.com/users/29292', 'pm_score': 0, 'selected': False, 'text': '<p>After fighting with this for a while, I found out on the end stop pins, if coming from another setup like mine, you need to switch the ground pin to the center of the connector and the 5 volt pin to the pin it is reading, for example 1.29 pin on skr 1.4.</p>\n<p>Once you do that then it will read the status of the pin.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/2996', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/4251/']