Hello Guest it is March 28, 2024, 09:02:56 AM

Author Topic: hooking up mach3  (Read 2790 times)

0 Members and 1 Guest are viewing this topic.

hooking up mach3
« on: August 24, 2011, 07: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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: hooking up mach3
« Reply #1 on: August 24, 2011, 04:37:53 PM »
Active Hi/Lo will depend on the drives you are using.
Hood
Re: hooking up mach3
« Reply #2 on: August 24, 2011, 05: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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: hooking up mach3
« Reply #3 on: August 24, 2011, 05:54:21 PM »
Laptops are not the best anyway, some work some dont.
Hood

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: hooking up mach3
« Reply #4 on: August 25, 2011, 04: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