Pro codes · Haas
G103 — Limit block look-ahead (Haas)
Limit block look-ahead. G103 P0–P15 limits how many blocks the Haas control reads ahead. P1 makes the control execute one block at a time, which is useful in macros that read probe results or…
| Property | Value |
|---|---|
| Code | G103 |
| Control | Haas |
| Topic | High-speed machining |
| Syntax | G103 P<0–15> |
What it does
G103 P0–P15 limits how many blocks the Haas control reads ahead. P1 makes the control execute one block at a time, which is useful in macros that read probe results or I/O, and for debugging. G103 or G103 P0 returns to full look-ahead.
Example
G103 P1 (READ ONE BLOCK AT A TIME)
G31 Z-20. F100.
#100 = #5063
G103 (NORMAL)Tips
- On Fanuc controls the same problem is solved with a non-motion block or by the way system variables are read; check the manual.
Careful: Leaving G103 P1 active makes the machine stop between all blocks.
Options, numbers and parameters depend on the control model, the software version and the options the machine builder installed. Check the operator and parameter manual of your machine before you use a code for the first time, and run it in single block with low overrides.
Try it without a machine
The Macro B simulator runs variables, G65 calls, #3000 alarms, G10 and system variables block by block.
Open the Macro B simulatorMore: high-speed machining
- G05.1 Q1 — AI contour control (AICC) / look-ahead (Fanuc)
- G08 P1 — Advanced preview control (older controls) (Fanuc)
- G05 P10000 — High-precision contour control (HPCC) (Fanuc)
- G187 — Accuracy / smoothness control (Haas)
- CYCLE832 — High-speed settings (Sinumerik) (Siemens)
- CYCL DEF 32 — Tolerance cycle (TNC) (Heidenhain)
- COMPCAD — Compressor for CAM data (Siemens)