On 9 Dec 2008 at 21:24, [EMAIL PROTECTED] wrote:

> 
> I am using EMC2 and Ubuntu 6.06 and would like to share my
> understanding of
> hooking up a touch-trigger probe with experts on this list.
> 
> The probe acts as a NC switch and is connected to pin 12 on the
> parallel port.
> 
> In the HAL file, I add a line: net probe parport.0.pin-12-in =>
> motion.probe-input (or net probe parport.0.pin-12-in-not =>
> motion.probe-input).
> Not sure which one I should use.

A switch will make the in-not True when closed and False when open 
and the in will be False when closed and True when open.

> 
> Is this all that is required?

Yes

> 
> The other thing I'd like to check is whether I can probe when the
> switch goes
> from NC to open (G38.2) and vice versa. In other words, is it
> possible to probe
> fron Open to NC?

Here is a link to the motion.probe-input
http://www.linuxcnc.org/docview/html//config_emc2hal.html

> 
> Is G38.4 designed for this purpose?

G38.4 is only in the TRUNK (2.3) version of EMC.

AFAIK motion.probe-input still needs the same signal false to true.

John
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to