CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] L297 / L298 Help Required Pls!

Posted by John Johnson
on 2003-11-08 16:06:48 UTC
On Saturday, November 8, 2003, at 01:59 PM, paragon032003 wrote:

> Could someone please explain how to connect a L297 / L298 Stepper
> driver to the PC parallel port?

Have a look at the pin outs here:
http://www.super-tech.com/root/supercam/scpinouts.asp
You can use the top right one, Portmode=Step/Dir.

Basically, it works like this:
The Dir(ection) pin controls whether the motor turns clockwise, or
counter-clockwise. If it's high, it goes one way, if it's low, it goes
the other.
The Step pin makes the motor step. It steps in the direction that the
Dir pin says it should.

> The parallel port send Step / Direction info. Hi/Low signals ... on
> two pins.
>
> What I don't understand is how this works and where the GND / + side
> comes from the PC.

Pins 18 through 26 are ground on the PC port. You connect that to the
ground for the +5v you use
for the L297. Of course the L297/L298 have to have their own +5v
supply, as the parallel port can't supply enough power for them.

>
> Additional info ....
>
> I have three stepper cards that control X ,Y, Z axis of a mill.
> When I use a logic probe on the card connectors I find the step pin is
> high by default (from the stepper card). When I turn the jog button
> this flashes the Grn (low) led on the probe then returns to high
> (red) and the stepper motor turns.

You mean the motor turns while the step pin is flashing? If so that's
good.
>

Regards,
JJ

"Here is the thing you will learn from really using an OS X Macintosh,
and must somehow accept on faith if that's what it takes to get you to
Switch: Apple makes design decisions based on a sincere desire to make
your life better." -- Glenn McDonald

Discussion Thread

paragon032003 2003-11-08 10:59:46 UTC L297 / L298 Help Required Pls! RichD 2003-11-08 15:22:11 UTC Re: [CAD_CAM_EDM_DRO] L297 / L298 Help Required Pls! John Johnson 2003-11-08 16:06:48 UTC Re: [CAD_CAM_EDM_DRO] L297 / L298 Help Required Pls! paragon032003 2003-11-08 18:06:09 UTC Re: L297 / L298 Help Required Pls! RichD 2003-11-08 18:28:16 UTC Re: [CAD_CAM_EDM_DRO] Re: L297 / L298 Help Required Pls! paragon032003 2003-11-11 07:50:25 UTC Re: L297 / L298 Help Required Pls! paragon032003 2003-11-11 08:38:05 UTC Re: L297 / L298 Help Required Pls! John Johnson 2003-11-11 16:07:00 UTC Re: [CAD_CAM_EDM_DRO] Re: L297 / L298 Help Required Pls! paragon032003 2003-11-12 15:35:49 UTC Re: L297 / L298 Help Required Pls!