On Tuesday 04 September 2007, John Thornton wrote:
>> > I did find this link right after I hit the send button...
>> >
>> > http://jewel.morgan.edu/~tmalone/dskdrv/dskdrv.html
>>
>> this code just outputs step and direction with some primitive velocity
>> control. you would do much better just using the standard stepper
>> configuration in emc.
>>
>> you need to look at the stepper motor drive card and figure out which
>> pins are step and direction. then it's simply a matter of hooking
>> those pins to the parallel port. you might want to use a 1k series
>> resistor to protect your port. also you will probably need a (10k)
>> pullup resistor.
>
>I'm using EMC and was in need of help to clear up how to wire it up.
>
>The step is pin 20 and the direction is pin 18 on the edge connector
>of the floppy drive.
>
>How and why do I need the resisters? The floppy logic is pull low for
>on.
>
>Can I just power up the floppy controller and short pin 20 (step) to 19
> (ground) to see it step once and verify that it is indeed the correct pin?
>Or do I need a resistor to prevent too much current flow?

That should work John.  And in this case I don't think I'd worry about 
resistors.  On the drive, if the terminator resistor packs are plugged in, 
there shouldn't be anything further required.  If they are missing, I'd add 
some pullups, say 10k's just to make sure the logic one for the open circuit 
is well established.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
This is an unauthorized cybernetic announcement.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to