lowCountryCamo
Stainless
- Joined
- Jan 1, 2012
- Location
- Savannah, Georgia, USA
I am probing a rectangular piece of stock on the bottom right corner. The y negative side of stock is rotated about +2 degrees. Macro writes to G57. Then program goes to G57 x0.y0. G68 R#189. The macro is calculating -178.xxx) So the program in rotating -178.xxx instead of 2.xxx. I am guessing which corner determines the sign of the angle. I cannot probe from any other corner.
Code looks like this
G00 G90
G65 P9023 A15. I4. J1.25 B4. S57
Z8.
G00 G90 g57 X0.Y0.
G68 X0. X0. R#189
I wanted coordinates to rotate 2.xxx and it goes -178.xxx. Is there a way I can modify the var #189?
Thanks,
Steve
Code looks like this
G00 G90
G65 P9023 A15. I4. J1.25 B4. S57
Z8.
G00 G90 g57 X0.Y0.
G68 X0. X0. R#189
I wanted coordinates to rotate 2.xxx and it goes -178.xxx. Is there a way I can modify the var #189?
Thanks,
Steve