You configure a probe just like almost everything else in emc: add the
right lines to a .hal file. In this case, you will be writing a line to
connect a signal to the pin "motion.probe-input". For example, if the
probe input is on parport pin 26*, you could write
net probe parport.0.pin-26-in motion.probe-input
motion.probe-input must be TRUE for probe contact closed (touching),
FALSE for probe contact open. So if your probe has a LOW voltage when
touching and a HIGH voltage when not touching, you'll have to use the
inverted signal instead:
net probe parport.0.pin-26-in-invert motion.probe-input
Each location found by a G38.2 probing move can be written to a file
named in the special (PROBEOPEN) comment.
Relevant online documentation:
http://linuxcnc.org/docs/2.2/html/gcode_main.html#sub:G38.2:-Straight-Probe
http://linuxcnc.org/docs/2.2/html/man/man9/motion.9.html#PINS
Jeff
* Yes, I know there's no "pin 26"
-------------------------------------------------------------------------
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