The design methodology of a 2 1/2-dimensional measurement and inspection sy
stem realized on a machine tool using a touch trigger probe and measuring G
codes is studied in this paper. The reliability of measuring results, the
agility of measurement, and user friendliness are synthesized in the design
process. Algorithms for calibration and compensation of measuring errors a
re proposed to ensure the measuring accuracy by using a laser interferomete
r and ring gauges. Classification of probing feedrates and a collision-chec
k algorithm can reduce measuring time and implement stylus-fracture-free me
asurements. To improve the previous on-machine measurement processes, all f
unctions required for measurement and inspection processes are constructed
as measuring G codes with similar forms of machining G codes. The interacti
ve measuring program generating tool, which can automatically generate meas
uring G codes, is developed and potted in a ROM of a CNC, and can be called
to perform an operation by the CNC without interfacing with personal compu
ters. The validity and effectiveness of the developed system are verified o
n a horizontal machining centre with a Fanuc 15MA.