Welcome To the Hoffman Amplifiers Forum

September 07, 2025, 02:39:32 am
guest image
Welcome, Guest. Please login or register.
-User Name
-Password



Hoffman Amps Forum image Author Topic: Question about CNC Router limit switc (and/or zero point switch)  (Read 15248 times)

0 Members and 1 Guest are viewing this topic.

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
My CNC Router has no limit switch and I would like to install it

there are many different ways to connect (electrically) the switch

Which is your preferred arrangement ?

Someone has councils and/or a schematic for me ?

Thanks

Franco
The world is a nice place if there is health and there are friends

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #1 on: May 30, 2016, 08:28:23 am »
OK, may be a pair of pictures will help to understand what I'm asking for

as told there are many ways to connect (electrically) the Home & the Limit Switch

in this example each Home swithc is connected separated from the other and the Limit switch are connected in series with the Stop button



while in this example the Home switch of each axis is connected in series with the Limit switch of the same axis, the Stop button is separated


Those of you that have a CNC which arrangement adopt ?

Thanks

Franco


« Last Edit: May 30, 2016, 08:31:38 am by kagliostro »
The world is a nice place if there is health and there are friends

Offline Heinz

  • Level 2
  • **
  • Posts: 324
  • Resistance is futile
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #2 on: May 30, 2016, 01:43:53 pm »
Hello Franco,

I may be wrong but I think the serial arrangement of the limit switches and the panic button in the first picture does not make sense. You should connect them in parallel so that each switch triggers a stop. With the serial connection the stop will only be triggered if ALL limit switches are pressed AND you hit the panic stop. I assume that is not what you want.

The second circuit seems a bit more logical. The panic stop can be triggered individually which is good. However, I don't think that the home and limit switches are in serial. If I understand the basics correctly home and limit switch should be at opposite ends of each axis. This would make it impossible to press both switches at the same time so with the series connection you'll never get a signal. Having home and limit switch of each axis in parallel, doesn't make sense, either, since you'll never know whether you're homing (desired) or limiting (undesired, stop). Even having multiple limit switches per axis in serial is very unlikely as all must be pressed at the same time in order produce a signal. Having multiple parallel limit switches per axis makes more sense from an electrical point of view although I can't think of a mechanical setup that would require them.

The first example with parallel switches looks like an efficient and economical solution to me (only one input pin required) unless you want to be able to distinguish the reason for the stop, e.g. for an error display.
in tranquilitate vis

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #3 on: May 30, 2016, 02:22:39 pm »
Ciao Heinz

Thanks for the answer, the switch I've under hand has both

but I think that the connection on the switch that is used is the NC (Normally Closed) not the NO (Normally Open)

This changes things or not ?

It will be interesting to know how Doug has the switch arranged on his CNC

Franco
« Last Edit: May 30, 2016, 04:39:18 pm by kagliostro »
The world is a nice place if there is health and there are friends

Offline Heinz

  • Level 2
  • **
  • Posts: 324
  • Resistance is futile
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #4 on: May 30, 2016, 02:25:25 pm »
You're right. If the switches are NC then it will work. I had not thought of that.
in tranquilitate vis

Offline shooter

  • Level 5
  • *******
  • Posts: 11014
  • Karma Loves haters
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #5 on: May 31, 2016, 08:33:49 am »
Fwiw, all the medical systems I worked on, primarily used || design with redundant circuits, typically opto switch, backed up by mechanical switch.  The E-stop always over-ruled everything.  G.E. did have a series string for all *door* interlocks, around 30 in series, over 3 rooms, with NO indication, so about 90% of the *non-critical* switches were by-passed.
Went Class C for efficiency

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #6 on: May 31, 2016, 10:54:38 am »
Thanks for the info Shooter

Franco
The world is a nice place if there is health and there are friends

Offline Heinz

  • Level 2
  • **
  • Posts: 324
  • Resistance is futile
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #7 on: May 31, 2016, 11:06:09 am »
I think the main plus of the series connection is the fact that any failure - including a break in the wire - will trigger the stop.
in tranquilitate vis

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #8 on: May 31, 2016, 01:33:05 pm »
I agree


Franco
The world is a nice place if there is health and there are friends

Offline PRR

  • Level 5
  • *******
  • Posts: 17082
  • Maine USA
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #9 on: May 31, 2016, 02:08:40 pm »
Normally closed (kill on open) is widely used in alarm systems.

Window-tape (metal foil around the glass) is naturally normally closed (opens when glass cracks through the foil), no real choice.

Normally closed also reduces the building wiring. You have ONE wire going around the building and back instead of two.

And normally closed is "fail safe" in the sense that if a wire breaks, the alarm goes-off as soon as you set it, or the machine won't run.

