Precision limit switches and lathe homing

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

ScotY
Posts: 654
Joined: Sat Sep 23, 2017 7:57 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Honolulu, HI

Precision limit switches and lathe homing

Post by ScotY »

I found some precision limit switches at Automation Direct. They claim 5 micron accuracy but have only 5mm travel. Would these switches be suitable for setting X home position so I don’t have to take a skim cut and measure every time I power up the lathe?
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Precision limit switches and lathe homing

Post by cnckeith »

items needed to answer
link to switch
report from your system so i can see steps per rev and turns ratios
tolerance you hope to hold
tolerance of the machine tool
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Precision limit switches and lathe homing

Post by martyscncgarage »

Like Keith said, need more info.
I have found that hall effect and proximity sensors give good repeatability.
The best repeatability comes when you use an axis motor with an encoder and its drive's ability to output that index pulse.
Use a mechanical switch to rough home, then CNC12 will move and look for the marker pulse input. Set home there.
Provided the machine is mechanically sound (Good thrust bearings, good axis motor to screw coupler or solid timing pulley/belt setup) its much more repeatable and accurate in my opinion. Infact, this is how Centroid Servo systems work. (and most others)
What you do have to be careful of is whether or not that index pulse output can drive an input without any external circuitry in order not to damage the encoder. DMM DYN2 and DYN4 have this feature engineered into them and can sink an Acorn input without external logic.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
slodat
Posts: 793
Joined: Thu Apr 12, 2018 11:16 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Precision limit switches and lathe homing

Post by slodat »

I use these inductive proximity switches on my CNC router. My homing routine for each axis works like this:
  • move to switch at 50ipm
  • move opposite direction until switch clears at 5ipm
  • move to switch at .1ipm
I have found this give very accurate homing, well within the accuracy/repeatability of my machine.
ScotY
Posts: 654
Joined: Sat Sep 23, 2017 7:57 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Honolulu, HI

Re: Precision limit switches and lathe homing

Post by ScotY »

I am using Clearpath servos (low res versions...can’t recall the steps/rev but think it’s 800?) so, unfortunately, unable to output the encoder signal. I didn’t know DMM added encoder output capability to the Dyn2 drive. I have an unused Dyn4 drive but don’t have a motor that would suit this application.

These are the switches I was looking at. 5 micron repeatability and 5mm stroke length.
https://cdn.automationdirect.com/static ... tls5um.pdf
https://cdn.automationdirect.com/static ... ightls.pdf

I have the Clearpath mounted to a THK linear slide for my lathe X axis. I believe it’s 6 turns/inch. Tolerance of my lathe is pretty sloppy. :lol: If I could repeat to a couple thou, that would be plenty good enough. I would imagine these switches should help but may have to slow the home speed so as not to crash into them. 5mm is the longest stroke available and that does not sound like much.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Precision limit switches and lathe homing

Post by martyscncgarage »

ScotY wrote: Tue Dec 17, 2019 1:18 pm I am using Clearpath servos (low res versions...can’t recall the steps/rev but think it’s 800?) so, unfortunately, unable to output the encoder signal. I didn’t know DMM added encoder output capability to the Dyn2 drive. I have an unused Dyn4 drive but don’t have a motor that would suit this application.

These are the switches I was looking at. 5 micron repeatability and 5mm stroke length.
https://cdn.automationdirect.com/static ... tls5um.pdf
https://cdn.automationdirect.com/static ... ightls.pdf

I have the Clearpath mounted to a THK linear slide for my lathe X axis. I believe it’s 6 turns/inch. Tolerance of my lathe is pretty sloppy. :lol: If I could repeat to a couple thou, that would be plenty good enough. I would imagine these switches should help but may have to slow the home speed so as not to crash into them. 5mm is the longest stroke available and that does not sound like much.
Proximity switches should do well for you then Scoty
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Richards
Posts: 693
Joined: Sun Sep 16, 2018 9:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: South Jordan, UT

Re: Precision limit switches and lathe homing

Post by Richards »

With six turns per inch on your ballscrew, each turn is 0.1667". Divide that by 800 counts per turn and you have 0.0002" per encoder count. That should work for most people.

I've noticed that many users put their proximity sensors in line with the target. I've always mounted my sensors perpendicular to the target so that the sensor would never smash into the target. Normally, I just use a bolt for the target that has had its head shaved on the lathe so that the surface of the target is flat. On rare occasions, I have used a rare earth magnet glued to the face of the target to allow more distance between the sensor and the target. The target is mounted to a movable bracket so that the desired home/limit position can easily be set. The secret for me was to always use a constant speed when approaching the target the first time, then I would back away from the target and approach it again at a very slow speed. That gave me results as repeatable as the mechanics of my router would allow.
-Mike Richards
KD5FZX
Posts: 28
Joined: Tue Nov 20, 2018 12:27 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Precision limit switches and lathe homing

Post by KD5FZX »

ScotY.

The switches you are talking about is probably the same switches I use on my mill.
They are normally closed 5 or 6mm plunger switches and VERY accurate. Made by Metrol.

I can home my Z axis many times and measure position with a test indicator each time and always get back to the same position within my measurement capability of 0.005mm.

Expensive but GOOD.
KD5FZX
Posts: 28
Joined: Tue Nov 20, 2018 12:27 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Precision limit switches and lathe homing

Post by KD5FZX »

Here is the one I use.
Attachments
plunger.JPG
KD5FZX
Posts: 28
Joined: Tue Nov 20, 2018 12:27 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Precision limit switches and lathe homing

Post by KD5FZX »

One more thing.
I have by mistake run into the switch and bent the bracket without damaging the switch.
The one pictured above has 2.8mm stroke but also comes in 5mm stroke version.
Post Reply