On Tue, Jan 06, 2009 at 12:32:08PM -0600, Len Shelton wrote:
> I know this has been covered before, but I cannot find it...
> 
> How do you connect two pins to the same signal to be able to, for instance,
> use two stepper motors on the same axis?

You can do this in one or more 'net' commands:

On one line:
    net Xstep stepgen.0.out => parport.0.pin-02-out parport.0.pin-08-out

On multiple lines (just one of many variations):
    net Xstep stepgen.0.out => parport.0.pin-02-out
    net Xstep               => parport.0.pin-08-out

For a given signal (Xstep in this example) you can have only one source
(a hal "OUT" pin, stepgen.0.out in this example), and as many readers as
you like (a hal "IN" pin, parport.0.pin-##-out in this example).

(For so-called "IO" pins like index-enable, the rule is a little
different and I won't try to summarise it for fear I'll get it wrong)

Jeff

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to