[Emc-users] Two motors, one axis

2009-01-06 Thread Len Shelton
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?

Thanks,
Len





--
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Two motors, one axis

2009-01-06 Thread Alex Joni
You can use either net:

net signalname pin-writer pin-reader1 pind-reader2

or net again:

net signalname pin-writer pin-reader1
net signalname pin-reader2

or linksp:
net signalname pin-writer pin-reader1
linksp signalname pin-reader2

or linkps:
net signalname pin-writer pin-reader1
linkps pin-reader2 signalname

or only linksp:
newsig signalname type
linksp signalname pin-writer
linksp signalname pin-reader1
linksp signalname pin-reader2

.. and probably a couple other ways too ;)

Regards,
Alex

- Original Message - 
From: Len Shelton l...@probotix.com
To: 'Enhanced Machine Controller (EMC)' emc-users@lists.sourceforge.net
Sent: Tuesday, January 06, 2009 8:32 PM
Subject: [Emc-users] Two motors, one axis


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?

 Thanks,
Len





 --
 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
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users






No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.3/1878 - Release Date: 06.01.2009 
07:56


--
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Two motors, one axis

2009-01-06 Thread Dave Caroline
key word is gantrykins http://axis.unpy.net/01162326817 and on from there

Dave Caroline (archivist)

--
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Two motors, one axis

2009-01-06 Thread Jeff Epler
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users