Output variables
Variable | Value |
V.CYC.SysRetToolIsWorn | Tool is worn (0=No, 1=Yes) |
V.CYC.SysRetToolIsBroken | Tool is broken (0=No, 1=Yes) |
V.CYC.SysRetToolLength | Detected tool length |
V.CYC.SysRetToolOffsetLength | Detected tool length difference |
V.CYC.SysRetMeasPointsZ[n][3] | Individual measuring points of length measurement |
For information on the use of output variables, see Handling output variables See information on use of the output variables.
Result values can be transferred to the tool database by using External Variables in the post-program, for example.
Measuring point arrays
The array V.CYC.SysRetMeasPointsZ contains the X, Y and Z coordinates of each measuring point. The second index indicates the axis: [0] = X, [1] = Y, [2] = Z.
The array must be declared with sufficient size before cycle call.
Note: If a cycle with a repetition number (@P23) greater than 1 is called, the array contains only the measuring points of the last measurement run at cycle end.
If the arrays are not declared, the cycle are automatically creates them at minimum size. If they are already declared, the cycle checks the size and outputs an error if they are too small.