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 12-06-2009, 10:42 AM
 
Join Date: Oct 2009
Location: USA
Posts: 105
ronncat is on a distinguished road
Gecko G540 input question

Before I start, please don't jump all over me for my question. While I have a good command of the english language, my understanding of electronics is VERY basic. I have done a search on my question, but lacking a PhD in electrical engineering, most of the replies went right over my head. I would appreciate if someone could answer my question in plain layman's language...

Here is my situation. I am converting an X3 mill using a Promica kit and the Gecko G540. The Promica kit includes optical homing sensors that operate on 5V. Here is a description of the sensors as provided by Marc, the owner of Promica.

"The optical sensor is basically a transistor that is operated by infra-red and the output will be ‘floating’ or pulled to ground (-ve) depending on the IR beam being there or not.



In my controller I use logic level signals ... I have a 5K resistor between the output and +5V. When the beam is broken the transistor stop conducting and the 5K resistor pulls the line high. When the beam is not broken the transistor conducts and pulls the line low.



Mach3 is configurable to see either state as ‘homed’ ... so you don’t have to worry about which state is ‘on’ or ‘off’ the switch – you can change it.



All you need is a 5 v supply across the Shield (-ve) and Red(+ve) wires and a resistor (around 5k) from the White(op) to +ve ... the White would also then be connected to any available input pin on the parallel port. I use a separate pin for each home (XYZA) but Mach3 can also handle a single pin for all..."


My understanding of Marc's explanation is that 5V is carried in a circuit from the 5V power source to the optical sensor. If the sensor is not obstructed, the current flows back to the negative pole of the power source. It does not flow to the output/signal line due to the resistor placed between v+ and the output/signal line. When the optical sensor is obstructed, current can no longer flow back to v- and therefore overcomes the resistor and flows down the output/signal line. So now the line goes high as there would be a 5V current in it.

The Gecko manual shows SPST relays connected to inputs 1-4 with an NC state. I assume that when the relay is open, the G540 sends a signal to Mach3 via the parallel port pins 10-13.

Now my questions. If I hook up the optical sensors to inputs 1-3 for my three axis, will it work? Will I fry the electronics because I'm sending current down lines that merely monitor continuity from the relays? (Input 1-4)

Should I bypass the inputs and tap into pins 10-13 on the parallel port? If I did, would this fry anything in the computer?

What is the best way to configure these optical sensors?

Please excuse my limited understanding of electronics, and if you would take the time to help, remember to speak in english, not electronese.


One more note aside...Is it possible to use the VFD to control the spindle speed of the X3 mill by sending the VFD output to the pot control on the mill. I have measured the voltage as 0-7 volts at the pot. Can the VFD output be limited to 7V so I won't stress the pot. Is there a way to configure that in Mach3?

Sorry for the long winded, multiple question thread. Thanks in advance to all
Reply With Quote

  #2   Ban this user!
Old 02-28-2010, 07:38 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

How sad you never got an answer. I truly hope you got it figured out. I too have quite a few questions about the G540 that DONT seem to be answered anywhere.
Reply With Quote

  #3   Ban this user!
Old 03-03-2010, 12:59 PM
 
Join Date: Nov 2007
Location: USA
Posts: 606
blades is on a distinguished road

That is sad. Fastest1, did you try to call Gecko directly for support? My G540 questions also went unanswered for the most part. This forum seems to be inadequate at best for noob help. You might try the bench mill forum, lots of those guys are familiar with the G540.
Reply With Quote

  #4   Ban this user!
Old 03-03-2010, 07:00 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Blades, I was just doing my preliminary reading getting ready for the transplant. I do have the G540 and as I remember with the Hobby Cnc Pro kit I built there were difficulties getting the correct information. Almost like the sticky at the top of the Gecko threads (5) pages of renditions to the original instructions? Which should I use? Looks like Peter Homann has an opinion of how the G540 instructions should be worded also (nothing against Peter as I have run his products too). Seems like there would be a cut and dry closed thread specific to each model. With moderation of those specific posts to be done by the creator only. Maybe others could debate it but not on that thread. I have also noticed here as well as Hobbycnc's forums that if you ask a question that deviates a little from the norm it gets ignored. I finally got an answer about manually controlling a wired in relay and isolating the signal from back feeding the board with a diode. Am I the only 1 who wanted manual spindle/vacuum/coolant/light or whatever control? I really am not complaining as I have found that the pursuit of the answer in this hobby seems to be what I am after not the end result of machining something for someone else. When I built my Hobby Cnc board I put it in a metal case instead of the recommended plastic 1, you would have thought I did something horrific. I never got answers on that one, got it running thru persistence. I did learn alot about grounding and how to isolate them. You would not believe how many times that demon has surfaced!
Reply With Quote

  #5   Ban this user!
Old 03-04-2010, 08:09 PM
 
Join Date: Nov 2007
Location: USA
Posts: 606
blades is on a distinguished road

Fastest1, is sounds like your expectations of this hobby pretty much parallel mine: I'm working on a 7x10 lathe conversion, but the project itself is more the hobby than actually using it when I'm done, although that's yet to be seen. When the time comes for me to buy the G540, I suppose I will contact Gecko directly if I have very specific questions that aren't covered in this forum.
Reply With Quote

Sponsored Links
  #6  
Old 03-04-2010, 10:02 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

ronncat;

I found this post tonight. I try real had but I don't catch all of them. An otpo sensor is a single-pole, single-throw switch. Connect the emitter to G540 ground, connect the collector to any G540 input. All will work then.

Mariss
Reply With Quote

  #7   Ban this user!
Old 03-05-2010, 07:30 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Blades, I started this challenge a few years ago. Someone somewhere said it was hard to understand and do. I guess that pissed me off just enough to jump in with both feet. I had no experience machining and though I work with low voltage electronics daily (I do custom home theaters), I really had no understanding of any of these products. The conversions and constant searching for the answers is what has become the challenge. At least when you are thru with your conversion you will have something that will cut almost anything.

Mariss,
Though I was frustrated when I originally wrote that response I do understand you are busy. The extra reading seems to be continuous part of this process. It is not plug and play though it is getting that way. Your products seem to be very well respected and enjoyed. I really cant wait to finish up and see my lathe run. I am very excited to see the comparison between it and my Hobby Cnc Pro kit I built a few years ago as that is the only other controller I have used. It had its challenges too.
Reply With Quote

  #8   Ban this user!
Old 03-10-2010, 12:27 PM
 
Join Date: Nov 2007
Location: USA
Posts: 606
blades is on a distinguished road

Originally Posted by Fastest1 View Post
Blades, I started this challenge a few years ago. Someone somewhere said it was hard to understand and do. I guess that pissed me off just enough to jump in with both feet.
LOL!!! Reminds me of a project I did a few years ago.... I told a buddy of mine that I wanted to turbocharge my little S-10 pickup. He laughed and actually dared me to do it.... so I did, from scratch. Turned out great!

I was a machinist for 15+ years, and I always liked the idea of table-top machining. Equipment is just cheap enough and parts readily available that it's really not that difficult. This forum also plays a very large part in the successful conversions that get done.
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
g540 input postion 1-4 question chrisw765 Gecko Drives 6 06-24-2009 07:51 AM
Need Help!- Question Gecko G540 rotger General Electronics Discussion 0 06-02-2009 03:59 PM
gecko g540 Teyber12 Benchtop Machines 3 05-31-2009 02:23 PM
G540 input not working? stoneyreef Gecko Drives 1 05-08-2009 01:52 AM
Gecko G540 Quick question mad_dog096 DIY-CNC Router Table Machines 0 01-02-2009 09:06 PM




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