o110 - Probe

Probes axis and takes measurement.

By customizing parameters like H, E, D, F, I, etc., you can measure surfaces or edges in any axis direction and have the macro automatically compute and store the final position for further CNC operations.

Syntax

G65 P110 H<axis> E<direction> Q<check_probe> D<distance> K<back> J<probe_size> F<probe_speed> I<low_speed> R<return_flag>

Parameters

H Axis number to probe:
  • 0 = X
  • 1 = Y
  • 2 = Z
E Probe direction:
  • 1 = positive direction
  • -1 = negative direction
Must be either +1 or −1.
Q Probe check mode:
  • 0 = checks only the probe pins
  • 1 = checks both pins and probe type
Default: 1 (in the macro, it calls G65 P109 Q…)
R Return to start position:
  • 0 = remain at end of probe
  • 1 = return to the start position
Default: If omitted, macro does not return.
D Maximum probing distance in the specified direction Default: 10000

If Z‐axis negative direction then default is #<_probe_length>.

K Back‐off distance after initial probe contact Default: #<_probe_swdist>
J Probe tip size (used to offset the measured position) Default: #<_probe_size_axis>
F Probe feed rate (speed) for the first pass Default: #<_probe_speed>
I Low‐speed feed rate for a second, more precise pass

(If I > 0, a second slow probe pass is performed)

Default: #<_probe_speed_low>

Special Global Parameters

The macro also uses certain global parameters. These are defined in settings.

Using the Macro in Practice

Prepare the Machine

Call the Macro

Use G65 P110 … with the parameters you need. For example:

( Probe the top of a part along Z- )
G65 P110 H2 E-1 D20 F100 I50 R1

Check the Results

Use the Measured Value

G10 L20 P1 Z[#<_measure_z>]  (set work offset so that measured point is Z=0)

Common Examples

Edge Probing in X

(Probe an edge along +X)
G65 P110 H0 E1 D10 F100 K1 R1

Edge Probing in Y

(No Return, Single Pass)

(Probe an edge along -Y)
G65 P110 H1 E-1 R0 D5 F50

Surface Probing in Z

(Using default distances)

(Probe downward in Z with default _probe_length)
G65 P110 H2 E-1 R1

Key Takeaways

Further Tips