Home › G-codes › Okuma OSP › G62
G62 Programmable mirror image
Okuma OSP G-code · Mill
Mirrors the program on the chosen axes so a left and right hand part can share one program.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G62 X Y
Addresses
| Address | What it does |
|---|---|
X Y | Axes to mirror, check the manual for the format |
How it works
Modal. Check the manual for the cancel command.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G62 X0 (MIRROR X, FORMAT TO VERIFY)
N3 CALL O100 (CUT THE MIRRORED SHAPE)
…
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G62 X0 (MIRROR X, FORMAT TO VERIFY)
N3 CALL O100 (CUT THE MIRRORED SHAPE)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Mirroring one axis flips climb milling to conventional milling and swaps arc directions.
- Cancel the mirror before the next tool.
Related codes
G62 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Automatic corner override |
| Mitsubishi M70 M80 | Automatic corner override |
| Brother Speedio | Automatic corner override |
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 G62 in the app All Okuma OSP G-codes