CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-19-2010, 03:19 PM
 
Join Date: Aug 2010
Location: USA
Posts: 15
grizzlymog is on a distinguished road
Cheap and easy spindle index sensor for G540 and Mach 3

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/...ies)/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.
Attached Thumbnails
Click image for larger version

Name:	sensor_mount.jpg‎
Views:	923
Size:	136.9 KB
ID:	114957   Click image for larger version

Name:	sensor_wiring.jpg‎
Views:	918
Size:	133.8 KB
ID:	114958   Click image for larger version

Name:	tach_v_mach.jpg‎
Views:	609
Size:	107.6 KB
ID:	114959  
Reply With Quote

  #2   Ban this user!
Old 09-19-2010, 03:52 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

$25? Cheap? Nice effort, but this Hall effect sensor is 1/3 of that cost and also a straightforward connection to G540:
http://search.digikey.com/scripts/Dk...me=480-1993-ND

http://cnczone.com/forums/showthread...=106312&page=6

To paraphrase Crocodile Dundee: You call that a bargain? Now THIS is a bargain.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #3   Ban this user!
Old 09-19-2010, 04:01 PM
 
Join Date: Aug 2010
Location: USA
Posts: 15
grizzlymog is on a distinguished road

I learned a lot leading up to this project from reading through your many posts. You have a way of stating things in an easy to understand way and not overcomplicating an issue - very useful to a newbie. Thanks! I was considering the HE sensor that you found, but with my pulley/cabinet configuration it was going to be difficult to mount the thing, plus I already had these guys lying around...

Originally Posted by Crevice Reamer View Post
$25? Cheap? Nice effort, but this Hall effect sensor is 1/3 of that cost and also a straightforward connection to G540:
http://search.digikey.com/scripts/Dk...me=480-1993-ND

http://cnczone.com/forums/showthread...=106312&page=6

To paraphrase Crocodile Dundee: You call that a bargain? Now THIS is a bargain.

CR.
Reply With Quote

  #4   Ban this user!
Old 09-19-2010, 04:03 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Ah so! A bird already in hand is cheap as cheap can be. And your epoxy angle mount is truly innovative. Kudos!

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #5   Ban this user!
Old 09-19-2010, 04:16 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

BTW: That's a lathe isn't it? You should be using Mach3 Turn instead of mill. I know the G540B.xml downloads are mill configuration. You just have to make the M3Turn config files match.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-19-2010, 04:28 PM
 
Join Date: Aug 2010
Location: USA
Posts: 15
grizzlymog is on a distinguished road

Actually it's a lathe/mill. I made a separate config for each. I'm still building the retrofit. I've finished the mill axis, now working on the x/y (or x/z in Turn) so 2 of the 3 motors are just spinning on the tabletop.

Originally Posted by Crevice Reamer View Post
BTW: That's a lathe isn't it? You should be using Mach3 Turn instead of mill. I know the G540B.xml downloads are mill configuration. You just have to make the M3Turn config files match.

CR.
Reply With Quote

  #7   Ban this user!
Old 12-02-2010, 12:24 AM
 
Join Date: Jul 2008
Location: usa
Posts: 116
dirtdiggler is on a distinguished road
Thumbs up

Grizzley mog,

Thanks for posting this with photos. I have been strugling for a long time trying to figure out how to get a spindle reading off of my Bridgeport series I. There is absolutely no place to put a spindle encoder. I actually have an old inductive promity sensor. It rated 10-30 @ 200Ma. The only place I can put this sensor is inside the head to read off the bottom Varidisk, and realizing this I can't use hal effect sensor. So, what do you use to trigger the sensor in your photo, is it just a piece of bent tin? This is genius, I love the simplicity. I just need to figure out how to wire it into my C23 breakout board.
Reply With Quote

  #8   Ban this user!
Old 12-02-2010, 08:01 AM
Jeff-Birt's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 401
Jeff-Birt is on a distinguished road

$25? Cheap? Nice effort, but this Hall effect sensor is 1/3 of that cost and also a straightforward connection to G540:
http://search.digikey.com/scripts/Dk...me=480-1993-ND

http://cnczone.com/forums/showthread...=106312&page=6

