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 01-07-2010, 08:28 PM
 
Join Date: Mar 2006
Location: US
Posts: 98
dfurlano is on a distinguished road
G540 and Opto Endstop questions

I was wondering if anyone could give some insight on using the opto endstops

http://store.makerbot.com/catalog/pr...d/13/image/19/

with the G540?

The opto endstops require a 5v power supply and output a 0 and 5v signal.

Can this signal be directly used by the G540? From what I have read they suggest a SPST to GND inputs (TTL) but I am assuming they most likely can accept the opto but I cannot find any additional infomration.

Thanks in advance.

Dan
Reply With Quote

  #2   Ban this user!
Old 01-08-2010, 10:10 PM
 
Join Date: Mar 2006
Location: US
Posts: 98
dfurlano is on a distinguished road

Actually I just wired the switch directly into the 25 pin cable and it works fine.
Reply With Quote

  #3   Ban this user!
Old 01-14-2010, 08:59 PM
 
Join Date: Mar 2006
Location: US
Posts: 98
dfurlano is on a distinguished road

Using them as homing switches.

Z Axis



XY Axis



A Axis


Last edited by dfurlano; 01-15-2010 at 07:19 AM.
Reply With Quote

  #4   Ban this user!
Old 02-19-2010, 07:05 AM
 
Join Date: Mar 2006
Location: US
Posts: 98
dfurlano is on a distinguished road

This is what I ended up with. I found an old analytical instrument that was going to be thrown out and I salvaged the box.

Inside the box I used three power supplies. From the top there is a 12v for the spindle control. Next is the 48v motor supply. And at the bottom I used an ATX power supply for the homing switches and cooling fans.



This is the back I have two plugs on for the motors and spindle another for the homing and fans.



Here is the front from the top of the box. The Gecko G540 then the db25 (under the G540) is the spindle control, to the right is the probe and Estop. At the bottom is the db25 for the homing switches that attaches to a second parralell port and below that are the cat5 connectors to the opto endstops.



Dan
Reply With Quote

  #5  
Old 02-19-2010, 10:13 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

A phototransistor works directly with the G540. Take the emitter to the G540 GND and the collector to any G540 input. No other components are necessary.

Mariss
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-20-2010, 10:27 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Dan
Nice looking work.

Mariss,
Does this mean a phototransistor could be used for a tach with no other parts.
Reply With Quote

  #7  
Old 02-20-2010, 10:38 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

The opto will switch a G540 input without needing any other components. A practical maximum on/off rate is 1,000 on/off cycles per second. It can pass this information on to the PC and it's up to the program running on the PC to figure out what to do with this information.

Mariss
Reply With Quote

  #8   Ban this user!
Old 02-20-2010, 10:50 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

I think this means YES on the using the signal for a tach. I cant imagine needing 1000 times per second sampling for a spindle speed of less than 4-5 thousand rpms, right? Doesnt Mach have this ability to process that signal?

Originally Posted by Mariss Freimanis View Post
The opto will switch a G540 input without needing any other components. A practical maximum on/off rate is 1,000 on/off cycles per second. It can pass this information on to the PC and it's up to the program running on the PC to figure out what to do with this information.

Mariss
Reply With Quote

  #9   Ban this user!
Old 07-02-2011, 05:41 PM
 
Join Date: Mar 2006
Location: US
Posts: 98
dfurlano is on a distinguished road

Is it possible to hook up 4 homing switches to this configuration. Currently I use port #1 on the G540 as a probe input and a second parallel port for the switches. But the second port is not very robust and after several months of use dies. It would be nice to eliminate the second parallel port.

Reply With Quote

  #10   Ban this user!
Old 07-09-2011, 10:30 AM
 
Join Date: Feb 2008
Location: USA
Posts: 151
dmauch is on a distinguished road

Why not put a switch on the probe input to terminal 1. Then wire 3 of the switches to terminals 2,3 and 4. The 4th home switch would connect to the other side of a double pole doube throw switch wired to termional 1. In one position the probe is active and the home switch is inactive. In the other position the home switch is active and the proble is inactive.
Dan Mauch

Originally Posted by dfurlano View Post
Is it possible to hook up 4 homing switches to this configuration. Currently I use port #1 on the G540 as a probe input and a second parallel port for the switches. But the second port is not very robust and after several months of use dies. It would be nice to eliminate the second parallel port.

Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-09-2011, 11:24 AM
 
Join Date: Mar 2006
Location: US
Posts: 98
dfurlano is on a distinguished road

Thanks for the suggestion. The problem is that after a tool change I have a macro that homes the machine and the probe is used to set the tool offset.

This question stemmed from a problem I had with the machine that was more operator error than anything else.

When I initially set this machine up with homing switches I was interested to see how repeatable the axis were so I did not set zero at the home positions. Come to find out the switches are very repeatable and there was no need to actually set zero. This machine is dedicated to doing basically one type of operation and I never got around to changing the macro to zero at home.

A few weeks ago I set the machine up to do something very different and I used the G54 offsets and I changed them for what I was doing. I then reset the machine back to its original operation forgetting that I changed the offsets. I have since learned never to change the G54 offsets.

When I homed on the first tool change the machine crashed because the z axis was not at zero in the home position. I hit the estop. Totally pissed off I realized what I did and before I did anything else I changed the macro to ensure when the Z was at home it was at zero.

I then changed the tool and started the macro and the machine took off in the Z and crashed the part. At first I thought I screwed up the macro but nothing was making sense. If I ran a program it worked fine if I homed the machine the movement seemed random.

I then started to think it was the parallel port was not working correctly. I use LPT2 for the homing switches. So I went to the computer store and bought a new parallel port but that did not fix the problem. I then realized that somehow the parallel port address changed for LPT2. It did not change in Mach but in Windows so when I inputted the new address everything worked as expected.

Because of the sequence of events I did not consider the port address changed. Now I know.
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
Mach3/Gecko G540 setup questions mlabruyere Gecko Drives 7 12-14-2009 04:05 AM
G540 Questions Puppetworks Gecko Drives 3 10-22-2009 07:50 PM
LPT Opto isolation BOB shulio General Electronics Discussion 0 03-11-2009 07:01 PM
A couple of G540 questions cyclestart Gecko Drives 11 10-14-2008 12:51 AM
Opto-22 ? andy55 General Electronics Discussion 1 01-07-2006 03:08 PM




All times are GMT -5. The time now is 10:17 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