Hello all! 
We have a part that consists of a big cylinder (Ø35mm). 45mm inside the cylinder theres two small Ø6 holes. I wish to measure the distance between these holes.
The problem is that the probe is very very close to the cylinder when measuring it (about 1mm clearance between probe and cylinder).
So if the Ø35 cylinder is smaller than nominal, the probe will crash into the cylinder when measuring the Ø6 holes. (I even measure them as half-circles towards the center of cylinder).
So to avoid this crashing when operators are using the machine I wish to put in a If/else command that says IF the Ø35 cylinder is smaller than 35, dont measure the Ø6holes. Else, measure them.
Anyone has any idea how to solve this? I havent even tried making any if/else commands yet because my knowledge of it is very poor

We have a part that consists of a big cylinder (Ø35mm). 45mm inside the cylinder theres two small Ø6 holes. I wish to measure the distance between these holes.
The problem is that the probe is very very close to the cylinder when measuring it (about 1mm clearance between probe and cylinder).
So if the Ø35 cylinder is smaller than nominal, the probe will crash into the cylinder when measuring the Ø6 holes. (I even measure them as half-circles towards the center of cylinder).
So to avoid this crashing when operators are using the machine I wish to put in a If/else command that says IF the Ø35 cylinder is smaller than 35, dont measure the Ø6holes. Else, measure them.
Anyone has any idea how to solve this? I havent even tried making any if/else commands yet because my knowledge of it is very poor
Comment