Thanks for the help John,
the pin??-in-not works great!
The typo is located in my computer in
emc2/configs/stepper/standard_pinout.hal. Also, the user manual chapter
4.3.1 is infested with the same typos. There are several lines near the
bottom of the page with the parport number missing. I have changed the
pin numbers and fixed most of them and I don't remember exactly which
lines need fixing.
Is there any way to link more than one axis limit pin to one parport pin
and not fault the other axis while homing? One obvious solution to me is
a physical switch to turn off the limit switches during homing. Easily
doable... But not so elegant!
Thank for the help,
Clint
John Kasunich wrote:
------------------------------
Message: 5
Date: Thu, 08 Nov 2007 22:56:06 -0500
From: John Kasunich <[EMAIL PROTECTED]>
Subject: Re: [Emc-users] Limit switch polarity?
To: "Enhanced Machine Controller (EMC)"
<[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
xtra209 wrote:
> > Hi,
> >
> > How can I change the home switch -in- polarity? I want to use six
> > normally open switches on one pin because that's what the previous
> > controller used and that's what is there. So, Any help changing
that one
> > pin's -in- polarity for a limit switch?
instead of:
linksp some-signal parport.0.pin-??-in
use:
linksp some-signal parport.0.pin-??-in-not
> >
> > Oh, and there is a slight glitch in the hal stepper file. (I'm not
on a
> > linux machine at the moment so I can't copy and paste the exact line
> > here but...) here goes... removing the # in # linkps parport.pin-11-in
> > => Xlimits. causes EMC2 to fail loading. I discovered adding "0."
> > between parport. and pin-blahblahblahetc fixes that problem.
> >
> > Oh... emc2.1.6 ubuntu6.10-lts, Stepper motors...
> >
> > I told you I'm an excellent "fool proof tester..."
You found a typo in the sample config. It should be:
parport.0.pin-11-in
That means pin 11 of the first parallel port. If you had two ports you
would access the other one with parport.1.pin-whatever
Exactly what file did you find that in? I just tried to find it to fix
it, and I can't....
Regards,
John Kasunich
------------------------------
-------------------------------------------------------------------------
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