Home › G-codes › Okuma OSP › G23
G23 Programmable travel limit cancel
Okuma OSP G-code · Mill
Cancels the travel limit set by G22.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G23
How it works
Modal, same group as G22.
Example program
O1000 (OKUMA MILL SAMPLE)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G22 X10. Y5. Z0 (TRAVEL LIMIT ON, VALUES ARE EXAMPLES)
N3 G23 (TRAVEL LIMIT OFF)
N1 G15 H1 (WORK COORDINATE SYSTEM 1)
N2 G22 X10. Y5. Z0 (TRAVEL LIMIT ON, VALUES ARE EXAMPLES)
N3 G23 (TRAVEL LIMIT OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- Cancel the limit before moving to tool change or pallet change positions.
Related codes
G23 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Stored stroke check off |
| Brother Speedio | Stored stroke check off |
| Centroid CNC12 Acorn | Work envelope off |
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 G23 in the app All Okuma OSP G-codes