G31: Skip / probing
Movement that stops or registers position when receiving a skip signal, used in probing and measurement.
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.
- Family
- Probing
- Machine
- Milling, Turning, Mill-turn
- Risk
- High
- Example
- G31 Z-50 F100
G31 Z-50 F100Parameters
- X Y Z
- Destino del movimiento de palpado; se detiene al recibir la señal de skip. · mm
- F
- Avance de corte. · mm/min con G94, mm/vuelta con G95 (en torno suele ser el modo por defecto)
- P
- Selección de la señal de skip (P1-P4) en controles con varias entradas.
Machine: Milling, Turning, Mill-turnRisk: High
Fanuc
G31 X... Y... Z... F...- Requires a configured skip input; review the probe macros.
Haas
G31 ...- Very sensitive to probes, calibration and ground speeds.
Other codes in Probing
See the full list of G and M codesFrequently Asked Questions (FAQ)
What does G31 mean in a CNC program?
Movement that stops or registers position when receiving a skip signal, used in probing and measurement. In the catalogue it appears as "Skip / probing", within the Probing family.
How is G31 written on each control?
Fanuc: G31 X... Y... Z... F... · Haas: G31 .... The exact syntax depends on the control version and the machine parameters: always confirm with the manufacturer's manual.
Can you give me an example of G31?
G31 Z-50 F100 — Movement that stops or registers position when receiving a skip signal, used in probing and measurement.
Which machines use G31?
G31 is used in: Milling, Turning, Mill-turn.
What should you watch out for with G31?
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 tools
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.