Endstops don't work

Hello everyone,
unfortunately here I am again to bore you :stuck_out_tongue:

After solving the TFT problem, I made the square, tested the motors and connected the endstops but I can’t figure it out.

I installed 4 endstops of type: SS-3GL13PT on the SKR pro 1.2 board if I click them the light on the board turns on but the machine doesn’t stop when I home.

I read the thread:

even though I bought the board recently I built the “adapter” with the 1,5 ohm resistor but it seems that nothing has changed.

If I do an m119 in console I always have this result whether I press it or not:

I also tried to run the M211 command but everything is the same…
what can I do?

Details:

  • SKR Pro 1.2 (Marlin 2.1.1 515D)
  • TFT35 V3.0 (v.27.x)
1 Like

Just a note in case that isn’t a typo; you need it to be 1.5K ohms, not 1.5 ohms. I suspect it’s a typo because if it were 1.5 Ohms, you’d probably put the board in overcurrent.

Edit- Can you report what M119 shows in three states:

M119 when there is no connector plugged into your SKR.
M119 when your connector is plugged in, and triggered.
M119 when your connector is plugged in, and not triggered.

Hi @MakerJim ,
yes right, 1.5 K ohms I wrote wrong but the resistances are correct, sorry.

Photo M119 with everything disconnected:

Photo M119 with X1 connected, with 1.5k ohm resistance and not pressed:

Photo M119 with X1 connected, with 1.5k resistance and pressed:

PS: in the console I continue to receive “T:0 ok”… is it normal?

Did you bend or clip the diag pin on the TMC2209 drivers as per the SKR Pro instructions? The SKR Pro has a bug in the schematic that causes the endstops to be unusable if that pin is connected.

Otherwise, with the end stops disconnected, V1 firmware should show the end stops as triggered (except Z_Min, which would then show open.)

Given that the opposite is true, and connecting the switches doesn’t change it, this leads me to think the diag pin is connected on your drivers.

Absolutely.

Yes absolutely! I folded all six of them.

Then something doesn’t jive.

With the end stops disconnected, V1 firmware will show the end stops as “triggered” except for the Z Min, which will show as open.

If you put jumpers on the end stops between the ground and signal pins, they should all show “open” except the Z Min which would then show triggered.

Until you can get that situation, nothing thst you do with the end stops or wires will have any effect.

With the endstop cables disconnected, all of the endstops should show triggered. Something is seriously awry here.

My guess is that the SKR firmware is incorrect. Can you show a picture of the installed firmware?

Also, can you show a picture of the board where the endstop cables connect to the board?

HI! thanks for the help.

Here is the photo of the installed firmware:
image

The only change I made to the firmware is to activate the wifi module. Where can I check that there are no incorrect settings?

Here is the photo of the card, maybe there is some wrong jumper…

And this is the “adapter” with resistor:

Thanks and thanks again guys!

Ah! that one of the drivers with the bent foot

Looks correct, red is ground, yellow is signal, but the pin socket in the signal part doesnt look like it goes in far enough. This would result in leaving the signal pin floating, resulting in the stop reporting Triggered all the time. (Except Z Min, which would report Open.)

This is terribly confusing, since that is the opposite of what you’re showing, except that the status does not change when you trigger the pin.

Please try a few runs with M119 and also observe the LEDs by the motor ports. Except for Z Min, they should report “Triggered” when the LED is on. The Z Min should report open when the LED is on.

  • With all adapters and end stops removed from the board. This should report “Triggered” for everything except Z Min, which should report Open. All LEDs should be on.
  • With adapters installed, but no end stops plugged into them. This should report the same. If it changes, then something is weird with the adapters.
  • With jumpers installed across the ground and signal pins. All stops should report open, except Z Min, which should report Triggered. All endstop LEDs should be off.
  • With end stops plugged directly into the board. Once with switches left normal, and knce with the switches pressed. Assuming your switches are correctly wired (this is normally the outside 2 pins leaving the center alone) they ought to report correct, unless the SKR Pro has the resistor flaw, in which case the LED should switch on and off, but the reported state will not change.

