On Fri, 2010-07-23 at 07:27 -0500, James Louis wrote:
> Thanks for the reply Kirk.  Having explained it, would you (or anyone) mind 
> translating the following generic sample to "net" without deleting any signal 
> names? :
> 
> newsig signalnameA bit
> newsig signalnameB bit
> newsig signalnameC bit
> linksp signalnameA <= inputpin1
> linksp signalnameA => axis.0.negativelimit
> linksp signalnameB <= inputpin2
> linksp signalnameB => axis.0.positivelimit
> linksp signalnameC <= inputpin2
> linksp signalnameC => axis.0.home
> 
or

net signalnameA inputpin1 axis.0.negativelimit
net signalnameB inputpin2 axis.0.positivelimit
net signalnameC inputpin2 axis.0.home

but
  http://www.linuxcnc.org/docview/html//man/man9/motion.9.html 
shows that the axis.N. names may need to be different, such as:

net signalnameA inputpin1 axis.0.neg-lim-sw-in
net signalnameB inputpin2 axis.0.pos-lim-sw-in
net signalnameC inputpin2 axis.N.home-sw-in

or functionally the same:

net signalnameA inputpin1 axis.0.neg-lim-sw-in
net signalnameB inputpin2 axis.0.pos-lim-sw-in axis.N.home-sw-in

(inputpin1 and inputpin2, in real life, would most likely be different,
such as:

net signalnameA parport.0.pin-10-in axis.0.neg-lim-sw-in
net signalnameB parport.0.pin-11-in axis.0.pos-lim-sw-in axis.N.home-sw-in

when using a parallel port for the hardware interface)

(I haven't verified any of the above with EMC2 software.)

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to