Home › G-codes › Hurco WinMax (NC) › G10
G10 Data setting, offsets by program
Hurco WinMax (NC) G-code · Mill
Writes work offsets or tool offsets from the program. L2 sets G54 to G59, L20 sets G54.1 offsets, and the tool forms set length and radius registers.
Format
G10 L2 P X Y Z [A B C] or G10 L20 P X Y Z or G10 P R or G10 L3 T H D R
Addresses
| Address | What it does |
|---|---|
L2 P | Work offset. P0 external shift, P1 to P6 for G54 to G59 |
L20 P | Auxiliary work offset G54.1 P1 to P93 |
P R | Tool length offset number 1 to 200 and its value |
L3 T H D R | Tool number with length, radius and corner radius values |
X Y Z A B C | Offset values |
How it works
Non modal for L2 and L20. The L3 table form stays on until G11.
Example program
G90 G10 L2 P1 X-12.5 Y-8.25 Z-10.1 (SET G54)
G10 L20 P46 X12.5 Y3. Z-.5 (SET G54.1 P46)
G10 L3 (START TOOL DATA)
T1 H-8.125 D.25 R0. (TOOL 1 VALUES)
…
G10 L20 P46 X12.5 Y3. Z-.5 (SET G54.1 P46)
G10 L3 (START TOOL DATA)
T1 H-8.125 D.25 R0. (TOOL 1 VALUES)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G90 writes the value. G91 adds it to the stored value.
- G10 L3 starts a data mode. List one T line per tool, then G11 to end it.
- Graphics cannot run G10 while the program runs.
Related codes
G10 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Programmable data input, offsets |
| Haas NGC | Programmable offset setting |
| Mazak (EIA) | Program data setting, offsets |
| Okuma OSP | Cancel coordinate shift and rotation |
| Mitsubishi M70 M80 | Program data input for offsets |
| Brother Speedio | Programmable data input |
| Heidenhain TNC (ISO) | Rapid straight line, polar |
| Fagor 8055 8065 | Mirror image cancel |
| Mach3 Mach4 | Set offsets from the program |
| Centroid CNC12 Acorn | Set parameter or offset from program |
| Fadal | Programmable data input |
Every G-code for Hurco WinMax (NC) 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 G10 in the app All Hurco WinMax G-codes