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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #13   Ban this user!
Old 10-03-2008, 05:20 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

I was having trouble with this sort of thing on my machine, so I decided to use 24Volt (my motor supply) for my limit switches and the problem vanished, same cabling.

I had to make a little circuit to optoisolate the motor supply from the 5V logic but it was very basic, and I breadboarded it, if you want details let me know.

The only time I get trips now is when I lean over the machine while watching it work and accidently bump a limit switch, I don't think they make a circuit to stop that from happening

Cheers.

Russell.
Reply With Quote

  #14   Ban this user!
Old 10-03-2008, 07:28 AM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,357
Bubba is on a distinguished road

I tend to agree with Russell on the voltage situation. The designer of my BOB and I have had discussions along this line. However to simply change the existing design on the working board is not quite that simple. First off, the resistors for the optos are of the sim type and quite small. (to small for this old man and his eyes) and would require other circuit changes (voltage supply is on board).

However, I still believe there is a coding problem as the anomaly gives a generic "a limit has tripped" message. This is not "A axis has tripped" as that is neither encoded nor is there a limit for the A axis. Somehow, the error routine is called giving this message from some other point. I could well be a valid trip for some reason, but it is not giving the proper message.

I also know there is now a problem with the voltage on the machine side of the BOB also. The 5V for this side is derived by use of a DC-DC converter and recently, I found I could not enable the 4 Gecko drives. After a quick trip to my handy dandy Fluke, I found the output voltage of the 5V converter was around 3V!!!! Well, doing some temp rigging with a 5V wall wort with a higher power rating, I found the problem seems to be one of the Geckos as can get 3 of the 4 to enable. The one that won't is an original version of a 340. So I suspect this may be a problem for some reason. Now I just have to dig in the control cabinet to replace it with a spare that I have. Of course as Murphy would have it, it is the one in the most congested space and being of the original type, does not have the removable terminal block:{(
__________________
Art
AKA Country Bubba (Older Than Dirt)
Reply With Quote

  #15   Ban this user!
Old 10-03-2008, 07:59 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Yeah I guess you have a point, simply hacking into a commercial BOB could be dangerous, my stuff is all homebrew so there is plenty of room for hammer and chisel

Russell.
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 10-03-2008, 08:07 AM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,357
Bubba is on a distinguished road

Russell,
My board "was" intended to be commercial, but I have the one and only prototype ever soldered up. You might say that I am the beta (alpha) tester. And other than this one problem which may or may not be because of the board, I am willing to live with it and worry about my next design. This one has some good ideas on it and I understand how it works. I have plans to cnc my lathe so will need another BOB and intended to design one based on the principles I have in this one as well as some from your threads and others
__________________
Art
AKA Country Bubba (Older Than Dirt)
Reply With Quote

  #17   Ban this user!
Old 10-03-2008, 02:44 PM
 
Join Date: Sep 2007
Location: USA
Posts: 57
HakBot is on a distinguished road

my case this is an intermittent problem.
I may go a couple of months before a trip may occur. I also note no particular pattern to this happening!
Mine occurs much more often. Maybe 3 times when milling a small 2"x3" part.
Reply With Quote

  #18   Ban this user!
Old 10-03-2008, 08:29 PM
cadmonkey's Avatar  
Join Date: Mar 2006
Location: USA
Posts: 304
cadmonkey is on a distinguished road

I came across this and don't really have any answers or suggestions but in reading I wanted to make a comment about Stepper Monkey's suggestion.

Safe machine building practice suggests that controls intended to stop operation be logic LOW when in the tripped status. If your BOB doesn't support this then there are possibly some work arounds I'll mention at the end.

The underlying theory of the tripped state being a logic LOW state is that if a wire is cut, broken or shorts out to the machine (which 99.9% of the time is going to be ground - though whether referenced to logic ground or not making a difference could be debated with all the EMI generated by the movement of the machine but that's a larger and more complex debate) or if a power source separate from the controller fails - in my setup a charge pump switches power to everything other than the computer and the opto isolator dedicated to the charge pump so if that or anything after it fails there is no voltage at the limits, the drives, the spindle, anything - the control software - in my case EMC - see's a wholesale lack of "SAFE" signals since they are all expected to be HIGH under normal operating conditions.

Not trying to be a burr under anyones saddle, just trying to save a few fingers if I can.

The work arounds for the limits, if your BOB doesn't have the flexibility to let you run a switches as a high condition as the normal good to go condition, would be to utilize the PC 5V power supply (fused of course) and wire it through each switch using the normally closed terminals so that if the switch isn't activated the logic 5V of the PC is run back to the parallel port as the limit signal. If your software doesn't let you look for them as high being the go state then you're stuck with that limitation (and then I'd suggest looking at using EMC or Mach if that makes you more comfortable).

I hope I didn't offend anyone and everyone had the patience to read through this whole post, and that at least the concept makes sense. I would hate to see someone's part, or worst case scenario a finger, hand, etc. ruined because a wall wort died and there was no 5V signal to be seen so everything kept running because the software saw no 5V signal to tell it to stop doing what it was doing.

My .02 - and I hope your mileage doesn't vary If you have definitive reasons not to wire it as such I'd love to hear them, but in my years servicing, rebuilding and a few design tasks on a lot of equipment of many different types, any mechanical limit or interlock was HIGH in the safe to run state and LOW in the stop everything state.

HTH
__________________
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com
Reply With Quote

  #19   Ban this user!
Old 10-04-2008, 01:01 AM
 
Join Date: Jan 2007
Location: USA
Posts: 634
Stepper Monkey is on a distinguished road

Very good point there cadmonkey.

I never looked at setting up the pin logic for the limit switches from a fail soft or fail safe perspective before. It is an excellent point.

I have always set my systems with the limits active high simply for convenience and interference reasons, but I never did give a thought to how that behaved for safety reasons. Kind of stupid of me now I look back on it. Especially using optocouplers on everything it is even more important as there is an extra potential point-of-failure added. Only sheer luck I won't have to go back and rewire now!

Makes a lot of sense. Best practice would definitely call for active high.
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
E-stop false triggers Mooser Xylotex 3 12-16-2007 09:52 AM
Limit swtich newbie question mealman General Electronics Discussion 10 09-24-2007 01:16 AM
True Or False(home/limit Option) FLUTE HEAD TurboCNC 4 08-03-2007 09:03 AM
False Signal From Proximity Detector Geof Haas Mills 7 07-17-2006 03:01 PM
Enable = False while doing other stuff? murphy625 CamSoft Products 7 03-30-2005 12:48 PM




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