0

Hole or no hole

Michael Larsen hace 1 año en Metrology Software / PC-DMIS actualizado por Kingsld1 hace 1 año 1

Sometimes, I like to check if there is a hole at the right spot, not its coordinates.

or when the left part has a hole, and the right part doesn't.

So could You make a function, that "dives" into a hole, with a depth that I type in, and move to the avoidance distance, before it continues with the next feature?

This is doable with ON ERROR.   Basically, You tell the CMM to measure a point.  If there is a surface present then it will record the coordinates and continue on with the routine.  If the surface is missing, then the ON ERROR code is triggered.  One of the things you can do with ON ERROR is to have the routine jump to another part of the program.