Home › G-codes › Siemens 808D ISO › G05
G05 Subprogram call for high-speed cycle cutting
Siemens 808D ISO G-code · Lathe
Calls a subprogram like M98 P, but the called program can be precompiled so it runs faster. P is the program number and L the number of runs.
Format
G05 P [L]
Addresses
| Address | What it does |
|---|---|
P | Program number to call, for example P10123 runs 10123.mpf |
L | Number of runs, 1 if left out |
How it works
Non-modal, G group 18.
Example program
G00 X50.0 Z2.0 (START POINT)
G05 P10123 L3 (RUN 10123.MPF 3 TIMES)
G00 X150.0 Z100.0 (RETRACT)
G05 P10123 L3 (RUN 10123.MPF 3 TIMES)
G00 X150.0 Z100.0 (RETRACT)
Example is in inch. Check offsets and clearances first.
Watch out for
- Not the Fanuc high-speed machining G05. Here it only calls a program, and it does not switch to Siemens mode.
- G05 without P, G05 P0, G05 P01 and any G05.1 block are skipped with no alarm, so a Fanuc G05.1 Q1 line does nothing here.
Related codes
G05 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Mazak (EIA) | High speed machining mode |
| Mitsubishi M70 M80 | High speed high accuracy control II and III |
| Heidenhain TNC (ISO) | Arc without direction, Cartesian |
| Fagor 8055 8065 | Round corner |
| LinuxCNC Tormach | Cubic spline |
| Fadal | Non modal rapid travel |
Every G-code for Siemens 808D ISO 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 G05 in the app All Siemens 808D ISO G-codes