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


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-09-2007, 12:07 PM
 
Join Date: Jan 2007
Location: US
Posts: 62
boguski.1 is on a distinguished road
Spindle Control Circuit?

Hi to all,

My apologies for not posting until now, I am a student and still absorbing information for my first machine design!

I have purchased the Xylotex 3-axis kit with 425oz steppers, and am almost done building my control box. I am confused as to how to go about controlling the router (will be either a 2.25 or 3hp porter cable) with a relay. I have a Crydom smr2425, 25A. I've seen diagrams with mosfet (spelling?) circuits as well as a circuit that goes from +5V through a resistor to relay positive, then out relay negative to pin 16. I don't want to fry my motherboard! Does anyone have any suggestions for a simple relay circuit for my situation? One other issue, despite the description in ebay that stated my relay was 3-32V DC control, it is actually 8-32V DC control. Would it be safe to use an 8 or 9V DC wall wort for my limit/home circuits as well as my relay circuit? I am worried that the parallel port will not be able to handle the additional voltage, though I really have no idea.

I have attached my wiring diagram (not yet complete) which shows what I have so far. It is an AutoCAD file; if someone knows an effective way of posting these as images that do not distort I would be interested to know! Electricity is somewhat of a mystery to me, but I can follow basic circuitry and solder. Thanks!

I guess I'll include a disclaimer as well: By no means does this wiring diagram in any way shape or form portray a tested, proven circuit, use at own risk as it is a work in progress!


Brian
Attached Files
File Type: dwg ControlBoxElectrical.dwg‎ (97.0 KB, 118 views)
Reply With Quote

  #2  
Old 03-09-2007, 12:21 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

If you want to control a load from the Parallel port, then you need a buffer and also in your case isolation for the router, search forums here for 2n7000, it will explain it, you can use this cheap transistor for a buffer and you can also use up to 36vdc to switch a SSR (solid state relay) for the Router.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 03-10-2007, 12:29 AM
 
Join Date: Nov 2004
Location: ¨
Posts: 286
toneV8 is on a distinguished road

Al_The_Man: Where is used solid state relay. I have two OPTO 22 ZS24D10
240VAC, 10Amp, DC control, Signal Pick-up Voltage 3VDC ( 32V allowed )....
Reply With Quote

  #4  
Old 03-10-2007, 09:34 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

With those SSR's you could control any AC load that is rated up to 10amps, such as spindle motors or solenoids etc.
As I mentioned, if using parallel port to switch the low voltage input, you should use a buffer transistor of some sort.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 03-10-2007, 12:17 PM
 
Join Date: Jan 2007
Location: US
Posts: 62
boguski.1 is on a distinguished road

Thanks Al, I'll research the transistors and see what I can come up with.

Would it be safe to use 9V as opposed to the standard 5V that is typically used for limit/home circuits? With limited knowledge on parallel ports, I am worried that the added voltage may cause problems with the port, though I suspect this is more of a current issue than a voltage issue.

I guess my main question is what is the maximum voltage and or current that a computer parallel port can sink safely through one of these circuits?

Brian
Reply With Quote

Sponsored Links
  #6  
Old 03-10-2007, 12:46 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

With the transistor I suggested, anything up to 60vdc is possible, the 2N7000 is a 'Fetlington' Darlington/FET combination, Only the FET gate and common is connected to the port, which is very high impedance (no current).
The FET Source pin and the Port common are connected together, the DC voltage connected to the FET load via the FET Drain pin can be 12vdc from the computer if you wish, or another source up to 60v. In the case of the PC 12v the common is already connected, but if you provide another source, like 9vdc then the common of this is connected to the common of the port.
There is several circuits examples here in the Forums.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #7   Ban this user!
Old 03-10-2007, 03:13 PM
 
Join Date: Jan 2007
Location: US
Posts: 62
boguski.1 is on a distinguished road
I think I've got it...

Al,

Here's a rough schematic of what I think will work based on your input. I've included a limit switch in the diagram as well. Please let me know if this is right!

Also, I was hoping you could enlighten me on the role of the diode in the circuit, and if it is even necessary for a SSR. If it is needed, what specification should I be looking for when purchasing?

Thanks for all the help, I'm very close to understanding this circuit!

Brian
Attached Files
File Type: pdf RelayCircuit2.pdf‎ (7.6 KB, 147 views)
Reply With Quote

  #8  
Old 03-10-2007, 03:28 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,536
Al_The_Man is on a distinguished road
Buy me a Beer?

You only need the diode on magnetic relays, I don't think the parallel port will take kindly to inputing 9vdc.
If you use the 5v supply from one of the PC hard drive connectors for the limits, it will be common to the port.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #9   Ban this user!
Old 03-10-2007, 10:10 PM
 
Join Date: Jan 2007
Location: US
Posts: 62
boguski.1 is on a distinguished road
Having the right parts makes things easier...

I solved my problem! I just purchased a relay that has 3-32V DC control instead of the 8-32V one. I will now be able to use the VCC terminal on the Xylotex board that puts out +5V for my limit, home, and relay circuits.

A quick hint for anyone else working on this area of the electrical system: get your meter out and check stuff! I was under the impression that the +5V came from the parallel port, but with the port disconnected the board puts out the required voltage for the circuit. Hopefully now I won't have to use a wall wort.

I have attached an updated schematic that should be correct based on this new information (well new to me anyways!) Thanks for the help.

Brian
Attached Files
File Type: pdf RevisedRelayCircuit.pdf‎ (8.7 KB, 223 views)
Reply With Quote

  #10   Ban this user!
Old 03-16-2007, 10:08 PM
 
Join Date: Apr 2006
Location: na
Posts: 898
eloid is on a distinguished road
question

off pin 10 on you diagram the 3 lim switches are they x,y,z ? are these new switchs or same as cnc limits switchs machine?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-17-2007, 10:24 PM
 
Join Date: Jan 2007
Location: US
Posts: 62
boguski.1 is on a distinguished road

The limit switches in the diagram are merely representative of limit switches wired normally closed in series. The home switches are wired on separate pins, since the software needs to know when each axis reaches home individually. My machine is going to have 2 limits per axis, as well as two emergency stop buttons (one on the control box and one on the machine) that are all wired in series to pin 10. Wiring in series normally closed is a safety precaution; any wiring fault (or tripped switch) in the circuit (regardless of its axis) will trigger a limit response in the software, forcing the operator to either check the wiring or jog the machine until the limit is closed. Hope this answered your question!

Brian
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
spindle speed control JamesJmcGEE General Electronics Discussion 3 01-31-2007 03:01 PM
Spindle control wildcat Mach Mill 7 01-22-2007 09:41 PM
VFD to control a spindle? What do I need? Allistah Mach Software (ArtSoft software) 7 12-07-2005 09:39 AM
Yasnac i80m no DC control circuit power randyh Machine Problems, Solutions , Wireless DNC, serial port 2 09-09-2005 03:21 PM
Tutorial for Spindle Control teilhardo Xylotex 29 06-22-2004 10:43 PM




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