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! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-21-2010, 04:43 AM
 
Join Date: Oct 2006
Location: USA
Posts: 142
cjchands is on a distinguished road
Red face Abnormal crazy move?? Parallel port bad?

This problem has occurred to me randomly as sometimes Stepping motors would run by itself when MACH 3 has not yet command any move (No JOG/ No Auto/etc..).

I suspect that the cause came from WIRING connecting is loose?
Any expert advises as why this could cause the problem?


SECONDLY.... I got brand "NEW" PARALLEL port from the shop. Cut the other end of parallel port and connect directly to the drive (no breakout board).
Problem is SOME PINS work...
But other PINS does NOT work.
I checked OHM meter and the cable seem to be perfectly fine.. Doesn't happen only to this cables, but a lot other cables as well.....
Can't figure out what's wrong?
Anyone experience same problem?

Thank you
Jeff
Reply With Quote

  #2   Ban this user!
Old 02-21-2010, 03:26 PM
FXC FXC is offline
 
Join Date: Nov 2009
Location: USA
Posts: 38
FXC is on a distinguished road

It's highly unlikely for a stepper motor to turn even a handful of steps without specifically timed pulses from a controller software, i.e. Mach3. Some noise during startup or shutdown or randomly in between could make your motors jerk slightly but nothing more than a click or crack.

Therefore, my question is - what exactly do you mean when you say they "run" by themselves?
Reply With Quote

  #3   Ban this user!
Old 02-21-2010, 05:39 PM
 
Join Date: Dec 2008
Location: canada
Posts: 226
Pandinus is on a distinguished road

I suspect that the cause came from WIRING connecting is loose?
Any expert advises as why this could cause the problem?

OK First off is input/output impedance and biasing.

An output needs a lower impedance, or it won't be able to affect an input very well....

An extremely high input impedance on a circuit means it will only take micro amps to change the state of the input. If the output is active high, so held LOW, and the input is biased in the high state...

(IC inputs can be in either state when floating as just a tiny amount of semiconductor doping or printing irregularities can change the input bias from a high to a low....think of it as grabbing two random toothpicks... One is more than likely longer than the other by a few microns.)

So the output bias is low and the input bias is high, coupled with a broken contact somewhere... every time the contact opens the input goes high... every time it closes the input goes low...>>>> stepper controller motion.

Second is same as above... but EMF/EMI any length of conductor can act as an antenna... depending on the length of the conductor and the strength of the magnetic fields passing over it, It can generate enough noise to affect a circuit... in the case of an open ended wire, and a high impedance input, the "antenna" can generate enough current to alter states of the input... so connected to the output, input is a stable low, but when the connection breaks, AC noise maces the input High,low,high,low...ETC...>>>>again motion from the controller.


As for the port...make, model, not all are created equal, neither are the drivers, which OS DOS Windows MAC, which pins, input - output... not all pins are input or output... is it an ECP, EPP, standard port what are its voltage levels 5V 3.5V 3.3V??? how about voltage source current capabilities and current sink capabilities??? how are you setting the outputs monitoring the inputs????
So what exactly "isn't working"

Set an output HIGH and measure the voltage without anything connected... if it's less than 4V, there is part of your problem.
Reply With Quote

  #4   Ban this user!
Old 02-26-2010, 01:01 AM
 
Join Date: Oct 2006
Location: USA
Posts: 142
cjchands is on a distinguished road
Please help...data gathering...no 4V in any state.

First of all, thanks for detail explanation.

I follow your advice, Here are 2 scenarios:

According to your reference..I do not get above 4V in either LOW active off/on?
What should be my solution?


Here is the tested data:

*****Direct connection PC to Driver**** (this is working!!)
Low Active = OFF (dir and step)
Dir = 0.09V in one direction, 2.0V in another direction
Step = 0.00 V in off state, 0.16V in Jog running state

Low Active = ON (dir and step)
Dir = 0.09V in one direction, 2.0V in another direction.
Step = 2.98 V in off state, 2.83V in JOg running State.

*****Breakout board between PC to Driver****
~ similar to Direct connection except
Low Active = ON (dir and step)
Step = 2.4 V in off state, 2.0V in Jog running state.
Reply With Quote

  #5   Ban this user!
Old 02-26-2010, 05:20 AM
 
Join Date: Dec 2008
Location: canada
Posts: 226
Pandinus is on a distinguished road

