Hi,
Is it possible to rotate work offset with G68 by measuring 2 dial pin holes. Lets say I start in dialpin hole 1 and do a holecenter and make that X0Y0. And then I go to dialpin hole 2 and make a hole center. How can I aline my program so x axis are paralell with those 2 holes. I find no measuring cycle for this only edge angle cycles. Is it possible to calculate the diffrence in a program. lets say hole2 are = X50.5 Y1.5 (hole1 and 2 are 50mm appart) Is it possible to SIN calc it to a angle and then put it in A1 variable and then do a G68 work offset rotating?
Parts are round so there is no way index them beside the paralell of the dialpin holes.
Is it possible to rotate work offset with G68 by measuring 2 dial pin holes. Lets say I start in dialpin hole 1 and do a holecenter and make that X0Y0. And then I go to dialpin hole 2 and make a hole center. How can I aline my program so x axis are paralell with those 2 holes. I find no measuring cycle for this only edge angle cycles. Is it possible to calculate the diffrence in a program. lets say hole2 are = X50.5 Y1.5 (hole1 and 2 are 50mm appart) Is it possible to SIN calc it to a angle and then put it in A1 variable and then do a G68 work offset rotating?
Parts are round so there is no way index them beside the paralell of the dialpin holes.