Printed from Kezuriba (kezuriba.net/en/nc/g30/)
G30
Machining center, LatheOne-shot, group 002nd (3rd, 4th) reference point return
⌨Format and notes
G91 G30 P2 Z0 (2nd reference point if P is omitted)
- The tool change position, etc., is set on the machine as the 2nd reference point and the tool returns there
- The intermediate point works the same as in G28
Diagram: G30: return to 2nd reference point via intermediate point
≠Differences between controls and machines
The same code can be written or assigned differently depending on the CNC control and the machine builder. Always check your machine’s manual.
| Source | Machine | Item | Detail |
|---|---|---|---|
| Haas | Machining center | existence | G30 not in the listG30 is not listed in the Haas mill and lathe G-code lists (only G28/G29) |
📚Sources
The meaning shown agrees in at least two sources (agreement confirmed). Explanations are written in our own words.
- Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Milling, 04.2007 Edition (6FC5398-7BP10-0BA0) cache.industry.siemens.com
- Siemens AG — SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D Programming Manual ISO Turning, 04.2007 Edition cache.industry.siemens.com
- National Institute of Standards and Technology (NIST), USA — The NIST RS274NGC Interpreter – Version 3 (NISTIR 6556, 2000) nvlpubs.nist.gov
- Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com