That may refer to this example from the NIST rs274ngc document:
    
http://www.isd.mel.nist.gov/personnel/kramer/pubs/RS274NGC_3.web/RS274NGC_33a.html#1013738
(scroll back up a bit from where that takes you)
    N010 (probe to find center and diameter of circular hole)
    N020 (This program will not run as given here. You have to)
    N030 (insert numbers in place of <description of number>.)
    N040 (Delete lines N020, N030, and N040 when you do that.)
    N050 G0 Z <Z-value of retracted position> F <feed rate>
    N060 #1001=<nominal X-value of hole center>
    N070 #1002=<nominal Y-value of hole center>
    N080 #1003=<some Z-value inside the hole>
    N090 #1004=<probe tip radius>
    N100 #1005=[<nominal hole diameter>/2.0 - #1004]
    N110 G0 X#1001 Y#1002 (move above nominal hole center)
    N120 G0 Z#1003 (move into hole - to be cautious, substitute G1 for G0 here)
    N130 G38.2 X[#1001 + #1005] (probe +X side of hole)
    N140 #1011=#5061 (save results)
    N150 G0 X#1001 Y#1002 (back to center of hole)
    N160 G38.2 X[#1001 - #1005] (probe -X side of hole)
    N170 #1021=[[#1011 + #5061] / 2.0] (find pretty good X-value of hole center)
    N180 G0 X#1021 Y#1002 (back to center of hole)
    N190 G38.2 Y[#1002 + #1005] (probe +Y side of hole)
    N200 #1012=#5062 (save results)
    N210 G0 X#1021 Y#1002 (back to center of hole)
    N220 G38.2 Y[#1002 - #1005] (probe -Y side of hole)
    N230 #1022=[[#1012 + #5062] / 2.0] (find very good Y-value of hole center)
    N240 #1014=[#1012 - #5062 + [2 * #1004]] (find hole diameter in Y-direction)
    N250 G0 X#1021 Y#1022 (back to center of hole)
    N260 G38.2 X[#1021 + #1005] (probe +X side of hole)
    N270 #1031=#5061 (save results)
    N280 G0 X#1021 Y#1022 (back to center of hole)
    N290 G38.2 X[#1021 - #1005] (probe -X side of hole)
    N300 #1041=[[#1031 + #5061] / 2.0] (find very good X-value of hole center)
    N310 #1024=[#1031 - #5061 + [2 * #1004]] (find hole diameter in X-direction)
    N320 #1034=[[#1014 + #1024] / 2.0] (find average hole diameter)
    N330 #1035=[#1024 - #1014] (find difference in hole diameters)
    N340 G0 X#1041 Y#1022 (back to center of hole)
    N350 M2 (that's all, folks)

Jeff

-------------------------------------------------------------------------
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

Reply via email to