Printed from Kezuriba (kezuriba.net/en/nc/g65/)
G65
Machining center, LatheOne-shot, group 00Macro call (simple call, with arguments)
⌨Format and notes
G65 P_ (program number) L_ (repeat count) A_ B_ … (arguments)
- Unlike M98, arguments can be passed by address (A, B, X, Z, etc.). The passed values go into the macro's local variables
- Haas: when writing an M-code in the same block, write it after G65 (writing it before causes an alarm)
📚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
- Haas Automation, Inc. — G-code, M-code, and Setting (per-code explanation pages) haascnc.com
- Haas Automation, Inc. — Mill Operator's Manual – 17 Mill G-Codes (online version) haascnc.com
- Haas Automation, Inc. — Lathe Operator's Manual – 16 Lathe G-Codes (online version) haascnc.com