Calculate measuring offsets (G101/G102)
The measuring offset is the offset depicted in the figure below between the recorded measuring position and the target point. It is calculated as follows:
Measurement offset = measuring point – target point
Syntax: | |
G101 <axis_name>.. { <axis_name>.. } | non-modal |
G101 | Include measuring offset calculation in offset |
<axis_name>.. | Axis-specific factor to include measuring offset in calculation |
Several axes can also be specified for measurement type 2 if a separate measurement run was conducted for each of these axes beforehand. |
For the programmed coordinates, the measuring offset determined from the measured values is included in the calculation of an additional offset between programmed and absolute coordinates. An error message is output if no measured values were detected beforehand. The numeral after the axis designation represents the inclusion factor.
The offset caused by the measurement offset is valid until it is deselected by G102.
Programming Example
Calculate measuring offsets (G101/G102)
Syntax: | |
G102 { <axis_name>.. } | non-modal |
G102 | Extract measuring offset from offset |
<axis_name>.. | Axis for which the measuring offset is extracted. Compared to G101, the value behind the axis specified is meaningless but required due to syntactical reasons. |
The measured values adopted with G100 and included in the calculation as further offsets with G101 are extracted according to the following rule:
If one or more axes are programmed, only these axes are calculated. If no axis was programmed, all offsets are extracted.
An error message is generated if an axis was programmed for which no measuring offset is included in the calculation.
The offset included in the calculation with G101 is always extracted.
Programming Example
Calculate measuring offsets (G101/G102)