Computation of measuring offsets (G101/G102)

Computation of measuring offsets (G101/G102)

The measuring offset is the offset between the recorded measured values and the target position (see Fig. 4.13). It is calculated as following:

Measurement offset = measurement position – target position

Computation of measuring offsets (G101/G102) 1:
Fig. 4.13: Measuring offset
G101 <axis_name><expr> { <axis_name><expr> } (non-modal)

G101 Inclusion of measuring offsets in shifts

<axis_name><expr> Axis specific factor for the inclusion of measuring offsets

Computation of measuring offsets (G101/G102) 2:

It is also possible to specify several axes with measurement type 2 if a separate measurement traverse has been executed beforehand for each of these axes.

For the programmed coordinates, the measuring offset, that is determined from the measured values, is included as an additional shift between programmed and absolute coordinates. An error message is output if measured values have not been acquired beforehand. The number that follows the axis designation represents the factor for the inclusion.

The shift by the measuring offset is valid until it is de-selected by G102.

Programming example

Includes the measuring offset for X with factor 1 and for Y with factor 7 in the shift between programmed and absolute coordinates.

N10 G101 X1 Y7
G102 { <axis_name><dummy_expr> } (non-modal)

G102 Extracting measuring offsets from shifts

<axis_name><dummy_expr> Axis, for which the measuring offsets must be extracted.

The measured values that have been acquired with G100 and included as further shifts with G101 are extracted according to the following rules:

If one or more axes are programmed, the measureing shifts of these axes are extracted. If no axis is given, the measureing shifts of all axes are extracted. An error message will be output if measured values have not been included beforehand.

Compared to G101, the value behind the axis specifier is meaningless but requested due to syntactical reasons. Always the shift, which is specified by G101 will be extracted.

Programming example

N10 G102 X1 (Extract measuring shift from X-axis    )
N20 G102    (Extract measuring shift from all axes  )