Hello everyone,
I am breaking my head here.
I want to rotate the entire coordinate system around the Y axis. Like the righthand XYZ and than turn 90 degrees CCW. This is to mill side pockets. I have a rotary on the spindle so the rotary is turning parallel to the Y axis.
How do i implement this in Gcode. I was looking at G68 but that only allows me to rotate in the XY plane and i want to be drilling in the YZ plane.
I think a lot of people have this problem though, as i need to figure this out so i can implement in postprocessor.
Basically i would like to know if there is Gcode that will make this easier, rather than having to calculate every single position of the machine to drill the side pockets ( taking into account that X becomes Z and thus headbreakers ) . As it needs to calculate based upon another coordinate system set in the Cam software, this will be different everytime depending on the piece. Very difficult to get the correct coordinates.
Any help pleassseeee

THX