Hi Dan,
The adapter cable probably came off when I took it out, I’ve already built another one but same result.

Here are some tests, unfortunately without success:

  • I reinstalled the SKR firmware with this file: V1CNC_SkrPro_Dual_2209-2.1.1 using the standard bin, without modifications.
  • The board, with everything disconnected, turns on all the red LEDs near the motors, except for the Z.
  • M119 always “open” on everything and “TRIGGERED” on Z
  • When I press a switch the light turns off both with and without the adapter and does not change in the result of the M119
  • The jumpers are all set as per the instructions:

    image

Ahhhh! I go crazy!

Thanks again!

I’m going to asks a couple of really basic questions which O don’t see addressed above.

Which terminals are you using on the switches?
What pins are they connected to on the controller?

Hi Tom,
my switches are SS-3GL13PT and are connected to the external poles (the central one empty) but I would say that I already have the problem with the switches disconnected, on the board I have red LEDs with everything disconnected, so they indicate triggered, but m119 indicates open…

I don’t have those switches. Are you using the NC and C terminals? From the online images it seems they are, but it’s best to be certain when troubleshooting.
I believe the V1 firmware expects Normally Closed switches.

I used COM and NC
image

So, when unplugged light near the engines on
when connected light off
when pressed light on

M119 always “open” on everything and “TRIGGERED” on Z (the same with adapter with resistor)

Thank you for confirming that. I don’t have that controller, so am not familiar with its ins and outs.

I do recall hearing there were issues discussed here where some boards needed resisters added to the controller. I’m assuming that’s what the adapter you posted is trying to accomplish.

I’m going to step into the background on this one, but I know folks here with first-hand experience will keep working with you until this is sorted out.

I haven’t done any other tests because at the moment I’m out of ideas…

Just some doubts:

  • Is this resistors okay?

  • To do the test I don’t need to have all 4 connectors with the resistor, one is enough, right?

anyway thanks for the help!

Looking at my own SKR Pro board…

There are jumper sockets under the drivers, and those are all empty, right?

Kind of grasping at straws myself.

My SKR Pro boards (I have 2) do not need the end stop resistors, and the firmware works as expected…

Hi Dan,
here is the photo of the jumpers under the drivers:

I positioned them as I saw in the guide, does this seem right to you?

EDIT:
Another doubt: are these warnings when I compile the firmware ok?

The fact that the board is showing not triggered when the endstop wiring is completely removed means that there is a problem with either the board or the firmware. Any investigation of endstop switch wiring, switch type, resistors, etc. will not address this underlying issue (IMO).

Is it possible that you installed the endstop resistor pigtails backward on the board at some point (with the resistor on SIG rather than VCC), which may have shorted VCC and GND together, damaging your board?

Is it also possible that the firmware is incorrect? You posted a picture above (post #8), but I don’t know enough about the MPCNC firmware versions to know if it is incorrect or not (based on the date, it looks different than the versions issued by V1). Maybe someone more familiar with MPCNC firmware versions could chime in.

You mentioned that you compiled your own firmware (with multiple errors). What happens when you install the unedited V1 official release?

One thing that really pops out at me from viewing your pictures of the SKR board is that the heat sinks appear to be very misaligned, to the point that they may be touching the solder joints on the drivers. That could be throwing things off. Whether that is an issue, and if so, if it is temporary or permanent, may need to be looked at.

1 Like

omg I don’t think so… I was careful about it… is there a way to check if something is broken?
the fact that the LEDs on the board turn on/off does not mean that it is working, right?

I tried with the standard firmware.bin and the behavior is the same.

this is why I think the photo is a little distorted… that is, they are not perfectly aligned but they don’t touch anywhere, I’ll post a photo with 2 lights: