Pro codes · Fanuc
G10 L10–L13 — Set tool offsets from the program (Fanuc)
Set tool offsets from the program. With tool offset memory C: G10 L10 sets the length geometry (H), L11 the length wear, L12 the radius geometry (D) and L13 the radius wear. P is the offset number, R the…
| Property | Value |
|---|---|
| Code | G10 L10–L13 |
| Control | Fanuc |
| Topic | Offsets and data |
| Syntax | G10 L10 P<n> R<value> |
What it does
With tool offset memory C: G10 L10 sets the length geometry (H), L11 the length wear, L12 the radius geometry (D) and L13 the radius wear. P is the offset number, R the value. Memory A uses G10 L11 for all. Used by tool setters and probing macros.
Example
G90 G10 L10 P5 R185.230 (H5 GEOMETRY)
G90 G10 L11 P5 R0. (H5 WEAR)
G91 G10 L13 P5 R-0.01 (D5 WEAR -0.01)Tips
- Lathes use G10 P X Z R Q with different P numbers for geometry and wear.
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: offsets and data
- G10 L2 / L20 — Set a work offset from the program (Fanuc)
- G54.1 P1–P48 — Additional work offsets (Fanuc)
- G51.1 / G50.1 — Programmable mirror image (Fanuc)
- TRANS / ATRANS / ROT — Programmable frames (Siemens)