Without any more info I'd guess that you have a low voltage/low power port... probably 3.3V-3.5Vmax out and very low current source capabilities...
The 2Volt direction signal is just barely within TTL input levels.
If your breakout board is driving opto-isolators directly from the parallel port, there is not enough current to drive the LEDs. That and there would be a voltage dropping resistor to prevent the LED from frying at a 5V level...
Oh the joy of miniaturization ans power saving technologies.

One solution, look for a PCI card that can drive your breakout, second find a breakout that needs less current.

Third option, if you are comfortable with electronics, is to do some circuit design and soldering to improve the output of the port

I had this idea while responding to a similar problem on another forum... I can't say for sure if this would work, or not damage the port outputs, but I "THINK" it would work.

This was basically the post........................................................


It "MIGHT" work with a couple of diodes and a resistor, but no guarantees on this one.... .7v for a regular diode... shotkeys are lower .3ish

supply +5V------>|--------^^^^-----------X---------->|--------+3.5V port
1Kohm

Take your signal at "X" it will boost the output voltage .7V higher and a .7v low... which "should" satisfy CMOS and maybe TTL Levels and only 5mA to sink but the i think the inputs to the drives should be happy with the voltages. (The reason I suggest two diodes is that 1.4V+3.5V=4.9V and 1KOkms on .1v is 100uA so it shouldn't affect the port)

If someone is willing to try this maybe on a PCI card that puts out 3.3 - 3.5 volts I'd love to hear the results, because I just thought of this.

.............................................................................................
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-26-2010, 06:01 AM
 
Join Date: Oct 2006
Location: USA
Posts: 142
cjchands is on a distinguished road

Thank you
I wasn't aware there is such a thing as 3V parallel port. Was assuming everything is 5V and either my wiring is bad so there is a drop in voltage.
I'll change it to different PCI board, and perhaps could use this just for input or limit.
Thanks
Reply With Quote

  #7   Ban this user!
Old 02-28-2010, 08:15 AM
 
Join Date: Oct 2006
Location: USA
Posts: 142
cjchands is on a distinguished road

Just an update..
I brought new PCI breakout board....setting the 2nd parallel port and it work fine!!

But what actually happen was:
My breakout to stepper Drive was wiring in a way that I need to connect +5V to PUL+ and DIR+......but I wire Ground Pin to those terminal instead..
So with that said...I rewired and kabooom....I get +4.5V in one direction, 0V in another direction as it should be......
But for STEP pulse...I still get about +0.4V when click JOGGING...
is this sound right?
Reply With Quote

  #8  
Old 02-28-2010, 01:03 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,456
ger21 is on a distinguished road
Buy me a Beer?

You can't measure the voltage on the step pin with a meter, as it's turning on and off thousands of times per second.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #9   Ban this user!
Old 03-02-2010, 12:00 AM
 
Join Date: Oct 2006
Location: USA
Posts: 142
cjchands is on a distinguished road

Yeah..what was I thinking..thank you for pointing that out.
Reply With Quote

  #10   Ban this user!
Old 03-15-2010, 08:53 AM
 
Join Date: Oct 2006
Location: USA
Posts: 142
cjchands is on a distinguished road
Weird Parallel port address show up...!!!

I set up NEW COMPUTER today..
Brand new FORMAT, new WINDOW.
Install MACH 3 and check that parallel port address show up as
3F8
378

Like other computer....MACH 3 default should be set up at Ox3F8
But on MACH 3....it show....Oxc00.
Problem is the JOG is extremely slow moving at 100%, but Program and MDI run NORMAL....BUT it is RUNNING!!

So I change to Ox3F8 to match what address should be.

Guess what?? IT is not working...no movement at all.
So I change back to Oxc00........and it work again..and everything is moving fine. With JOGGING at 100%...it is running...

CAN'T figure out why this happen.
DON'T know why this address is working while Ox3F8 that should be working is NOT....

Anyone can figure this out...appreciate it.
Jeff.
Reply With Quote

Sponsored Links
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
C++, Win XP, Parallel Port Zumba Coding 7 03-29-2012 01:12 PM
parallel port or parallel universe bruno34 Taig Mills & Lathes 5 04-15-2009 10:58 AM
USB to Parallel port? TheDude Hobbycnc (Products) 6 03-24-2008 11:04 AM
2nd PCI Parallel Port sunmix Mach Software (ArtSoft software) 8 11-22-2006 02:17 PM
Crazy move, almost work. slp_prlzys General Electronics Discussion 15 04-12-2005 01:47 AM




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