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! > Events, Product Announcements and More > Safety Zone


Safety Zone Discuss safety related issues about machines and materials.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-13-2010, 03:55 PM
 
Join Date: Feb 2010
Location: Highlands Ranch, CO
Posts: 67
gpraceman is on a distinguished road
Wiring Limit, Home and E-Stop Switches

I found this diagram, mentioned in an old thread, that seems to be a good way to wire up limit, home and E-Stop switches.

My question, is if I can just put the E-Stop switch in series with the limit switches and free up a parallel port input? I assume so.

Also, should the home switches be in the same location as X--, Y-- and Z++ limit switches or offset from each other?

I am using Mach3, if that matters.
Attached Thumbnails
Click image for larger version

Name:	Switch_wiring_3.png‎
Views:	302
Size:	45.6 KB
ID:	109048  
Reply With Quote

  #2   Ban this user!
Old 06-13-2010, 04:26 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Hi Race man!

NO! Wire the Estop to its own separate input.

If you want to save inputs, just wire ALL of the switches NC in one big series loop, connect one end to PSU ground and the other end to one input. Mach3 knows what switch is what. You can use 3 of the switches as both home and limit switches.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #3   Ban this user!
Old 06-13-2010, 04:57 PM
 
Join Date: Feb 2010
Location: Highlands Ranch, CO
Posts: 67
gpraceman is on a distinguished road

Originally Posted by Crevice Reamer View Post
NO! Wire the Estop to its own separate input.
OK. Help me understand the reasoning behind that.

Originally Posted by Crevice Reamer View Post
If you want to save inputs, just wire ALL of the switches NC in one big series loop, connect one end to PSU ground and the other end to one input. Mach3 knows what switch is what. You can use 3 of the switches as both home and limit switches.
I guess that I wanted to leave one free for some future use.

I know that 3 of the switches can be used as both limit and home switches with Mach3, but I assume that you cannot wire them in series to do so. Seems that I can put the X++, Y++ and Z-- switches in series and tie those to one parallel port input, but leave the combo home/limit switches as separate inputs.
Reply With Quote

  #4   Ban this user!
Old 06-13-2010, 05:03 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Nope! Wire all six Normally Closed switches in series and forget about it. Three of them will also be combo. Mach3 will know which switch is which and for what.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #5   Ban this user!
Old 06-13-2010, 05:14 PM
 
Join Date: Feb 2010
Location: Highlands Ranch, CO
Posts: 67
gpraceman is on a distinguished road

Originally Posted by Crevice Reamer View Post
Nope! Wire all six Normally Closed switches in series and forget about it. Three of them will also be combo. Mach3 will know which switch is which and for what.
I guess that I am having a hard time grasping that. If all 6 limit switches are wired to the same parallel port pin, how does Mach3 really know it is in the home position and not at some other limit?

I'm a noob to Mach3 and CNC in general, so it helps if I have a little more explanation of things for me to understand. I just got my first CNC machine this past week.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-13-2010, 06:25 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Mach3 knows where all the switches are. During a cutting operation, if it encounters a switch, it assumes it to be a limit and shuts down. During homing, it first moves the Z until encountering a switch, recognizes home, and backs off a trifle to close the switch. Then it will home the X, and then the Y. Because limits and homes are used in two completely separate operations, it has no trouble doing this.

Limit/home/Estop switches use very low Voltages and are easily subject to crosstalk from other wires nearby. You MUST use shielded wire and try to route it not close to other wires.

Combining Estop with the homes/limits just multiplies the chances of having spurious signals interupting your CNC program.

You may find some of this info to be helpful:

http://crevicereamer.com/Page_2.html

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #7   Ban this user!
Old 06-13-2010, 07:32 PM
 
Join Date: Feb 2010
Location: Highlands Ranch, CO
Posts: 67
gpraceman is on a distinguished road

OK, I believe that I understand now. So, I can simplify that diagram and just use two parallel port inputs. One for E-Stop and the other for all of the limit switches in series (3 of those doing double duty as home switches).

Can I get the +5V off of one of the other parallel port pins?
Reply With Quote

  #8   Ban this user!
Old 06-13-2010, 07:40 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,519
Fastest1 is on a distinguished road

That is correct about the switches. Regarding the 5v, I believe you want to keep the power on the pc side seperate from the machine sides power. A cheap wall wart will supply the 5v (most cell phone chargers are 5v, check first). You could try the 5v from the PP and if it starts throwing faults get power elsewhere. I have had many problems with grounds and such. Nothing causing any release of the magic smoke but tripping estops and such. In fact it has happened every time I have added something new and electrical in the system, such as probes, relays and limit switches. Good luck and enjoy. Btw when you see it home the first time it is too cool. It works exactly like CR said.
Originally Posted by gpraceman View Post
OK, I believe that I understand now. So, I can simplify that diagram and just use two parallel port inputs. One for E-Stop and the other for all of the limit switches in series (3 of those doing double duty as home switches).

