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
  #1   Ban this user!
Old 10-02-2008, 04:45 PM
 
Join Date: Sep 2007
Location: USA
Posts: 50
HakBot is on a distinguished road
Limit swtich false trigger

Hello,

I have a Taig mill powered by a xylotex 3 axis board and turbocnc software. I have setup 6 limit switches according to the xylotex instructions. http://www.xylotex.com/images/xylotexlimits%5B1%5D.jpg

I am currently having a problem with false switch trips when running a gcode program. It usually reports 2-3 false positives per run. The limit switches do work so I believe I have it all setup correctly with a 10k ohm resistor installed. Does anyone have any ideas as to why turbo cnc reports the limit switches as tripped and how I can prevent it? Thanks!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-02-2008, 05:06 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road
In a way, I am happy to see someone else have this problem. Maybe between us, we can find a solution.
I also run Turbocnc (V4.01) and at times, have had a similar situation where for unknown reasons, it would trip out and give an indication that a limit had tripped. A check of each of the limits would show that none was near tripping. In my case, I have 5 switches setup on my machine.

Because previous versions of Turbocnc had given the limit that was tripped, I did some tweaking of Turbocnc to put that function back in to tell me WHICH limit tripped.

Well imagine my surprise when I got a fault indicating "A limit switch has tripped"; HUH, that is not possible as it has to tell me which switch has tripped! To date, I cannot explain it and cannot find in the code HOW it can fault out with this message without giving me an indication of which axis has tripped.
I have also discussed this with Dave K and he has no idea either.

In your case, make sure that your lines are not close to power lines where they can pick up extraneous signals or that vibration is causing the problem.
__________________
Art
AKA Country Bubba (Older Than Dirt)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-02-2008, 05:06 PM
The Blight's Avatar  
Join Date: Sep 2006
Location: Denmark
Age: 26
Posts: 556
The Blight is on a distinguished road
I have had the same problem for a while now, and this only happens on my 2nd parallel port (PCI card type). Are you running TCNC on a laptop?
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-02-2008, 05:19 PM
fretsman's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 771
fretsman is on a distinguished road
Buy me a Beer?
Are your cables shielded? They can pick up stray signals/noise if they're not.

Dave
__________________
Dave->..
http://tinyurl.com/DLAManufacturing
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-02-2008, 05:19 PM
 
Join Date: Sep 2007
Location: USA
Posts: 50
HakBot is on a distinguished road
I am running on a desktop pc. The parallel port is built into the motherboard.

Hey Bubba, how were you able to get turbocnc to tell you what switch was tripped? What version of turbocnc was this? I am curious to see if it is a different switch or the same on that is always giving the false trigger.

The cable I am using is something I picked up from Mouser. Multi-Conductor Cable SHIELD 4C 24AWG. http://www.mouser.com/Search/Product...ey566-9534-100
Seems like good wire to me.

Last edited by HakBot; 10-02-2008 at 05:35 PM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-02-2008, 05:24 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road
I run mine on a desktop (port on the motherboard) and have a solid state drive. There is not other software on this machine. The only add in drivers are for usb to allow use of a thumb drive to transfer files.
__________________
Art
AKA Country Bubba (Older Than Dirt)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-02-2008, 05:37 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road
HakBot,
I went into the source code and made some changes (based on MY machine paramaters) and then recompiled it. Whenever I manually trip one of the axis, it give the appropriate message such as "X Limit Tripped".

To do it, I had to violate an admonition from Tony G not to mess with motion.pas, but I did to see if there was a pattern to the problem.
__________________
Art
AKA Country Bubba (Older Than Dirt)
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-02-2008, 05:56 PM
 
Join Date: Jan 2007
Location: USA
Posts: 634
Stepper Monkey is on a distinguished road
Could likely be interference if it isn't actually a software problem. Shielding and proper routing of wiring is key, but a sloppy and fast way to check it is to simply reverse your active high/active low settings so that in the non-tripped state it is constantly high, and tripped it goes low.
Not a great replacement for proper shielding, but it does keep false positives from happening if it is indeed a shielding issue, as if low is the default state interference can make it go high and give a false trip, interference obviously can't happen as easily the other way round and force a pin to go low.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 10-02-2008, 06:01 PM
 
Join Date: Sep 2007
Location: USA
Posts: 50
HakBot is on a distinguished road
When you talk of shielding are you talking about shielding from the spindle motor/cnc control power wires or are you referring to the positive line running to the limit switches?

Good idea with the active high/low reversal.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-02-2008, 06:01 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road
Stepper Monkey,
With all due respect, HUH! by doing this without a complete wiring change, it will always be in a tripped state. I can't speak for the other guys, but in 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!
__________________
Art
AKA Country Bubba (Older Than Dirt)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-03-2008, 01:15 AM
 
Join Date: Oct 2007
Location: New Zealand
Posts: 37
Clot is on a distinguished road
I get fauls tripping too but only on my Z axis. Its driving me mad! I resort to upluginh my Z once its ready to run to ensure that program is not interupted. Blimmin annoying...
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-03-2008, 04:37 AM
 
Join Date: Jan 2007
Location: USA
Posts: 634
Stepper Monkey is on a distinguished road
Bubba - don't know how yours are wired exactly, but it shouldn't need much if any rewiring at all. Number of ways to do it, but basically you can make tripping the switch act to sink an input as readily as bring it high. You can make a resistor in a circuit act to pull-up or pull-down just as easily if that helps any.
Tweet this Post!Share on Facebook
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 10:52 AM
Limit swtich newbie question mealman General Electronics Discussion 10 09-24-2007 02:16 AM
True Or False(home/limit Option) FLUTE HEAD TurboCNC 4 08-03-2007 10:03 AM
False Signal From Proximity Detector Geof Haas Mills 7 07-17-2006 04:01 PM
Enable = False while doing other stuff? murphy625 CamSoft Products 7 03-30-2005 01:48 PM




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