Some other sensors are naturally normally open, and an alarm system will have additional terminals to sense that.

None of this is important to a small machine. Mechanical switches are often both NC and NO. Wire cost is small.

I would have thought they would run individual wire-pairs to each switch. Then the main display could say "X limit hit", "Red button hit" instead of just "fault". But I guess on a small machine you can quickly see which motion has gone too far. And individual pairs greatly increases the number of screw terminals. If they give you a single "kill" circuit, you can series-up all your panic and limit switches so if any one goes OPEN the machine stops.
« Last Edit: May 31, 2016, 02:11:12 pm by PRR »

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #10 on: May 31, 2016, 02:34:44 pm »
Thanks PRR

Franco
The world is a nice place if there is health and there are friends

Offline G._Hoffman

  • Level 3
  • ***
  • Posts: 1417
  • I love tube amps
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #11 on: June 01, 2016, 05:13:32 am »
Mine are all normally closed, normally high, and all in one loop, so it only takes one input.  It works great!


Gabriel

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #12 on: June 02, 2016, 01:08:03 pm »
Thanks Gabriel

Franco
The world is a nice place if there is health and there are friends

Offline G._Hoffman

  • Level 3
  • ***
  • Posts: 1417
  • I love tube amps
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #13 on: June 02, 2016, 05:02:19 pm »
Thanks Gabriel

Franco

The idea is to make sure there is current flowing through the whole loop, so the chip is sure to notice a change.


Gabriel

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #14 on: June 03, 2016, 03:25:08 pm »
I use probotix boards

All the NC switches have their own connections on the board
They are not in series

In Mach 3, whatever switch gets opened shows on the display
If switches were in series, you could not tell which switch was triggered


Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #15 on: June 04, 2016, 02:10:54 am »
Thanks also to you Doug

Franco
The world is a nice place if there is health and there are friends

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #16 on: June 04, 2016, 07:36:00 am »
I have two NC switches for each of the X, Y  and Z axis

The two X Limit switches are in series
The two Y Limit switches are in series
The two Z Limit switches are in series

All the switches go to their own pin on the breakout board
The other side of the switches goes to the common ground pin on the breakout board

That way, if either one of the two limit switches for each axis gets opened,
Mach 3 shows it on the display for the axis that has reached it's limit

I use lever switches that can be NC or NC
You can set up an adjustable screw that touches the lever
That way you can set the switch open point very precisely with the screw

Offline G._Hoffman

  • Level 3
  • ***
  • Posts: 1417
  • I love tube amps
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #17 on: June 04, 2016, 05:24:25 pm »
In Mach 3, whatever switch gets opened shows on the display
If switches were in series, you could not tell which switch was triggered

I've never had a problem figuring out which one was just moving, and having them all in series means I can use the other inputs for other stuff.


Gabriel

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #18 on: June 04, 2016, 08:00:53 pm »
I have had problems before with an axis triggering a limit switch

It's nice to actually know which one is causing the problem

Offline shooter

  • Level 5
  • *******
  • Posts: 11014
  • Karma Loves haters
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #19 on: June 05, 2016, 09:11:36 am »
Quote
It's nice to actually know
+1
the more complex you get, the faster you can find n fix it.  Dougs *redundant* switching per axis is good practice, switches are pennies, motors and gears and possibly limbs are expensive
Went Class C for efficiency

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #20 on: June 05, 2016, 10:25:02 am »
Thanks to all

Franco
The world is a nice place if there is health and there are friends

Offline PRR

  • Level 5
  • *******
  • Posts: 17082
  • Maine USA
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #21 on: June 05, 2016, 11:25:12 am »
> switches are pennies

Yes (many pennies for good ones); but controller INput screws are another cost and size issue.

It's not a big deal. A DIY CNC operator can spot a problem without clues from the controller. In a mass production operation with low-pay workers, more feedback and more log data might improve production, but still would not run itself and clear all jams.
« Last Edit: June 06, 2016, 05:06:12 pm by PRR »

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #22 on: June 05, 2016, 12:09:22 pm »
Make sure you use precision switches
The ones with the lever action in my pic above work great
The contacts make and break very cleanly with no bouncing

I used some plunger type switches when I first built my machine
They triggered themselves from vibration once in a while
They also had less than accurate make and break contact points
It really sucks to have a limit switch get triggered in the middle of a job and nothing was even close to the switch to make it trigger

Here's a shot of Mach3 as I pressed on one of the X axis limit switches
Notice the yellow leds that are lit up
« Last Edit: June 05, 2016, 12:12:24 pm by EL34 »

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #23 on: June 07, 2016, 02:11:25 am »
Thanks for the info and the photo

--

I got some switch at a Ham Fest, they are brand new and acting them with fingers seem of good qualitythey