Can I get the +5V off of one of the other parallel port pins?
Reply With Quote

  #9   Ban this user!
Old 06-13-2010, 07:47 PM
 
Join Date: Feb 2010
Location: Highlands Ranch, CO
Posts: 67
gpraceman is on a distinguished road

Originally Posted by Fastest1 View Post
Regarding the 5v, I believe you want to keep the power on the pc side seperate from the machine sides power. A cheap wall wart will supply the 5v (most cell phone chargers are 5v, check first). You could try the 5v from the PP and if it starts throwing faults get power elsewhere.
I was hoping to avoid yet another external wire to deal with. So far, it seems I have a spaghetti factory going on and haven't yet added the limit switches or the E-Stop, which will add to it. If I can get that +5V off the parallel port, is there a specific pin or is there something that I need to do in Mach3 to turn on an output pin?

Originally Posted by Crevice Reamer View Post
You MUST use shielded wire and try to route it not close to other wires.
I guess that precludes bundling them with stepper motor wires, even if using shielded wire, correct?
Reply With Quote

  #10   Ban this user!
Old 06-13-2010, 08:09 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Originally Posted by gpraceman View Post
I was hoping to avoid yet another external wire to deal with. So far, it seems I have a spaghetti factory going on and haven't yet added the limit switches or the E-Stop, which will add to it. If I can get that +5V off the parallel port, is there a specific pin or is there something that I need to do in Mach3 to turn on an output pin?
Ah, how simple life becomes when you use a G540 and avoid all of this spaghetti.

I guess that precludes bundling them with stepper motor wires, even if using shielded wire, correct?
YES, if motor wires are unshielded, Not necessarily if motor wires ARE shielded. Either way, the drain wire of the shielding must be grounded at the BOB end only.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-13-2010, 08:13 PM
Crevice Reamer's Avatar  
Join Date: Mar 2008
Location: USA
Posts: 3,454
Crevice Reamer is on a distinguished road

Now, if you want to cut down some of the wiring complexity:

I don't USE limit switches with steppers. IMO they are unnecessary. Worst case if you exceed a limit, steppers will just stall harmlessly. Soft limits set in Mach3 work just fine to prevent this though.

I consider HOME switches to be mandatory though.

CR.
__________________
http://crevicereamer.com
Too many PMs. Email me to my name plus At A O L dot com.
Reply With Quote

  #12   Ban this user!
Old 06-13-2010, 09:44 PM
 
Join Date: Feb 2010
Location: Highlands Ranch, CO
Posts: 67
gpraceman is on a distinguished road

Originally Posted by Crevice Reamer View Post
Ah, how simple life becomes when you use a G540 and avoid all of this spaghetti.
That is a very nice controller and something that I considered. I'm not sure that I would have less of a spaghetti issue with it though. I went with the control box that Zenbot offered. Most of the spaghetti is actually all of the cords and cables for the computer and monitor that I am using. I was considering a SmoothStepper so I could use my laptop, but thought that I'd give the desktop a try. I had a recently retired XP machine within easy reach.

Originally Posted by Crevice Reamer View Post
I don't USE limit switches with steppers. IMO they are unnecessary. Worst case if you exceed a limit, steppers will just stall harmlessly. Soft limits set in Mach3 work just fine to prevent this though.

I consider HOME switches to be mandatory though.
I appreciate all of your assistance. I guess I'm a bit paranoid of messing up the machine as I am learning to use it. I'll just worry about the home switches, make sure the wires are shielded and not run them with the stepper motor wires.

Do I really even need to worry about an E-Stop?

I do have some soft limits set in Mach3, at least for X and Y (until I get the replacement for the Z head that was damaged during shipment).
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Wiring Saftey Stop and limit Switches jandalaser General Electronics Discussion 1 06-12-2010 02:05 PM
Wiring Diagram for Generic Breakout board, home and Limit Switches, Generic Drives. CJL5585 Open Source CNC Machine Designs 33 02-24-2010 03:39 PM
Wiring Home and Limit Switches Efficiently MrAR15 Taig Mills & Lathes 3 07-11-2009 12:44 PM
Wiring home and limit switches Hack General Electronics Discussion 7 01-24-2009 03:47 PM
Limit, Home and E Stop Switches Mr.Chips General Electronics Discussion 15 01-17-2007 09:02 AM




All times are GMT -5. The time now is 09:01 AM.





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