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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-17-2007, 05:30 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road
Limit switch ???

I have a limit switch that persistently trips during a program and requires me to stop the program, re-reference etc. I need some help in trouble shooting this thing. Following info might help:

Mach for the controller

Micro switches for the limits and home combined. A total of three dual purpose switches.

Mach does not indicate which switch is tripping.

Switch wires are shielded and grounded with the only bare area just before the screw terminals.

X and Y switchs are mounted upside down with the plunger hanging down.

Z switch is mounted with the plunger horziontal.

Wired for nc.

Due to Mach allowing it, Z and Y are using the same pins but when referencing the axis reference at different times.

Limit are set so any switch will Estop the machine.


Any help would be appreciated. I am at a loss and this is costing me precious time.

Mike



General Purpose Snap Action Switch, Actuator Roller Plunger, Panel Mount, Maximum Operating Force 8.8 to 12.3 Ounces, Maximum Pre Travel 0.016 Inch
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

  #2   Ban this user!
Old 07-24-2007, 01:54 AM
 
Join Date: Dec 2003
Location: UK
Posts: 218
UKRobotics is on a distinguished road

Not wanting to hijack your thread or anything but I have a mach/limit question which you might be able to advise me on....

Is it possible to use a single input for both x+ x- and x home ?
__________________
Dom
http://www.ukrobotics.com/projects
Reply With Quote

  #3   Ban this user!
Old 07-24-2007, 03:52 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

A couple of points. How much current do you have flowing throught the limit switches? S/B 5ma or more. Do you have a value in mach for debounce?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #4   Ban this user!
Old 07-24-2007, 05:44 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

Originally Posted by UKRobotics View Post
Not wanting to hijack your thread or anything but I have a mach/limit question which you might be able to advise me on....

Is it possible to use a single input for both x+ x- and x home ?

Uk I am not concerned with thread content if someone needs help!

How well do I know the feeling of needing help.

With Mach software you can use both the +- on one switch and in fact I have my y +- and my z+ all on the same input.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

  #5   Ban this user!
Old 07-24-2007, 05:48 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

Originally Posted by pminmo View Post
A couple of points. How much current do you have flowing throught the limit switches? S/B 5ma or more. Do you have a value in mach for debounce?
Hi Phil,

I had 5vdc running through the switches with a 2000 debounce set it Mach.

I posted this over on both the Mach forums and Mariss had mentioned using a .1uf cap across the switch in an earlier thread and someone brought that to my attention. So......I installed the caps and haven't had an interrupt since, including when I should have!

I have the money coming tomorrow to buy top notch switches and will be replacing them as quickly as possible.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-24-2007, 07:26 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

I was going to suggest a cap, but if you didn't have any debounce set, that would be the first option. Regarding 5V on the switches, there is a resistor some where in the circuit to limit current. It needs to be 1K or less.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #7   Ban this user!
Old 07-24-2007, 08:33 PM
 
Join Date: May 2006
Location: saskatoon
Posts: 12
something2do is on a distinguished road

Originally Posted by turmite View Post
I have a limit switch that persistently trips during a program and requires me to stop the program, re-reference etc. I need some help in trouble shooting this thing. Following info might help:

Mach for the controller

Micro switches for the limits and home combined. A total of three dual purpose switches.

Mach does not indicate which switch is tripping.

Switch wires are shielded and grounded with the only bare area just before the screw terminals.

X and Y switchs are mounted upside down with the plunger hanging down.

Z switch is mounted with the plunger horziontal.

Wired for nc.

Due to Mach allowing it, Z and Y are using the same pins but when referencing the axis reference at different times.

Limit are set so any switch will Estop the machine.


Any help would be appreciated. I am at a loss and this is costing me precious time.

Mike



General Purpose Snap Action Switch, Actuator Roller Plunger, Panel Mount, Maximum Operating Force 8.8 to 12.3 Ounces, Maximum Pre Travel 0.016 Inch
I just changed my drivers to full step and moved my speed up 50%. Now miine is doing the same almost like when it should loose a step it trips the limits .Running steppers? I change the speed back it runs a full program.
Reply With Quote

  #8   Ban this user!
Old 07-24-2007, 10:06 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

Originally Posted by pminmo View Post
I was going to suggest a cap, but if you didn't have any debounce set, that would be the first option. Regarding 5V on the switches, there is a resistor some where in the circuit to limit current. It needs to be 1K or less.
Yep Phil I got the 1k resistor in too. I plan on installing either optical, inductive or capacitive. I have to get some advice first. The optical worries me a little due to this being a wood and foam machine that does create a lot of dust and very floaty shavings with the foam.

Any advice?

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

  #9   Ban this user!
Old 07-24-2007, 10:10 PM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

Hi something2do,

yep I'm running steppers. Running at X10 micro steps. After installing the capicators I can't get the thing to trip other than touching a switch! Right now my switches are not repeatable enought for me. Back when I used full step I could literally touch off the home switches and go anywhere on my 5ft by 9ft table and many times and I wanted to repeat the process and it would always be the same. Since I have gone with Mach and Gecko using the micro steps I can't do that. Then on the other hand I had to change my switches too and I'm sure that is what the problem is.

Mike
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

  #10   Ban this user!
Old 07-25-2007, 10:17 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

What size cap did you use? Do you have a drawing of how your switches are wired, resistor, LPT ?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-25-2007, 11:59 AM
 
Join Date: Jun 2003
Posts: 1,984
turmite is on a distinguished road

Phil no drawings. The caps were .1uf 50 or .50 something or other. I have the extras at the shop and don't have access to them at the moment.

Mike
ps the caps were the only .1uf that Radio Shack had in stock.
__________________
No greater love can a man have than this, that he give his life for a friend.
Reply With Quote

  #12   Ban this user!
Old 07-25-2007, 02:58 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

With the caps installed you may want to really reduce the debounce time in mach. With a 1K resistor and a .1uf you should be less than a couple of hundred us respose to an open switch. I wouldn't think that would give you such bad results with a switch opening.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
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
limit switch and home switch setup Runner4404spd General Electronics Discussion 0 12-15-2005 07:58 AM
Is it possible to use the home switch as the limit switch as well? Darc Mach Software (ArtSoft software) 2 10-23-2005 12:50 AM
Limit switch adryan General Electronics Discussion 1 05-06-2005 06:02 AM
Limit Switch / Home Switch in Software Sanghera General Electronics Discussion 6 11-01-2004 05:58 PM




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