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! > WoodWorking Machines > DIY-CNC Router Table Machines > Open Source CNC Machine Designs


Open Source CNC Machine Designs Discuss Open Source CNC Machine Designs here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-09-2006, 11:33 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Wiring Diagram for Generic Breakout board, home and Limit Switches, Generic Drives.

Guys,
Here is a wiring diagram for a Generic breakout board, the home switches, the limit switches, and the generic drive interface.

This should answer a lot of questions for the new guys who want to figure out how these things work, and also for individuals who are building a machine.

If you need this diagram, I recommend that you download the pdf to your computer, as it may disappear into the pile of threads and posts.

Jerry
Attached Files
File Type: pdf BBOARD HOME LIMIT SW.pdf‎ (16.1 KB, 6469 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-09-2006, 11:47 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road
nice drawing, thanks.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-10-2006, 01:05 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road
Excellent drawing. This is the first I have seen all the limits in series. Since that is not an expected even, wouldn't it be wiser to use an input per axis? Home is an algorithmic event. i.e. it's primary use is commanded, so it can be logically found per axis, so they could be parallel.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 09-10-2006, 09:37 AM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Originally Posted by pminmo View Post
Excellent drawing. This is the first I have seen all the limits in series. Since that is not an expected even, wouldn't it be wiser to use an input per axis? Home is an algorithmic event. i.e. it's primary use is commanded, so it can be logically found per axis, so they could be parallel.
The drawing is based upon NEC and OSHA regulations.

Since limit switches are a required safety feature on industrial machines, and only are used to stop a runaway machine tool, they are required to be wired fail-safe, which means that if ANY WIRING OR SWITCH BECOMES BROKEN OR FAILS, the machine stops ALL movement. This could be a life or death situation in a factory, OR AT SOMEONE'S HOME SHOP.

This is why they are wired in series, and also why they use ONE input. Any other method using normally open switches which close, or different inputs for different axis, do not meet the safety features of the fail-safe mode.

The reason that the home switches are wired in parallel, is that if one uses the g-codes to home the axis, one has to know which axis switch was activated. There is not a way to indicate which switch was activated with the switches wired in series.

I have read posts on this site of people asking for information on the wiring of breakout boards, limit switches, and home switches. As a result, I did take the time to make a drawing taking into account the safety features and code issues and formulated them into a drawing.

I hope that the drawing is useful, and is used.

Jerry
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 09-10-2006, 09:49 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?
Why are the home switches normally open? I'm guessing you have a limit switch behind the home switch if the home switch fails?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 09-10-2006, 10:00 AM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Originally Posted by ger21 View Post
Why are the home switches normally open? I'm guessing you have a limit switch behind the home switch if the home switch fails?
You are correct. That is the normal configuration on a commercial machine.

In performing field service on CNC mills, lathes, robotics, etc. I never saw any step and direction systems; only servoed systems. These commercial systems can achieve feedrates of 1,000 inches per minute or more, and are very dangerous if any control feedback is lost, wires vibrate loose, bolts loosen up, or any number of things which could be life threatning.

I realize that for step and direction hobby machines, that most don't probably need limit switches. If they go to the end of travel, the steppers just stall out.

However, there are some folk who are building or re-building powerful machines and need to know how to correctly wire their systems to be safe, and to be able to pass a safety inspection without getting written up. It is for these folk that I included the home and limit switches.

Jerry

Last edited by CJL5585; 09-10-2006 at 10:37 AM. Reason: Add info.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-10-2006, 06:59 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road
Originally Posted by CJL5585 View Post
The drawing is based upon NEC and OSHA regulations.

Since limit switches are a required safety feature on industrial machines, and only are used to stop a runaway machine tool, they are required to be wired fail-safe, which means that if ANY WIRING OR SWITCH BECOMES BROKEN OR FAILS, the machine stops ALL movement. This could be a life or death situation in a factory, OR AT SOMEONE'S HOME SHOP.

This is why they are wired in series, and also why they use ONE input. Any other method using normally open switches which close, or different inputs for different axis, do not meet the safety features of the fail-safe mode.

I have read posts on this site of people asking for information on the wiring of breakout boards, limit switches, and home switches. As a result, I did take the time to make a drawing taking into account the safety features and code issues and formulated them into a drawing.

I hope that the drawing is useful, and is used.

Jerry
Great, I've never had much luck finding specific OSHA requirements relating to limit wiring. But would agree, safety is paramount, probably something most DIY'ers don't pay enough attention too. And seriesing limit switch's is a better failsafe solution. I would wonder though if it still might be acceptable to series switches per axis.

Can your give us some more specifics on the OSHA and NEC requirements? i.e. part-subpart....details I made a career of having to read/interpret federal and company regs, but financial and organizational...Oh the joys..... technical....
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 09-10-2006, 08:18 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
PMinMO

I have given away my National Fire Code and NEC manuals since I took early retirement. I did not plan on ever using them again, So, I gave them to some associates for reference.

As for OSHA, They have a web site, but it is very difficult to zero in on anything particular. They tend to run one around in circles.

I do not remember which sections, sub-sections, etc. which related to machine tools. Sorry.

You might be able to reference something to the Emergency Stop regulations, as I think that they are related. The reason being that some robotic installations have secure perimeters in that if one breaks a security beam, or enters an area while the robot is in motion, that everything comes to a screeching halt. I am not sure, and have tried to forget everything about work, as I have been away from all systems for 25 months.

I think it doesn't really matter about the limits on a small stepper driven system as the stepper could be stalled easily, but when dealing with powerful commercial machines and equipment with servo's, it's a different ballgame. If an encoder fails to send pulses back to a 50 HP servo, then the system sees it as the system has not moved, and more voltage and/or current is supplied to the system so it will move. When an axis crashes at 500 IPM, I believe that the other axis would totally destroy the million dollar machine if they were still allowed to continue on with the machining program. I have seen a similar accident happen with the operator's hand on the E-stop pushbutton. He pressed the E-stop, but his reaction time was too slow. Just an observation.

.
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 09-10-2006, 10:01 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Who benefits from limit switches?

If one really thinks about it, who benefits from limit switches?

Is it the operator?
Probably not. The company is concerned that he could get killed by flying debris from a wrecked machine, and they would have to do a lot of paperwork, etc., however an operator will not have enough time in many cases to stop the machine, even if he knows it might crash.

Normally, when a machine malfunctions and crashes, it depends upon the speed of the various axis how much damage is done. Slow moveing machine, slow wreck. Fast moving machine, bigger wreck with flying parts.

So who benefits?
Probably the insurance company who insures the business. The insurance company pays out less money if the limits work and the machine does not totally destroy itself.

Bottom Dollar:
The company investment in the CNC equipment is somewhat protected, and the insurance company could save big dollars on repair of an expensive machine.

Seems like insurance companies control every aspect of human existence in one way or another.

Jerry
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-04-2006, 06:49 PM
bigz1's Avatar  
Join Date: Apr 2006
Location: NZ
Posts: 484
bigz1 is on a distinguished road
Jerry being clueless about electrics this is a great help. Thanks.

If I were to put another homing switch in parrallel on the X axis could I have 2 'origins' on my machine, with the option to ignore 1 if I want to use the full cutting area?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-04-2006, 08:06 PM
 
Join Date: Mar 2005
Location: usa
Posts: 509
smarbaga is on a distinguished road
i think that a limit switch should be the extreme end of the line and only be used when something goes wrong. home switches should be used as a zero reference.
these could be on a slider and adjustable if one so desires.
i think limit switches should be mechanical and be hard wired to kill the motor power, perhaps releasing a relay that is set on power up.
all the limit switches should be normally closed and in series with eachother.
this is my opinion, my practice is often different.
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 10-04-2006, 08:35 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Originally Posted by bigz1 View Post
Jerry being clueless about electrics this is a great help. Thanks.

If I were to put another homing switch in parrallel on the X axis could I have 2 'origins' on my machine, with the option to ignore 1 if I want to use the full cutting area?
As Smarbaga suggests in the next post, many home switches are mounted on a slider or mechanism where they are moveable if desired. In commercial applications the home switches are sometimes adjusted to a new position with each job as the machine setup changes.

You can wire two homing switches in parallel if you so desire, but the machine will home on the first switch it sees. However, if you have a means to switch the closest switch out of the circuit, the machine will home on the second switch.
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On





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