Limit Switch Basics

Post Reply
ejlatstl
Posts: 16
Joined: Thu May 14, 2015 1:11 pm

Limit Switch Basics

Post by ejlatstl » Tue Jan 05, 2016 9:07 pm

Hi All... Happy New Year,

I've read numerous threads that talk about limit switches, wiring, settings... and so on.

How about this basic question... How are limit switches suppose to function?

And... once I know what a properly functioning limit switch is suppose to do, what is the best way to test that it's doing it?

Am I correct in believing that in the run of a successful tool path... the limit switches should never be triggered?

If anyone knows of a soup to nuts book that covers using CNC machines for a woodworking hobby I'd love to know about it. Mind you, I want to use it as a tool... I'm not interested in building one, or improving one.

Thanks!!
Ed in St Louis

Fablicator
Posts: 114
Joined: Thu Jul 02, 2015 7:59 pm

Re: Limit Switch Basics

Post by Fablicator » Tue Jan 05, 2016 9:41 pm

ejlatstl wrote:Hi All... Happy New Year,

I've read numerous threads that talk about limit switches, wiring, settings... and so on.

How about this basic question... How are limit switches suppose to function?

And... once I know what a properly functioning limit switch is suppose to do, what is the best way to test that it's doing it?

Am I correct in believing that in the run of a successful tool path... the limit switches should never be triggered?

If anyone knows of a soup to nuts book that covers using CNC machines for a woodworking hobby I'd love to know about it. Mind you, I want to use it as a tool... I'm not interested in building one, or improving one.

Thanks!!

The primary purpose of limit switches is to provide a repeatable reference for (0,0,0) coordinates by slowly moving the machine until the switches are triggered at the beginning of a program.

The secondary purpose is to stop the machine if something goes horribly wrong and any of the axis are about to be pushed past the machine boundaries.

As for easy testing, triggering a limit switch during a run will stop the machine.

CastIrony
Posts: 650
Joined: Mon Jul 21, 2014 10:21 pm
Location: Portland, OR

Re: Limit Switch Basics

Post by CastIrony » Tue Jan 05, 2016 9:48 pm

How about this basic question... How are limit switches suppose to function?

Am I correct in believing that in the run of a successful tool path... the limit switches should never be triggered?
Limit switches should never be hit while performing a job. It basically tells the controller "you're about to crash the machine, abort immediately". There's usually two per axis, one on each side, except the z axis which typically just has one. Since opposing limit switches on a single axis should never be triggered at the same time, they're often wired together to a single pin on the controller.

Homing switches are used to zero the machine's coordinate system when you start the machine, or run a manual homing cycle. Only one homing switch per axis is needed.

Grbl allows you to use some of your limit switches as homing switches, which is very convenient, but can cause confusion when you're learning about them.

And... once I know what a properly functioning limit switch is suppose to do, what is the best way to test that it's doing it?
I havent set mine up yet, but I'm under the impression that Grbl will output limit switch trigger events to the serial console, which should allow you to test that they're wired properly.
Last edited by CastIrony on Wed Jan 06, 2016 10:20 pm, edited 1 time in total.
Shapeoko 3 #192 - Complete! Needs limit switches.

WillAdams
Posts: 8606
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: Limit Switch Basics

Post by WillAdams » Wed Jan 06, 2016 12:17 pm

Excellent discussion, which I need to capture into the wiki at: http://www.shapeoko.com/forum/viewtopic ... 86&p=58325
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets

Post Reply