> I'm trying to grasp the physical wiring connections I need from the 
> parallel port to the 5 1/4" floppy stepper controller. No problem on the 
> power it will be from a PC power supply so I have both 5v and 12v.
>
> On the parallel port side if I use the standard_pinout.hal the line
>
> linksp Xstep => parport.0.pin-03-out
>
> Does that refer to the register bit D3 (Data bit 3)on the parallel port?

unfortunately the pinout diagram doesnt show correctly in the html docs, 
but if you look in the user manual pdf 
http://linuxcnc.org/docs/EMC2_User_Manual.pdf
  on page 76 you can see how the hal pins relate to the physical pinout. 
pin-03 is the third pin from the left when looking at the connector, but 
you should use your multimeter to make sure.

> If that is the case do I connect as follows
>
> Signal pin 5 (D3) on the parallel port to pin 18 Step on the edge 
> connector of the floppy controller and Ground return pin 20 (for D3) on 
> the parallel port to pin 19 Ground (for Step) on the edge connector of 
> the floppy controller.

yes, and you will probably also need a 10k resistor connecting the Step 
pin to +5V because parports can't actively drive the pins high

> The rotation is initiated on the trailing edge of the Step pulse.
>
> So I need to pull down the signal to make the stepper step with EMC so I 
> need to change the line
>
> linksp Xstep => parport.0.pin-03-out
> to
> linksp Xstep => parport.0.pin-03-out-invert 1

no, this is wrong. parport.*-invert is a parameter, not a pin, so you 
can't link to it. you'd have to do setp parport.0.pin-03-out-invert TRUE 
which changes the way the pin functions. but, there's not really any point 
to worrying about the polarity of the step pin anyway, since it will go 
through a full pulse every two BASE_PERIODs.

-------------------------------------------------------------------------
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