Back to GSM Code List

G38.2-G38.5: Advanced straight probing

Straight probing move variants with different behaviors on contact/no contact.

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
G38.2 Z-20 F80
E.g.:
G38.2 Z-20 F80

Machine: Milling, Turning, Mill-turnRisk: High

ISO común · Fanuc · Haas

  • ISO común: Widely used in LinuxCNC; don't assume support on Fanuc/Haas.
  • Fanuc: Common Fanuc equivalence: G31 and probe macros.
  • Haas: Practical equivalence: G31/probing cycles according to option.

Other codes in Probing

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G38.2-G38.5 mean in a CNC program?

Straight probing move variants with different behaviors on contact/no contact. In the catalogue it appears as "Advanced straight probing", within the Probing family.

Can you give me an example of G38.2-G38.5?

G38.2 Z-20 F80 — Straight probing move variants with different behaviors on contact/no contact.

Which machines use G38.2-G38.5?

G38.2-G38.5 is used in: Milling, Turning, Mill-turn.

What should you watch out for with G38.2-G38.5?

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