September 15, 2018 at 12:20 am #69240
Where do I wire in the end stop limit switches, please?
On this page, the RAMPs picture is missing:https://www.v1engineering.com/auto-square-dual-endstops/
There is a label on the Ramps board:
1 1 1 1 1 1 S
I have filled in the table with the connections I think are right for Normally Closed with Marlin Dual End-stops.
Is this correct?
Thanks very much All.September 15, 2018 at 7:03 am #69254
Yes that is correct, your board should be labeled and I have the chart directly next to the pictures.
1 user thanked author for this post.October 21, 2018 at 10:39 pm #72916
When I asked I didn’t really understand, now I can see that diagram was just wrong, so in case anyone else is as confused as I was, here is a correct diagram of the Ramps 1.4 limit switch wiring that makes much more sense:
Naturally each limit switch has two terminals, one terminal is connected to the S row, the other terminal is connected to the ground row.
With Dual End-Stops you don’t get Max limits – there aren’t enough pins. So with Dual End-stops you sacrifice Max limits to gain a minium limit on each motor. Hence you will see “//#define MAX_SOFTWARE_ENDSTOPS” (which is commented out) in configuration.h
To compensate for not having Maximum limit switches, I think you can rely on software by setting the print bed size in configuration.h here:
// The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200
Presumably, 200 is 200mm.
I’m not sure yet what happens if your G-Code tells your machine to go beyond the BED_SIZE hopefully Marlin is smart enough to reject the instruction!
I think I will wire in some max limit switches of my own to kill the machine if it ever actually hits the ends. Even if the software limits work, the machine is always susceptible to missing steps when pushed too hard and losing its position. So I’ll safeguard it simply by wiring all max-limit switches togther in parallel with the Kill button.
1 user thanked author for this post.
You must be logged in to reply to this topic.