Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 10:32:19 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Cheap and easy spindle index sensor for G540 and Mach 3
Pages: 1   Go Down
Print
Author Topic: Cheap and easy spindle index sensor for G540 and Mach 3  (Read 1297 times)
0 Members and 2 Guests are viewing this topic.
grizzlymog
Active Member

Offline Offline

Posts: 2


View Profile
« on: September 19, 2010, 03:28:48 PM »

Here's some details of a spindle index sensor I'm using on my smithy cnc retrofit project. I have a couple of inductive proximity sensors (http://www.automationdirect.com/adc/Shopping/Catalog/Sensors_-z-_Encoders/Inductive_Proximity_Sensors/18mm_Round_(AK-z-VK1-z-PKW_Series)/Extended_Sensing_Distance_(AK1_Series)/AK1-AN-3H) on my plasma cutting gantry and figured one would make a good spindle index sensor. I've used these for years and they are super tough, surviving heat, molten metal spatter, and splashing from the water table. I found they work great as a spindle index sensor too. At 18mm dia. they are a bit large, but smaller, 12 and 8mm sensors are available.

Mach 3 likes one index pulse per rev to index the spindle rpm. I epoxied a short piece of light gauge steel angle to the back of my spindle pulley for the trigger, and mounted the sensor a few mm away so that it would sense the trigger and not the pulley (see pic). The sensor has a built-in LED which helps in adjusting the gap distance.

The wiring is straightforward. I used a 12v wall power supply to power the sensor which likes 10-30 VDC. I used a multimeter to identify the lead polarity, then connected (-) to G540 pin 12, (+) to sensor positive, and NO sensor output to G540 pin 1 (see diagram).

I tested the RPM seen by Mach with a cheapo laser tachometer and the results were identical over the full range of my lathe pulley combinations (~169-2124 rpm).

The cost of a new sensor is ~$25 and doesn't require any add-on encoder/decoder cards or slotted plates, just a small piece of scrap and some epoxy and you're good to go.


* sensor_mount.jpg (136.92 KB, 800x600 - viewed 212 times.)

* sensor_wiring.jpg (133.84 KB, 1024x691 - viewed 323 times.)

* tach_v_mach.jpg (169.44 KB, 1036x799 - viewed 237 times.)
Logged
Sam
THIS SPACE FOR RENT.
Global Moderator
*
Offline Offline

Posts: 834


View Profile WWW
« Reply #1 on: September 19, 2010, 06:37:20 PM »

Thanks for sharing your methods. Don't forget about the sensor cable. If memory serves correct, I think there about as much as the sensor.
Logged

"I sometimes think we consider the good fortune of the early bird and overlook the bad fortune of the early worm." FDR - 1922

"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
grizzlymog
Active Member

Offline Offline

Posts: 2


View Profile
« Reply #2 on: September 19, 2010, 08:51:48 PM »

Doh! Sorry about that, forgot about cabling since I had these things lying around the shop already. Cabling with one female quick disconnect runs ~$4-5 per meter.  The connectors are well worth the small added cost. I've dunked these sensors a number of times on the water table and they are apparently water tight. If you are using these things in a lathe/milling environment then you don't have to worry about coolant, etc. They have been impervious in a plasma cutting environment where - along with heat, jarring, submersion, and RF - are exposed to the dreaded fine magnetic dust, and they just perform. These are a rugged sensor/cable for a shop environment.

Thanks for sharing your methods. Don't forget about the sensor cable. If memory serves correct, I think there about as much as the sensor.
Logged
Kerry Harrison
Active Member

Offline Offline

Posts: 49


View Profile WWW
« Reply #3 on: January 03, 2011, 12:27:27 AM »

Wow this sure seems like a great spindle sensor.

Could you explain how this would be wired to a breakout board please?

Also could these be used for limit/homing switches?

Thanks much,
Kerry
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!