CNC Machinist Calculator Ultra

Home › G-codes › LinuxCNC Tormach › G58

G58 Work coordinate system 5

LinuxCNC Tormach G-code · Mill and lathe

Selects work coordinate system 5 of 9. All following positions are measured from its origin.

Format

G58

Addresses

AddressWhat it does
noneNo words

How it works

Modal, coordinate system group.

Example program

G20 G17 G40 G49 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43
G58 (WORK SYSTEM 5)
S3000 M3
…

The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G54 · G10 L2 · G10 L20

G58 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucWork coordinate system 5
Haas NGCWork offset 5 select
Mach3 Mach4Work offset 5
Centroid CNC12 AcornWork coordinate system 5
Hurco WinMax (NC)Work coordinate system 5
FadalFixture offset 5, same as E5

Every G-code for LinuxCNC Tormach 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 G58 in the app All LinuxCNC Tormach G-codes

App Store Google Play