CNC Machinist Calculator Ultra

Home › G-codes › Fadal › G10

G10 Programmable data input

Fadal G-code · Mill

Writes or reads fixture offsets, tool offsets and the R0 to R9 parameters from the program. L picks the table and P picks the number.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

G10 L P [X] [Y] [Z] [R]

Addresses

AddressWhat it does
L2Fixture offset table
L10 L12Tool length and tool diameter tables
L13 L14 L15Read a fixture, length or diameter value into R0
L100 to L109Set parameter R0 to R9
POffset number or value

How it works

Non modal.

Example program

N1 G0 G40 G49 G80 G90 G17 (FORMAT 2 SAFE START)
N2 G10 L2 P2 X-10. Y-5. Z0. (SET FIXTURE OFFSET 2)
N3 G10 L14 P2 (R0 NOW HOLDS LENGTH OF OFFSET 2)
N4 E2 (USE FIXTURE OFFSET 2)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G43

G10 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucProgrammable data input, offsets
Haas NGCProgrammable offset setting
Mazak (EIA)Program data setting, offsets
Okuma OSPCancel coordinate shift and rotation
Mitsubishi M70 M80Program data input for offsets
Brother SpeedioProgrammable data input
Heidenhain TNC (ISO)Rapid straight line, polar
Fagor 8055 8065Mirror image cancel
Mach3 Mach4Set offsets from the program
Centroid CNC12 AcornSet parameter or offset from program
Hurco WinMax (NC)Data setting, offsets by program

Every G-code for Fadal 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 Fadal G-codes

App Store Google Play