CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G22

G22 Stored stroke check on

Fanuc G-code · Mill, Lathe

On mills: Stored stroke check on

Turns on a second protected zone, a box given by two corner points. The machine stops with an alarm before entering it. Used to protect a fixture or tailstock area.

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

Format

G22 X Y Z I J K

Addresses

AddressWhat it does
X Y ZFirst corner of the zone, machine coordinates
I J KOpposite corner of the zone, machine coordinates

How it works

Modal, group 04. Cancel with G23.

Example program

G22 X-10. Y-8. Z-12. I-6. J-4. K0. (PROTECT VISE JAW AREA)
G00 X-12. Y-10. (MOVES OUTSIDE THE ZONE ARE OK)
G23 (TURN ZONE OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Stored stroke check on

Turns on a programmed forbidden area, such as a chuck or tailstock zone. The machine stops with an alarm before it enters.

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

Format

G22 X Z I K

Addresses

AddressWhat it does
X ZFirst corner of the boundary
I KSecond corner of the boundary

How it works

Modal, group 09. Cancel with G23.

Example program

G22 X6. Z-4. I-6. K-6. (PROTECT CHUCK ZONE)
G00 X2.1 Z.1 (APPROACH, CHECK ACTIVE)
G23 (CHECK OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G23

G22 on other controls

The same number can mean something different on another control.

ControlMeaning
Okuma OSPProgrammable travel limit on
Brother SpeedioStored stroke check on
Fagor 8055 8065Enable or disable work zones
Centroid CNC12 AcornWork envelope on

Every G-code for Fanuc 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 G22 in the app All Fanuc G-codes

App Store Google Play