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-15-2011, 03:59 PM
 
Join Date: Feb 2006
Location: USA
Age: 32
Posts: 197
gearsoup is on a distinguished road
Mach3/DB25/BoB issue....?

This is probably a "no-brainer", but I figured I'd toss it out here and see what I got.

I bought a "new computer HP Compaq DC7600 Desktop PC - Intel Pentium 4 3GHz, 2GB DDR2, 40GB HDD, Combo, Windows XP Pro at TigerDirect.com for my CNC router that I built 9 years ago.

It was running on some very old dinosaur running Windos98 with Master5 software. Yup. Master5. The CNC and PC have been in storage for several years now. I've gotten the urge to seriously start playing with it more.

Anyways, I took the opportunity to upgrade to Mach3 (demo version for now). I went to the Config dialog in Mach and confirmed that the printer address matched what was in the Resource window of the Printer Port dialog (in Window Hardware manager). The resource lists it as 0378-037F. Mach 3 keeps reverting back to 0x378. I assume this is correct?

I configured all 6 pins. There is one step and one direction pin for each motor. I do not have any limit switches or E-Stop switches setup yet. I will get to those later.

My breakout board is a simple PCB, no opto-isolators or anything. I am using pins 2,3,4,5,6,7. X,Y,Z respectively.

So, pins are configured, I've set the steps per inch to 10,000, since that I what I ran on Master5. I press the arrow key to job the machine, and .....nothing happens. It does not jerk, hum, or anything. It just sits there. Yes, there is power to the motors.

I borrowed a rather nice multi-meter from a co-worker, sad part is, I have very little clue where to start and what to look for (also, I've only used a multimeter a couple times in my life, and not for anything much really)

At any rate, I grounded out one lead and inserted the probe tip into each pin of my printer port and got these readings: Pins 1-4 are at 4.51 volts and .25 amps. Pins 5-12 are at 3.40 volts and 0 to .01 amps. Pin 13 is 4.51 and .026 amps. Pins 14-21 are 0 and 0. Pin 22 is .01 and 0. Pins 23-25 are 4.51v and .26A.
None of these values change when I depress a key to "jog" the machine. If I unplug and reconnect the printer cable, my motor will jerk one or two steps it appears/sounds.

If I am in Hardware manager and I uninstall the printer port, the 4.5 volts goes up to 4.85. When i click on "Scan for hardware changes" it drops back down to 4.51volt.

So, I am lost as to where to start and what to do. Any ideas on how to help me out? I am an almost total electrical noob. But, I'm able to comprehend ideas and whatnot...
Reply With Quote

  #2  
Old 10-15-2011, 04:09 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Originally Posted by gearsoup
At any rate, I grounded out one lead and inserted the probe tip into each pin of my printer port and got these readings: Pins 1-4 are at 4.51 volts and .25 amps. Pins 5-12 are at 3.40 volts and 0 to .01 amps. Pin 13 is 4.51 and .026 amps. Pins 14-21 are 0 and 0. Pin 22 is .01 and 0. Pins 23-25 are 4.51v and .26A.
None of these values change when I depress a key to "jog" the machine. If I unplug and reconnect the printer cable, my motor will jerk one or two steps it appears/sounds.

...
No1/ Not a good idea to poke the leads in the PP port to common when using the meter on the current (amps) range. It is effectively a short between probes.
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 10-15-2011, 04:15 PM
 
Join Date: Feb 2006
Location: USA
Age: 32
Posts: 197
gearsoup is on a distinguished road

oops.
Also, after reading a bit. I think I numbered the pins wrong. I was going from left to right (looking at the back of the PC) Mach3 documentation shows that top right is Pin 1. So, I guess that changes things a bit.
Reply With Quote

  #4   Ban this user!
Old 10-15-2011, 04:58 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

One of the easiest checks to perform with a multimeter is to see if the direction pin(s) show a voltage change when you change direction. Did you try jogging in both directions or only one direction, of one axis or all axes?

If you set your multimeter to measure volts, and you put the red probe on the direction pin for one of the axes, and the black probe on ground, and then jog that axis first in one direction and then in another direction, then you should see a logic "high" voltage in one direction (perhaps in the range of 3 to 5 volts) and a logic "low" voltage (near 0) in the other direction.

If you can establish that the direction signal is showing up on the expected pins, then the next thing to examine is whether or not your driver input can handle signals in the approximate range of 3 volts (some can, some can't). There is also a question of whether your PC's parallel port card can source or sink the right amount of current that your driver inputs require.
Reply With Quote

  #5   Ban this user!
Old 10-15-2011, 06:16 PM
 
Join Date: Feb 2006
Location: USA
Age: 32
Posts: 197
gearsoup is on a distinguished road

Well, for starters, I had the DB25 cable unplugged and I was just probing the printer port of the PC itself (that sounds dirty). No change was shown when I jogged in either direction on any axis. For ground, I was just attached to the PC case.

Not sure if this helps or anything, but I am using Gecko's. Not sure what exact line they are, but it would have been whatever was popular 9 years ago.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-15-2011, 06:31 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

In the Mach3 "ports and pins" configuration page, is the port set to 1?

Unless and until you can verify that the parallel port direction pins are responding to axis jog direction changes, I doubt that you will be able to drive the motors, since it is not certain that Mach3 is even talking to your port.
Reply With Quote

  #7   Ban this user!
Old 10-15-2011, 06:46 PM
 
Join Date: Feb 2006
Location: USA
Age: 32
Posts: 197
gearsoup is on a distinguished road

Yes, port is set to 1. I left the port address set to 0x378, as it appears that is the hexadecimal value for the onelisted in system resources.

I fear that you are right about it not even talking to my port. For instance, on the Diagnostics page (Alt-7) the readout: Port 1 pins current state. I assume those would be lit up as I jog the machine? They do not light up.
Reply With Quote

  #8   Ban this user!
Old 10-15-2011, 06:54 PM
 
Join Date: Feb 2006
Location: USA
Age: 32
Posts: 197
gearsoup is on a distinguished road

Is there a way to determine if the port is faulty?
Reply With Quote

  #9   Ban this user!
Old 10-16-2011, 07:44 PM
 
Join Date: Feb 2006
Location: USA
Age: 32
Posts: 197
gearsoup is on a distinguished road

It lives! woot!
I tried a few things, then I went into the BIOS and changed the LPT port from EEP/ECP to Bi-directional. wadda ya know. all good now!
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
CNC Breakout Board / Mach3 / EMC2 / DB25 (CM101) Robiz Product Announcements & Manufacturer News 0 08-27-2011 02:36 AM
Just IN- MACH3, EMC 2 / CNC Breakout Board, DB25 Parallel Cable Robiz Product Announcements & Manufacturer News 0 07-08-2011 10:40 AM
Just IN- CNC Breakout Board / Mach3 / EMC2 / DB25 (CM101) Robiz Product Announcements & Manufacturer News 0 07-08-2011 10:29 AM
Just IN- MACH3, EMC 2 / CNC Breakout Board, DB25 Parallel Cable Robiz Product Announcements & Manufacturer News 0 06-28-2011 09:34 AM
Just IN- CNC Breakout Board for Mach3/EMC2/DB25/Parallel Cable Robiz Product Announcements & Manufacturer News 0 06-17-2011 01:28 AM




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