var#20 = .2500 (input the diameter to probe); var#21 = 1.2500 (input x center); var#22 = 1.2500 (input y center); T20 (gets probe); P1001 (probe X size sub, result in var#1); P1002 (probe Y size sub, result in var#2); if var#1 > 3.5003 M00 (checks for X size); if var#2 > 2.0003 M00 (checks for Y size);
**********end*******Put this somewhere you can easily cut and paste it, or make a simple macro, or customize a hotkey, whatever your cam system does to automate, otherwise just cut and paste it. Every cam system will allow you to add comments to the NC code.... find where the window to the cnc code is, hopefully in some kind of operations manager. Now your ready to rock.
Program up your part. Cut and paste the code into the window that puts comments in your cnc code at the end of an operation. Edit the first three lines for the hole you want to pick up, hit accept!
Stick this anywhere at will. Program your probe from your cam with ease!
****AND dont EVER use an indicator to put something on location so it can be used to calibrate the probe like a ring gage. If you do that...think about it...