Risk: G90/G91: Alarm for incorrect absolute/incremental mode
An incremental mode activated by mistake can displace subsequent movements and cause collisions.
For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.
The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.
- Family
- Common risks
- Machine
- Milling, Turning, Mill-turn
- Risk
- High
- Example
- G91 G28 Z0 seguido de movimientos sin volver a G90
How to write it on each control
| Example | G91 G28 Z0 seguido de movimientos sin volver a G90 | |
|---|---|---|
| ISO común · Fanuc · Haas · Heidenhain · Siemens · Fagor | — | ISO común: Good practice: declare G90 at the beginning of each important section. Fanuc: Review blocks after G28/G30 returns with G91. Haas: Many accidents come from forgetting to return to G90. Heidenhain: Check whether the block uses incremental coordinates in TNC/ISO format. Siemens: Conceptual equivalent: check the active absolute/incremental modes. Fagor: Conceptual equivalent: check incremental/absolute mode before fast movements. |
Machine: Milling, Turning, Mill-turn
Related:
Sources
- Standard: ISO 6983-1:2009 Numerical control of machines — Program format and definitions of address words — Part 1
- Official manual: FANUC Series 0i-MODEL F Operator's Manual, Machining Center System (B-64604EN-2/01) · G90, G91
- Official manual: FANUC Series 0i-MODEL F Operator's Manual, Lathe System (B-64604EN-1/01) · G90, G91
- Official manual: Haas Mill Operator's Manual, Next Generation Control (96-8210 Rev T, 2023) · G90, G91
- Official manual: Haas Lathe Operator's Manual, Next Generation Control (96-8910 Rev R, 2022) · G90, G91
- Official manual: HEIDENHAIN TNC 640 User's Manual, Klartext Programming (892903-29, NC SW 34059x-11) · G90, G91
- Official manual: SINUMERIK 840D sl/828D Fundamentals, Programming Manual 03/2013 (PGsl) · G90, G91
- Official manual: Fagor CNC 8055 ·M· & ·EN· Manual de programación (Ref. 1402) · G90, G91
- Official manual: Fagor CNC 8055 ·T· Programming manual (Ref. 1110) · G90, G91
Other codes in Common risks
See the full list of G and M codesFrequently Asked Questions (FAQ)
What does Riesgo: G90/G91 mean in a CNC program?
An incremental mode activated by mistake can displace subsequent movements and cause collisions. In the catalogue it appears as "Alarm for incorrect absolute/incremental mode", within the Common risks family.
Can you give me an example of Riesgo: G90/G91?
G91 G28 Z0 seguido de movimientos sin volver a G90 — An incremental mode activated by mistake can displace subsequent movements and cause collisions.
Which other codes is Riesgo: G90/G91 combined with?
In practice Riesgo: G90/G91 appears alongside these codes: G90/G91, G28/G30, G00. It is worth reading them together, because the state one leaves behind conditions what the next one does.
Which machines use Riesgo: G90/G91?
Riesgo: G90/G91 is used in: Milling, Turning, Mill-turn.
What should you watch out for with Riesgo: G90/G91?
High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.
Related apps
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.