are not too small, has lever with a small wheel on the top (now I haven't it under hand but I'll make a photo and post it)

--

On the CNC, for now, I arranged only the ass Z switch attachment and I've installed two screws as to be able to have a fine regulation of the switch intervention


EDIT:

Here the photo of the Matsushita switch and how I've arranged the screw for fine regulation












Franco
The world is a nice place if there is health and there are friends

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #24 on: June 07, 2016, 10:47:28 am »
Looks good franco
Do you have extra nuts to lock the screws in place?

Offline PRR

  • Level 5
  • *******
  • Posts: 17082
  • Maine USA
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #25 on: June 07, 2016, 10:51:38 am »
> photo of the Matsushita switch

A fine old design, still the go-to switch for many jobs.

Invented around 1932, MicroSwitch company formed in 1937. VERY common in 1950s-1960s, now owned by Honeywell, and never went out of style. Yours is the Japanese equivalent. I would trust a Matsushita to be good-as the originals. (eBay has 10/$1 look-alikes which might not be as good.)

https://en.wikipedia.org/wiki/Miniature_snap-action_switch

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #26 on: June 07, 2016, 02:47:46 pm »
The hole in the aluminium is threaded and the nut is to lock rthe screw at the right point

---

I got the switch at an electronic fair, there were also other that were cheaper but I preferred this and paied ..... ??? .... 1 or 1.5 € each

Franco
The world is a nice place if there is health and there are friends

Offline G._Hoffman

  • Level 3
  • ***
  • Posts: 1417
  • I love tube amps
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #27 on: June 07, 2016, 05:25:00 pm »
It tends to be best not to run the switch directly into a stop - it can easily put too much force on the switch and break the actuator, and also makes the issue of switch bounce a bigger problem.  It is much better to actuate the switch with a ramped plane, which is gentler on the switch, and will induce less switch bounce (making it more repeatable).  Like so:


I wrecked too many switches before I finally listened to the folks telling me that one!!!



Gabriel

Offline shooter

  • Level 5
  • *******
  • Posts: 11014
  • Karma Loves haters
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #28 on: June 07, 2016, 08:42:21 pm »
Quote
best not to run the switch directly into a stop
+1
all the "roller" type switches I serviced, and there were LOTS!, used Gabriel's ramp type stop, usually 2 switches and 2 slightly off ramps, beyond that was a mechanical stop, you didn't want Gramma shooting out the end off an MRI :icon_biggrin:
Went Class C for efficiency

Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #29 on: June 08, 2016, 06:37:46 am »
I can agree about the use of ramp

my CNC controller is provided of the inputs necessary to the switch

but the CNC isn't mechanically prepared to install the switch

so I must use the best compromise I can

Franco
The world is a nice place if there is health and there are friends

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #30 on: June 09, 2016, 06:31:57 am »
I have 6 limit switches and all of them are set up with screw stops

Never had a problem with this system
The lever switches I use are very dependable with snap action levers

They have been in use for many years on my machine and my machine gets used a bunch

Running the screw heads into the tips of the levers, there's no way it can damage the switch by pushing too far
The levers on my switches can bend if needed
The switch either works or it does not

Most likely, it's how you set up your switches if you are going to have problems or not
And the type of switch would matter also

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10407
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #31 on: June 09, 2016, 06:54:30 am »
I also use the same snap action lever switches on my 3D printer, but without screws

The moving Axis just contact the switches like in the pic below


Offline kagliostro

  • Level 5
  • *******
  • Posts: 7739
Hoffman Amps Forum image
Re: Question about CNC Router limit switc (and/or zero point switch)
« Reply #32 on: June 09, 2016, 04:46:13 pm »
Thanks for sharing this info Doug

Franco
The world is a nice place if there is health and there are friends

 


Choose a link from the
Hoffman Amplifiers parts catalog
Mobile Device
Catalog Link
Yard Sale
Discontinued
Misc. Hardware
What's New Board Building
 Parts
Amp trim
Handles
Lamps
Diodes
Hoffman Turret
 Boards
Channel
Switching
Resistors Fender Eyelet
 Boards
Screws/Nuts
Washers
Jacks/Plugs
Connectors
Misc Eyelet
Boards
Tools
Capacitors Custom Boards
Tubes
Valves
Pots
Knobs
Fuses/Cords Chassis
Tube
Sockets
Switches Wire
Cable


Handy Links
Tube Amp Library
Tube Amp
Schematics library
Design a custom Eyelet or
Turret Board
DIY Layout Creator
File analyzer program
DIY Layout Creator
File library
Transformer Wiring
Diagrams
Hoffmanamps
Facebook page
Hoffman Amplifiers
Discount Program


password