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 09-12-2008, 08:21 AM
 
Join Date: Jul 2007
Location: US
Posts: 69
EL34 is on a distinguished road
Need schematic for motor on/off control

Hi all,
I'm using mach3 mill with a 3-axis router.
My work shop is downstairs from my business.
I usually start a job and then go back upstairs to work.
I can hear the CNC machine spindle downstairs, which is a 30,000 rpm Rotozip

I want to be able to shut the Rotozip off after the job is finished so I can go back down and load another job or shut the CNC down.

I searched here and googled the web but I didn't come up with anything solid.

I don't really ever change the motor speed, I just need to be able to shut off the motor via Mach3. I have a harbor freight variable speed motor control if I do need to vary the spindle speed.

Anyone have a schematic for a simple AC motor speed control that I can interface into Mach3?

I deal with Mouser electronics in my business all the time so getting the parts and building the board isn't a problem.

Thanks, appreciate any info
Reply With Quote

  #2  
Old 09-12-2008, 08:32 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

If you have a spare output, all you need is a for the output to operate a suitable double pole relay, this would be in the 110v supply to the spindle circuit, a M4 would energize it, and a M5 at the end of the program would drop the relay out.
You would need the output to be conditioned by a BOB or a 2n7000 driver, there is several past posts on using the 2n7000 to operate a relay.
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 09-12-2008, 09:01 AM
 
Join Date: Jul 2007
Location: US
Posts: 69
EL34 is on a distinguished road

Thanks Al,
I'll search for the 2n7000.

What exactly is a spare output so I can figure out if I have one.

Edit;
Found this schematic in one of the 2n7000 post.
Is this fine for what I want to do or is there something more optimal?
Attached Thumbnails
Click image for larger version

Name:	relaycircuit.jpg‎
Views:	609
Size:	23.1 KB
ID:	66268  
Reply With Quote

  #4  
Old 09-12-2008, 11:11 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

That is the diagram I was referring to, you will need a relay with contacts suitable for the current rating of your spindle.
I don't use Mach so I am not familiar with setting the ports up, but if you connected this system up you should have the details of what outputs you are already using.
The printer port in general has up to 12 outputs.
If your BOB has spare outputs you may not need the 2n7000.
Someone with Mach experience should be able to steer you on checking the I/O availability.
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 09-12-2008, 11:28 AM
 
Join Date: Jul 2007
Location: US
Posts: 69
EL34 is on a distinguished road

Thanks Al,
I know how to set Mach3 up for spindle control, just wanted to ask about the spare outputs.

I have plenty of control pins left on the P-Port.

I ordered a 12v coil relay that can handle 125vac/10amp.
The Roto zip is 5.5 amps nd with startup surge, 10amp sould be fine.

Ordered sone 2n7007's also.

I'll see how it goes next week.

Thanks again
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-12-2008, 11:31 AM
LeeWay's Avatar  
Join Date: Jun 2004
Location: USA
Posts: 2,398
LeeWay is on a distinguished road

I just use solid state relays. I have some for both DC operated equipment and AC. All activated by lower computer type DC voltages for control. It's best to hook these up to a BOB. I use the C10 BOB's from CNC4PC.

These are what I now use for the router and coolant pump.




These are easy to connect. Just use an input and a ground on the other side. Say pin 17 and 19 for example. Then just break the hot wire to your router switch as if it were another switch and connect each side to those terminals. This way you can turn it off to override the computer control. You can do this in a dedicated outlet box so you don't have to cut your cord. You could theoretically operate two tools with this like coolant or vacuum at the same time provided the relay has enough amps for both.

There are some other settings dealing with spindles that need to be set as well. Some can be seen here.

It is really all rather simple and I don't know why I waited so long to do it.
__________________
Lee
Reply With Quote

  #7   Ban this user!
Old 09-17-2008, 02:36 PM
 
Join Date: Jul 2007
Location: US
Posts: 69
EL34 is on a distinguished road

Thanks for the help and the simple/nifty little relay circuit.

I got the parts yersterday.
Desinged the board in CAD and then CAM/Cambam

Cut it out on the CNC about an hour ago.
Tested it on the bench, worked great.

Hooked it up to my Probotix Breakout board and tested it with a short Gcode file

The relay comes on when at the start of the Gcode with M03
The relay goes off at the end of the Gcode with M05

Cambam was already inserting M03 and M05 in all my Gcode, I didn't have to do anything special.

Gonna mount it in a small plastic AC box with a double receptacle.
I'll plug my RotoZip into the receptacle box to turn it on and off.
Reply With Quote

  #8  
Old 09-17-2008, 02:51 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

Very handy little device, the 2n7000, If more than a couple of drivers are needed, I usually use the ULN2803a IC.
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 09-25-2008, 07:18 PM
 
Join Date: Jul 2007
Location: US
Posts: 69
EL34 is on a distinguished road

Hey Al,
I posted this project on the Cambam forum also, because I use Cambam for my cam work and I thought it would be helpful to others there.

Anywho, a few people have replied to my post and said that this design needs a pull up resistor on the gate.

Is that needed or not?

I was under the impression that the FET gate was voltage controlled and the pull up resistor was not needed on the port/gate connection?

Here's the post I mentioned.
http://www.cambam.co.uk/forum/index....pic,393.0.html

Thanks Al
Reply With Quote

  #10  
Old 09-25-2008, 07:55 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,543
Al_The_Man is on a distinguished road
Buy me a Beer?

The original version of the 2n7000 Fet(lington), was designed as a FET version of a Darlington driver.
It was designed to interface directly to CMOS and TTL directly, if you have a TTL open collector driver, you may need a 10k from gate to 5v+.
If you wish to include one with TTL interface, it does not cost much, I have never found the need in all the years I have used it.
And you are correct, it is voltage driven not current.
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

Sponsored Links
  #11   Ban this user!
Old 09-25-2008, 07:59 PM
 
Join Date: Jul 2007
Location: US
Posts: 69
EL34 is on a distinguished road

Thanks Al, good explanation.

Mines working just fine also.
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
dc motor control? cueshark General Electronics Discussion 8 02-22-2008 03:51 PM
dc motor control snowshovelbmx General Electronics Discussion 1 10-17-2006 04:32 PM
speed control for this motor ZipSnipe General Electronics Discussion 7 08-02-2006 10:28 PM
Motor control mihavoncina PicStep Controllers 1 04-28-2006 07:16 PM
DC Motor Control foamcutter General Electronics Discussion 8 03-10-2004 02:32 PM




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