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! > Machine Controllers Software and Solutions > TurboCNC


TurboCNC Discuss TurboCNC controller software here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-11-2004, 12:53 AM
 
Join Date: Mar 2004
Location: USA
Age: 51
Posts: 169
swarfmacdaddy is on a distinguished road
Lightbulb limit switch override

I was hoping someone might be able to answer a question. I am putting 6 limit switches on my mill, One for z -,one for z+,x-,x+,y-,y+. I am also using turbo cnc4.I want to put a override switch in line with all said switches. This way, when i have an over travel condition i can override it without killing power to motors. I also want to use same switches for homing in the future when turbo cnc supports this. I know i need to take one leg from each switch to the override switch but how do i keep the signal that is going back to the port seperate? If i put all 6 legs to the switch then the port will see any switching activity as coming from all the switches and i want to know what switch was tripped. Just one more problem, The turbo documentation states that pins 10,11,12,13, and 15 are input pins. Thats 5 pins and i have 6 switches. Help!!! Am i making this to complicated? Do i need to find a switch that has 6 isolated poles in and out? thanks for any help any one can shed on this.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 12-11-2004, 07:09 AM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road

Randy,
I use V4.x and have 7 switches actually. Assuming you are going to use the switches in NC (Normally Closed) configuration, put the switches for each axis in series. Then when 4.01 comes out, you will be set for the home switch option. If you are planning on NO (Normally Open), put the switches in parallel.
As for the override, what I do is press the F8 key and in continious mode, back off the axis that is causing the problem. Be sure to toggle the limit switches OFF to be able to do this!
I agree with you, as I also miss the message that tells me WHICH axis is at fault, but it is not to much of a pain to simply look at the various axis and it is easy to tell which one has tripped. No need for a seperate override! Of course this is with my setup and breakout board, so YMMV
Bubba
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 12-11-2004, 02:22 PM
 
Join Date: Mar 2004
Location: USA
Age: 51
Posts: 169
swarfmacdaddy is on a distinguished road
switch pins

Bubba, Thanks for the reply. One thing though,I am using the switches in normally open mode. Would i wire as such? All positive dir to one pin and all negative dir to another pin? So i would end up using just 2pins for the 6 switches?
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 12-11-2004, 03:19 PM
Torsten's Avatar  
Join Date: Nov 2004
Location: U.S.A.
Posts: 258
Torsten is on a distinguished road

This used to be one of the oldest schemes I know of
used by Pinguin CNC - EMC.

All positiv sides on one Pin
All negative sides on a second Pin
All home and Probe signals on a 3rd Pin

All normaly open switches.
This will support a unlimited number of axses and uses only 3 Pins.

Unfortunatly a lot of Pc Controller programs do not support this.
I guess the Programmers did not fully understand the benefits
of this kind of arrangement.

Many went with switches assigned to each axes wich requires more Pins
when they realised this they also made them act as home swiches to
conserve Pins needed, also this required special handling in software that
will require another Pin if Probeing is allso needed.

Once a Software is released it is unlikely this could be changed.

I really like your Idea about a override swich this would take it out of
the hand of the software entirely.

In the end however you will have to conform to the standards used by
the software you want to run.
One way they can assure having loyal customers. :-)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 12-11-2004, 04:00 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,303
Bubba is on a distinguished road

Randy,
If I were to use a scheme such as that, why not just series or parallel ALL the switches? Then you use only one pin for the limits as the machine will fault out if any one of them activates? Not to be a smart butt, but the machine can only fault out in one direction at a time!
As Torsten points out though, a lot depends on the software that you plan on using.

Again, I use TurboCNC and it can be configured either way NO or NC. Personally, I yet have seen a need to home all axes simutaneously (sp?) [strike that, it don't look right:})] so lets say all axes at the same time. This is where I worked with the team at TCNC to get the program changed. I had previously written the necessary changes for V3.2x to allow single axis homing under G-code and it works great. I'm not sure, but believe the Machx series of controllers also allow you to set up the limits to suit yourself. Other programs, I have not used so cannot comment on them.

Bubba
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-12-2004, 04:47 AM
 
Join Date: Mar 2004
Location: USA
Age: 51
Posts: 169
swarfmacdaddy is on a distinguished road

Bubb, and torsten, Thanks for all the help!! I got it set up right. I was just hoping i could use home and limits also but i guess turbo wont support both for now.
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
Solid-State limit switch experiment Swede General Electronics Discussion 44 01-08-2010 02:20 PM
idea for limit switch, need opinions replicapro General Electronics Discussion 2 06-29-2007 07:59 AM
Bridgeport Series 1 Limit Switch kewl_cat Bridgeport and Hardinge Mills 68 05-01-2005 11:28 PM
mach2 LIMIT SWITCH end of stroke reliese? mike10 Mach Software (ArtSoft software) 5 04-25-2005 11:48 AM
Limit Switch / Home Switch in Software Sanghera General Electronics Discussion 6 11-01-2004 06:58 PM




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