G08 Advanced preview control
Fanuc G-code · Mill
G08 P1 turns on look ahead preview control so the control reads blocks ahead and keeps feed smooth on short moves. G08 P0 turns it off. Newer controls often use G05.1 Q1 instead.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G08 P1 or G08 P0
Addresses
| Address | What it does |
|---|---|
P1 | Preview control on |
P0 | Preview control off |
How it works
Modal until G08 P0 or reset.
Example program
G90 G54 G00 X0. Y0. (START)
G08 P1 (PREVIEW CONTROL ON)
G01 X1. Y.5 F100. (SHORT CAM MOVES)
G08 P0 (PREVIEW CONTROL OFF)
G08 P1 (PREVIEW CONTROL ON)
G01 X1. Y.5 F100. (SHORT CAM MOVES)
G08 P0 (PREVIEW CONTROL OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- This is an option and the exact function behind G08 differs by model and series.
- Some 30i series setups convert G08 P1 into AI contour control. Ask the builder which one you have.
Related codes
G08 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fagor 8055 8065 | Arc tangent to previous path |
| LinuxCNC Tormach | Lathe radius mode |
| Fadal | Accelerate, no feed ramps |
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 G08 in the app All Fanuc G-codes