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 10-26-2004, 06:27 PM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road
Wiring Question

Hi Folks,

I am part way through building a router/engraver (the project log can be found here... http://cnczone.com/forums/showthread.php?t=6244 ) and just came across a potential wiring problem that I hope you guys can clarify for me.

Due to space constraints on the machine I decided to mount the control board and power supply in an old XT desktop computer case I happened to have lying around. I had planned on using a DB25 connector (parallel port type) to connect the controller to the machine using a bi-directional printer cable as the umbilical between the two units. This would allow me break down the machine for storage as I do not have the room to leave it permanently set up.

My concern is whether a standard bi-directional printer cable is capable of handling the current for the motors (they are rated at 1A). Any thoughts? I could of course make up a cable of a suitable size using standard connectors but I was wondering if 'off the shelf' cables were up to the job.

I had planned on using Cat. 5 cable for the 'on machine' wiring with a paired cable (possibly speaker wire) for the home/limit switches. I also planned on incorporating a tool set-up device using a set of 'plug in' wires connected to the limit switch circuit. See the attached wiring diagram for details.

The alligator clip would attach to the cutting tool while the piece of key steel would be held against the edge/top of the part. By either jogging or winding the leadscrews by hand the edge of the key steel could be found when the machine stopped (if jogging) and/or the buzzer sounds.

I also have to think about an E-stop system and I am pondering using a double pole E-stop button and running the 12V and 5V power lines through the switch prior to the contol board. That way I could effectively kill both power sources to the control board (the power to the router would be controlled separately).

Any thoughts about the ability of standard printer cables being able to carry 1A would be apprciated as would any comments about the general set up.

Larry Green
Attached Thumbnails
Click image for larger version

Name:	Machine-Wiring-Diagram.gif‎
Views:	201
Size:	23.5 KB
ID:	3781  
Reply With Quote

  #2  
Old 10-31-2004, 11:45 AM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road

Using a cable as you described is NOT recommended for the following reasons:

1. The step and direction signals should not be run in the same cable as the stepping motor power supply voltages.

The reason is induced voltage spikes on the step and direction lines from the current pulses which will be present in the motor supply lines each time the motor is advanced a step. This can totally destroy your stepping motor controller. Also, the motor will see a spike as a step or could see the spike as a momentary change of direction.

2. It is recommended that the voltage to each stepping motor be run seperately, and that the cable conductors have a twist of 6 turns per foot to help neutralize induction into other signal lines. (I personally prefer a shielded twisted cable with the shield being connected to the controller chassis ground only -- motor end not connected)

3. Although the stepping motor is rated at 1 amp, the instant current value of a step could be in theory as high as 20 to 50 Amps.
Reply With Quote

  #3  
Old 10-31-2004, 12:46 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

I agree with CJL, it is never good to go against approved practices in CNC control wiring, you may be lucky and get away with using exceptions but if you start getting miss-steps or problems due to noise etc, now you have the headache of trying to discover where the problem lies.
I personally only use stranded conductors, Cat5 BTW is 24awg and is rated at 2amps max, I would guess your printer cable would be 24g also rated at 2amps.
AWG Ampacity
30 0.5
28 0.8
26 1.
24 2
22 3
20 5
18 7
16 10
14 15
12 20
10 30
8 40
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

  #4   Ban this user!
Old 10-31-2004, 02:59 PM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road

OK.......I can see where this is going

So are you now saying I actually need seven cables between the control unit and the machine? Three cables to carry motor signals, three cables to carry motor voltage plus a cable to carry the home/limit switch signals plus the associated plugs and sockets?

Hmmmmmmm......after giving this a few minutes thought how do you feel about this idea............

The biggest problem appears to be the motor cables as they are the ones carrying the current and the associated spikes, the others are only carrying signals. How about if I still used the DB25 connector to carry the signal info and used a shielded, multi-core, 16 AWG cable to carry the motor power (the biggest I can find to fit an AMP Tyco connector)? That way I would only have two unbilicals to worry about between the controller and the machine.

That means I could also still use Cat 5 cable for the signals on the machine with separate cables for the motor power.

I have attached an updated wiring diagram to show what I am now thinking.

Any comments?

Larry
Attached Thumbnails
Click image for larger version

Name:	Machine-Wiring-Diagram-V2.gif‎
Views:	177
Size:	22.9 KB
ID:	3829  
Reply With Quote

  #5  
Old 10-31-2004, 03:11 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

Unless I am missing something, does'nt that show the motor cables still going throught the printer cable?
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
  #6   Ban this user!
Old 10-31-2004, 03:59 PM
Bubba's Avatar  
Join Date: Mar 2004
Location: LaGrange, GA USA
Posts: 1,357
Bubba is on a distinguished road

Another "picky" point, is that you have shown NO switches for the limits. It is general practice to use NC so if a wire breaks (murphy) you will trip out on a limit. If you use the NO switches, and a wire breaks; NO LIMIT!


Bubba
Reply With Quote

  #7   Ban this user!
Old 10-31-2004, 04:46 PM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road

Originally Posted by Al_The_Man
Unless I am missing something, does'nt that show the motor cables still going throught the printer cable?
Al
OK now I am confused and the more I think about this the worse it gets....lol. I am medically disabled with M.E. and one of the 'ailments' is intermittent 'brain fogs' (or 'brain farts' as they are known around here......lol). Having looked at that diagram again even I find it confusing and I drew it!

To set things straight (and I think this may have confused 'CJL' too) the 'printer' cable in question was not carrying the step/direction signals from the computer to the control board, rather it was carrying the 'output' from the control board to the machine (and yes I messed up and included some of the power cables in error thinking that the black/white wires only were carrying the power......DOH!)

I will revisit this tonight and now that my head is clearing I may get it right this time! I am now thinking I need three power cables to the motors as I can't imagine being able to get 15+ core shielded cable heavy enough to carry the amperage plus the sizes of the required connectors might be a problem and a fourth cable (possibly a serial type DB9 cable) to carry the home/limit switch signals.

I will post more later (with a bit of luck)......lol.

Larry

(where would I be without you guys when the M.E. strikes )
Reply With Quote

  #8   Ban this user!
Old 10-31-2004, 05:12 PM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road

Originally Posted by Bubba
Another "picky" point, is that you have shown NO switches for the limits. It is general practice to use NC so if a wire breaks (murphy) you will trip out on a limit. If you use the NO switches, and a wire breaks; NO LIMIT!

Bubba
I had originally intended to use NC limit switches but then decided to include the set-up option of the key strip and alligator clip and could not think of a way of wiring it into a NC circuit (see my other post re. 'brain fogs').

I suppose I could parallel the set-up option off one of the NO 'home' switches but I have a feeling the machine would not stop on contact if I were to approach under power (jogging) as it would do if it was in the limit switch circuit. I am planning on fitting handles to all the leadscrews so I can manually 'touch on' if required.

A second option would be to make the set-up 'tool' self powered (battery) and hand held although I was hoping to just use the power on the machine and a couple of leads.

Larry
Reply With Quote

  #9   Ban this user!
Old 11-01-2004, 12:27 AM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road

OK.......I spent the evening re-working the wiring diagram and I think I have my head on straight again now

I decided to go with three cables for the motors and a serial cable to carry the home/limit switch signals between the control box and the machine. Hopefully this will sort out the unbilical problem and I can concentrate on the actual machine wiring after that.

Diagram attached.......again

Larry
Attached Thumbnails
Click image for larger version

Name:	Machine-Wiring-Diagram-V2.gif‎
Views:	215
Size:	27.4 KB
ID:	3833  
Reply With Quote

  #10  
Old 11-02-2004, 03:31 PM
Gold Member
 
Join Date: Oct 2004
Location: USA
Posts: 742
CJL5585 is on a distinguished road
Smile Wizard

Grading your latest post on Wiring---- 100 A+

Think you have solved the problem.
Jerry
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-02-2004, 05:52 PM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road

Originally Posted by CJL5585
Grading your latest post on Wiring---- 100 A+

Think you have solved the problem.
Jerry
LOL.......Thanks for the high grade Jerry! In one of my former lives I worked as a College Lecturer and would rarely give out a grade as high as that!

I have been trying to find an online source for the connectors, limit switches and cables but, as is usual with my luck, it looks like I can't get everything I want from a single source :frown:

Most of the places I have found only want to sell multi-core cable by the reel too. I think I am going to have to find something locally which may mean a drive into the nearest city.

Larry
Reply With Quote

  #12   Ban this user!
Old 01-03-2005, 09:31 PM
The Wizard's Avatar  
Join Date: Aug 2004
Location: Canada
Posts: 117
The Wizard is on a distinguished road

Hi Folks,

It's been a while since my last post on this thread due to circumstances that prevented me working on the CNC project (I guess Xmas related projects had to come first...lol).

The good news is that the CNC project is on the boil again and I now have my MDF parts cut and once I get a few more holes drilled I can start assembling the beast. In the meantime I have been giving some thoughts to my wiring ideas and made some changes (again!)

I read somewhere that limit switches should be wired via a pull-up resistor so I have included one of those this time and I have also added an E-stop circuit using a latching pushbutton and a DPDT 12V relay. The idea is that the power supply is wired through the NC contacts and when the 'remote' latching pushbutton is pressed it energises the coil which in turn disconnects all power to the control board. Pressing the button again would de-energise the coil and return power to the board. I realise the software would still be running using this method but I could not find a method of killing the machine and the software via the control board.

The control 'box' will be connected to the machine via a set of unbilical cables (three for the motors and a serial cable for the limit/home switches) and the E-stop button will be on a seperate lead so that it is always 'to hand'. I priced commercial E-stop buttons and decided that at $50+ CDN they were out of my budget so I am hoping this system will work at a much lower cost.

If someone could look over the drawings and shout if they spot an error I would appreciate it.

Larry
Attached Thumbnails
Click image for larger version

Name:	Controller-Wiring-Diagram.gif‎
Views:	164
Size:	46.5 KB
ID:	4466   Click image for larger version

Name:	Machine-Wiring-Diagram-V2.gif‎
Views:	125
Size:	27.4 KB
ID:	4467  
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
Wiring help. dmgdesigns General Electronics Discussion 3 04-16-2005 11:12 PM
CNC router wiring schematic question. CRFultz General Electronics Discussion 3 11-26-2004 11:22 AM
Wiring Question tjstraz General Electronics Discussion 1 07-30-2004 10:35 AM
Wiring of RS 232 Cable Niall Machine Problems, Solutions , Wireless DNC, serial port 6 03-23-2004 03:36 AM
Transformer Question SJ781 General Electronics Discussion 1 11-05-2003 07:39 AM




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