I have a problem, we measure the position of the pin and more precisely the position of the pin width.
3-3.2mm pos. 1 (M) DEF. In order to measure the pin, we have to base it on another element and turn the alignment by a certain degree. Then the center of the pin is X = 0, Z = 0
In the program, and placement on the machine the width is in the Z axis.
The question is whether we can report the position in the current alignment when we care about the left/right movement of the pin, where Z nominal is 0 and shows us our deviation (left/right)
So position, current alignemt, only axis Z.
Or do I have to choose datum reference, and XYZ.
Your print you shared depicts slots, not pins.
I think your conundrum is the pins can freely move within those slots and you don't know how to adapt your rotational "play" between the two slots to make the positional control a straight linear distance from the first datum(D) pin?
if that's the case...
Measure D. origin to it.
if your second pin is free to drift anywhere within that second slot, i would add a "find the pin" kind of point, where you take a vector point parallel to the length of the slot with a really high prehit/retract and CHECK distance. Origin to the found pin point + the pin's theo radius
consturct/point
findpin.tx, findpin.ty + (or minus) PINRADIUS, findpin.tz, findpin.ti, findpin.tj, findpin.tk
findpin.x, findpin.y + (or minus) PINRADIUS, findpin.z, findpin.i, findpin.j, findpin.k
origin to this constructed point, measure the pin as an autocircle at xy 0,0
now, recall your alignment back to D.
constuct a line between pin and D
rotate to that line
report position, with your 2mm BASIC distance hard-set.
Your print you shared depicts slots, not pins.
I think your conundrum is the pins can freely move within those slots and you don't know how to adapt your rotational "play" between the two slots to make the positional control a straight linear distance from the first datum(D) pin?
if that's the case...
Measure D. origin to it.
if your second pin is free to drift anywhere within that second slot, i would add a "find the pin" kind of point, where you take a vector point parallel to the length of the slot with a really high prehit/retract and CHECK distance. Origin to the found pin point + the pin's theo radius
consturct/point
findpin.tx, findpin.ty + (or minus) PINRADIUS, findpin.tz, findpin.ti, findpin.tj, findpin.tk
findpin.x, findpin.y + (or minus) PINRADIUS, findpin.z, findpin.i, findpin.j, findpin.k
origin to this constructed point, measure the pin as an autocircle at xy 0,0
now, recall your alignment back to D.
constuct a line between pin and D
rotate to that line
report position, with your 2mm BASIC distance hard-set.