Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:21:14 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  hooking up mach3
Pages: 1   Go Down
Print
Author Topic: hooking up mach3  (Read 321 times)
0 Members and 1 Guest are viewing this topic.
widpyro
Active Member

Offline Offline

Posts: 61


View Profile WWW
« on: August 24, 2011, 06:07:38 AM »

I have hooked up mach3 several tiems, but for some reason I am having difficulty this time.  I have pins 2 & 6 hooked to -step and -direction (in that order), and a return wire running from +step and +direction to pin 24. Should I set the configuration for high or low? Am I missing something?

Thanks,
-jim
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #1 on: August 24, 2011, 03:37:53 PM »

Active Hi/Lo will depend on the drives you are using.
Hood
Logged
widpyro
Active Member

Offline Offline

Posts: 61


View Profile WWW
« Reply #2 on: August 24, 2011, 04:02:48 PM »

Thanks Hood,

The problem was the laptop. I guess that time I submerged it in water and then stepped on it did some damage. I tried a different computer and everything works fine. Surprising cause everything else seems to work.

-jim
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #3 on: August 24, 2011, 04:54:21 PM »

Laptops are not the best anyway, some work some dont.
Hood
Logged
stirling
Global Moderator
*
Offline Offline

Posts: 1,190

UK


View Profile WWW
« Reply #4 on: August 25, 2011, 03:42:08 AM »

As you have things working now you'll probably not be interested but you have your driver wired in a slightly un-conventional way. As well as the active lo/hi thing, you can elect to use parallel ports outputs to either SOURCE or SINK current. "Normally" you would use them in sink mode. That is, you'd have a 5V supply to the +ve side of your step and dir driver inputs and then you'd use your parallel port pins to PULL the "-ve" side low (and thus SINK current). This is the way you'd more than likely HAVE to do things if you used optos.

You appear to be using your parallel port pins in current SOURCE mode. The issue here is that the amount of current parallel port pins can sink and source is USUALLY different. USUALLY they can SINK much more than they can SOURCE. This MAY be why your laptop appears to be otherwise OK - i.e. it PROBABLY IS but it just can't SOURCE enough current and hence the required ~5V is being pulled down too much to be a valid TTL high. If you tried SINK mode then it MAY work. BUT - As Hood says, laptops arn't recommended anyway (for this as well as other reasons).

Ian
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!