CNC Machinist Calculator Ultra

Home › G-codes › Okuma OSP › G11

G11 Coordinate parallel shift and rotation

Okuma OSP G-code · Mill

Shifts the program origin and can rotate the coordinate system by an angle. Handy for a feature that sits at an angle on the part.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G11 X Y [P]

Addresses

AddressWhat it does
X YNew origin position
PRotation angle in degrees

How it works

Modal. Cancel with G10.

Example program

O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G11 X2. Y1. P30. (SHIFT ORIGIN AND ROTATE 30 DEGREES)
N3 CALL O100 (CUT THE FEATURE)
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G10 · G15

G11 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCancel programmable data input mode
Heidenhain TNC (ISO)Straight line at feed rate, polar
Fagor 8055 8065Mirror image on X
Hurco WinMax (NC)Data setting mode cancel

Every G-code for Okuma OSP in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open G11 in the app All Okuma OSP G-codes

App Store Google Play