# Thread: Limit Switch Help-How many?

1. ## Limit Switch Help-How many?

I hope this question is understandable, if so and someone can answer it for me, Thank you very much. Your help and knowledge is always greatly appreciated.
Craig.

I am in the process of wiring limit switches and I have 2 on the Z-Axis as well as on the X-Axis.

The machine I have built has 2 stepper motors that drive the gantry along the Y-Axis, do I need only 2 switches on the Y-Axis 1 at the positive and 1 at the negative ends of travel or do I need 4, 2 at positive and 2 at negative?

To connect the wires for the limit switches to the breakout board terminals would I connect them using this example:

The + and- designates positive or negative travel of the designated axis, NOT THE POWER SOURCE.
+Z-Axis Red wire to terminal 10
+Z-Axis Black wire to terminal 5v
-Z-Axis Red wire to terminal 10
-Z-Axis Black wire to terminal 5v

+X-Axis Red wire to terminal 11
+X-Axis Black wire to terminal 5v
-X-Axis Red wire to terminal 11
-X-Axis Black wire to terminal 5v

+Y-Axis Red wire to terminal 12
+Y-Axis Black wire to terminal 5v
-Y-Axis Red wire to terminal 12
-Y-Axis Black wire to terminal 5v

If wiring 4 limit switches are needed on the Y-Axis would it be like this?
Left+Y-Axis Red wire to terminal 12
Left+Y-Axis Black wire to terminal 5v
Left-Y-Axis Red wire to terminal 12
Left-Y-Axis Black wire to terminal 5v

Right+Y-Axis Red wire to terminal 13
Right+Y-Axis Black wire to terminal 5v
Right-Y-Axis Red wire to terminal 13
Right-Y-Axis Black wire to terminal 5v

2. With steppers, you really only need two switches per axis, assuming you've slaved one of the steppers on your Y-axis to the other. Servos, depending on how they've been set up, are a different story.

Mark

3. Mark (wendtmk)
Thank you for your help and response.
Craig

4. Craig,

You're very much welcome.

Mark

• If your using Mach3, and want the slaved motors to "auto square" the gantry while homing, you'll need two switches on the Y axis at the Home end.