To paraphrase Crocodile Dundee: You call that a bargain? Now THIS is a bargain.
I have used both of these sensors, the inductive prox and the vane type hall effect sensor. The inductive prox is much easier to use for a spindle speed sensor. Both the mounting bracket needed and the target are much simpler/easier/cheaper to make. With the vane type sensor you need to affix a slotted disc made of metal to the pulley and you wind up with a very fast spinning knife (ouch!)
__________________
Jeff Birt
Reply With Quote

  #9   Ban this user!
Old 12-02-2010, 08:24 AM
 
Join Date: Jul 2008
Location: usa
Posts: 116
dirtdiggler is on a distinguished road

I agree. If time if is money then the proximity sensor idea make more sense. I'm finding that with DIY projects you need to pick your battles. To save an extra $15 on something that will take an extra 2-3 hours to fabricate and install it's just not worth it. I also like the fact that inductive proximity sensors resists dirt, grease and noise well. Does anyone know how I would hook one of these up directly to regular breakout board to get reading in mach 3? Is it as simple as supplying power to it and hooking it directly to an input pin on the BOB, or do I need another intermediate component?

Originally Posted by Jeff-Birt View Post
I have used both of these sensors, the inductive prox and the vane type hall effect sensor. The inductive prox is much easier to use for a spindle speed sensor. Both the mounting bracket needed and the target are much simpler/easier/cheaper to make. With the vane type sensor you need to affix a slotted disc made of metal to the pulley and you wind up with a very fast spinning knife (ouch!)
Reply With Quote

  #10   Ban this user!
Old 12-03-2010, 08:22 AM
Jeff-Birt's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 401
Jeff-Birt is on a distinguished road

Does anyone know how I would hook one of these up directly to regular breakout board to get reading in mach 3?
The answer is 'it depends'

On a G540 is your sensor is an NPN, open collector sensor then you just need to hook the sensor to the appropriate power source (that shares DC Common with the G540 supply) and then hook the sensor output to the G540 input.

Depending on how the inputs are set up on your BOB you may need a different type of output sensor.
__________________
Jeff Birt
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-03-2010, 11:01 AM
 
Join Date: Aug 2010
Location: USA
Posts: 15
grizzlymog is on a distinguished road

I'm not sure it's ingenious but it's simple. Yes, I just used a piece of bent steel but any piece of ferrous metal will do. Obviously you want a piece thick enough so that it won't flop around and smack the sensor. I used a 2-part epoxy to cement it to the back of the pulley and it's held tight so far.

Originally Posted by dirtdiggler View Post
Grizzley mog,

Thanks for posting this with photos. I have been strugling for a long time trying to figure out how to get a spindle reading off of my Bridgeport series I. There is absolutely no place to put a spindle encoder. I actually have an old inductive promity sensor. It rated 10-30 @ 200Ma. The only place I can put this sensor is inside the head to read off the bottom Varidisk, and realizing this I can't use hal effect sensor. So, what do you use to trigger the sensor in your photo, is it just a piece of bent tin? This is genius, I love the simplicity. I just need to figure out how to wire it into my C23 breakout board.
Reply With Quote

  #12   Ban this user!
Old 04-03-2011, 08:35 PM
FantomMfg's Avatar  
Join Date: Dec 2008
Location: United States
Posts: 8
FantomMfg is on a distinguished road

Is there a wire diagram on how to hook a hall-effect 3 wire sensor(same as crevicereamers) to a G540 for spindle indexing on an X2? Does the hall effect need its own powersupply or can i just hook it direct to the G540?
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gecko G540 and Mach 3 Spindle control rwskinner Vertical Mill, Lathe Project Log 1 10-24-2010 04:58 PM
Need Help!- Spindle index switch and G540 cmanning Gecko Drives 1 09-14-2010 08:46 PM
lathe index mark sensor Karl_T General CNC (Mill and Lathe) Control Software (NC) 6 05-28-2007 10:39 AM
Taig / Digispeed XL spindle index sensor Dfennell Taig Mills & Lathes 1 01-01-2007 11:23 PM
easy tacho or encoder: cny70 reflective optical sensor gcamlibel General Electronics Discussion 0 10-12-2004 02:38 PM




All times are GMT -5. The time now is 04:15 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361