On a Fanuc control G68 is coordinate rotation "On" and G69 Coordinate rotation "Cancel". On your line with G68 supply the X & Y value for the position of rotation and an "R" in degrees of rotation. A negative number will rotate CCW.
G68 X0 Y0 R90.
At the end of the run use the G69.