CNC Machinist Calculator Ultra

Home › G-codes › Mitsubishi M70 M80 › G10

G10 Program data input for offsets

Mitsubishi M70 M80 G-code · Mill

Writes work offsets and tool offsets from the program. L2 sets G54 to G59, L20 sets G54.1 sets, L10 to L13 set tool length and radius data.

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 L2 P X Y Z or G10 L10 P R

Addresses

AddressWhat it does
L2 PWork offset, P1 to P6 for G54 to G59, P0 external offset
L20 PExtended work offset G54.1 P number
L10 L11Tool length geometry and wear, P is offset number
L12 L13Tool radius geometry and wear, P is offset number
ROffset value

How it works

Non-modal, group 00.

Example program

G90 G10 L2 P1 X-12.5 Y-8.25 Z0. (SET G54)
G10 L10 P5 R4.1235 (LENGTH OFFSET 5)
G10 L12 P5 R.25 (RADIUS OFFSET 5)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G54.1 · G90 · G91

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
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
FadalProgrammable data input

Every G-code for Mitsubishi M70 M80 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 Mitsubishi M70 M80 G-codes

App Store Google Play