M&H Probing Manual
M&H Probing Manual
UM-WP-V1.00-FAN-2612-EN.doc
Subject to change without notice
© 2012 Hexagon Metrology - Part of Hexagon Group. All rights reserved.
RO 2010 / CW 0511 / TH 4111 / GI2612
UM-WP-V1.00-FAN-2612-EN.doc
2
Table of Contents
Table of Contents
UM-WP-V1.00-FAN-2612-EN.doc
3
Table of Contents
th th
6.5 Cycle O9115: Measure rotation in 4 or 5 axes ........................................................................................37
6.6 Examples .....................................................................................................................................................39
6.6.1 Measuring of distance between two bores .........................................................................................39
6.6.2 Measuring bores on a pitch circle diameter (PCD) .............................................................................40
8 Error Messages................................................................................................................................................43
9 Appendix ..........................................................................................................................................................45
10 Information ..................................................................................................................................................48
UM-WP-V1.00-FAN-2612-EN.doc
4
General Information
1 General Information
This manual describes how to use a probe for measuring on a machining centre with a FANUC control. It shows
the conditions needed to achieve accurate probing results. There is a description for each measuring cycle plus
an example of using the cycle with different input values used. With these cycles it is possible to check a position,
a feature on your workpiece or update work coordinates. For better understanding, there are examples for using
the measuring results feature to feature to calculate the distance between two bores, check the deviation
tolerance between workpiece orientation and work coordinates or check the tolerance of a bore.
Up to three probes can be handled by the cycles. It is possible to measure using vectors in the X/Y plane. For
these features up to 134 free variables are needed in the range between #500 and #999. It is possible to measure
using programmable spindle orientation, if this feature is available on your machine.
1.1 Procedure
A touch probe is changed into the spindle of the machine like any other tool. After manually pre-positioning to the
workpiece, the desired measuring cycle is called from the machine control.
When the touch probe touches the workpiece,
■ it sends a signal to the control and the coordinates of the triggered positions are saved.
■ at the same time the moving axis stops and
■ the touch probe returns at a defined rapid traverse rate to the starting position of the triggering procedure.
The cycles are subroutines running automatically, depending on the assignment of several parameters.
Using measurement cycles, certain points of the workpiece are triggered with the touch probe and corresponding
coordinates are processed.
UM-WP-V1.00-FAN-2612-EN.doc
5
General Information
Routine:
1. Position the touch probe at the starting position
2. Input measuring parameters
3. Start / Call up the measurement cycle
4. Touching the workpiece / Measurement
5. Touch probe returns to starting position
Spindle
Workpiece
Z X
Touch
Probe
Y
Measuring point
Probing cycles
This manual describes following main sections:
■ Calibration
■ Protected positioning and
■ Measuring
The measuring section shows cycles for measuring a single surface, centerlines, edge or corner and rotation
around B & C axes.
Different conditions must be met before a measuring cycle can run. The probe must be in the spindle and
calibrated in the correct measuring orientation. The probe must be calibrated before it can be used for measuring.
For measuring it is important to know the exact stylus ball radius and the tool length offset must have been
applied in the correct measuring orientation.
There are different machine requirements for the probe to work correctly
■ The cycles and programs are designed for a machining centre.
■ The software automatically detects the mode (inch/mm) the control is using.
■ Measuring data can be printed out via the RS232 port. A parameter needs to be set in the program call for
this function to work.
UM-WP-V1.00-FAN-2612-EN.doc
6
General Information
Attention
All cycles have to be started when the touch probe is positioned at the safe height set by the value R.
All movements of the probe to the start position of the cycle will first be in X/Y and then in Z to the
safe position R. The probe then moves to the measuring position set by Z. At the end of every measuring cycle
the probe moves to the safe position R. All movements of the probe should be done carefully using cycle O9113
“Protected positioning”.
Tool length compensation must be called by G43 command before any measuring cycle begins.
The command of the G43 call depends on the machine and control and must be done by the user.
The spindle orientation is called by M19 S[angle] command. If the control uses a different M code, the cycles must
be altered to suit the control.
UM-WP-V1.00-FAN-2612-EN.doc
7
Adjustment and Calibration of Touch Probe
Before measuring, touch probe details must be entered into the tool table. For tool length, enter the approximate
length of the touch probe. For tool radius, enter the radius of the touch probe stylus ball. For special features such
as probe activation, check the specific machine features and machine manuals.
To achieve the best measuring accuracy, it is necessary to adjust and calibrate the touch probe system at:
■ Initial start-up after the probe has been installed
■ If the break shaft has been broken or changed
■ If the stylus has been broken or changed
■ If the value in the variable for measuring feedrate has been changed
■ External influences such as thermal growth have affected the machine.
Before calibration can take place, it is necessary to examine and if necessary align
the stylus runout with a dial gauge. Information concerning alignment of the stylus
can be found in the operating instructions of the probe.
Ensure that the runout is less than 5µm.
UM-WP-V1.00-FAN-2612-EN.doc
8
Adjustment and Calibration of Touch Probe
Because there is a short delay between when the probe touches and axis movement is stopped, calibration of the
probe is necessary. By finding the amount of this movement, the switching characteristics of the probe are
determined.
During calibration the probe centre offset is established and stylus ball radius, effective probe length plus
response time between probe and control are determined.
The cycles are designed to run at 90 degree increments in the X and Y planes or at any angle in the X/Y plane
with vector measuring.
It is possible to use three different probes at the same time with these cycles.
X and Y coordinates
Y If you are working with programmable spindle orientation you only need to find the
approximate position of the centre of the calibration ring.
For machining centers without programmable spindle orientation it is necessary to
determine the exact X and Y axis centerline positions of the calibration ring. Use a
dial gauge in the machine spindle and find the centre of the ring and make a note
X of the values.
Z coordinate
Find the Z datum position using a setting tool with a known length or use the
dimension from the spindle nose to the top of the calibration ring.
Next, load the coordinates for the centre of the calibration ring and the ring
position in Z into an available work coordinate.
Z
UM-WP-V1.00-FAN-2612-EN.doc
9
Start-up Cycle
3 Start-up Cycle
The start-up cycle has to be run once to set all the defaults for the m&h measurement cycles.
After running the start-up cycle you must calibrate all probes under the new conditions using cycles O9107 (X/Y)
and cycle O9108 (Z).
The F variable specifies the behaviour for all measuring cycles. If possible, use vector calibration with
programmable spindle orientation (F4.).
UM-WP-V1.00-FAN-2612-EN.doc
10
Start-up Cycle
The variables used by the probing cycles are saved in an area you can specify by changing the following line
inside the O9100 cycle:
The value of variable #32 (Value 500. see example) sets the start value of the first variable which is used for the
basic settings and the results.
The following table shows the last possible start variable under the different conditions:
Type of Measuring Number of Probes Variables Needed Last Start Variable
X/Y direction only 1 24 500. small storage
X/Y direction only 1 24 975
vector 1 57 942
vector 2 95 904
vector 3 133 866
The start variable (#500) depends on the setting made in cycle O9100 on line N1. By default it will be 500.
Home Position
(******HOME-POS-Z******) If an error occurs, the probe will move with the command G28G91Z0
…. to the home position. This line is at the beginning of cycle O9103.
G28 G91 Z0. If the machine is not able to use this command then please change
N2 this line.
UM-WP-V1.00-FAN-2612-EN.doc
11
Start-up Cycle
You can use the following cycle to set the start variables to a variable of your choice and then work with this
variable. The value will be saved in the B-variable
Remember
Do not overwrite any variables or settings of other programs such as spindle probing, tool setter or 3D
Form Inspect cycles.
Example:
If you want to save the variable in your own Variable 110 you have to call the following cycle
G65P9100 A6.B110.
UM-WP-V1.00-FAN-2612-EN.doc
12
Calibration Cycles
4 Calibration Cycles
If the startup settings have been loaded by running cycle O9100, you can now calibrate the probe length with the
Z calibration cycle O9107 and the probe radius or vector with calibration cycle O9108. A new probe or a new
probe configuration must be calibrated first in length and then in radius or vector. The cycles can be repeated at
any time.
UM-WP-V1.00-FAN-2612-EN.doc
13
Calibration Cycles
The Probe moves in X/Y to a position above the measuring touch point. Next the
probe moves to the safe position Z+2*E. If the probe triggers against an obstacle,
the cycle will stop and an error will be shown. At measuring speed the probe
touches once on the surface of the calibration ring to find its true length. If there is
no trigger within a distance of Z – E the cycle will stop and an error message will
Z Z+2*E be shown. While the cycle is running tool length compensation must not be active.
Z
At the end of the cycle the tool length will be saved in the tool table.
X/Y
X/Y
All axis moves of the probe inside the cycle are made in G31 (protect) mode. All movement above Z + 2 * E is
made at positioning feedrate.
This setting will be done for all probes. If the M-Function for switching OFF the probe is not the subsequent value
from the M-function used for switching ON, the user must set the M-function themselves before starting the
measuring cycle.
UM-WP-V1.00-FAN-2612-EN.doc
14
Calibration Cycles
This cycle is used to calibrate the probe, determine the radius of the stylus ball and find the probe trigger point.
Z_. Position in Z-Axis Position in Z where the radius calibration can take place
Diameter
D_. Diameter of the stylus ball is needed to set the calibration values
of the probe stylus ball
Exact diameter The exact diameter (normally printed on the calibration ring) is
W_.
of the calibration ring needed.
UM-WP-V1.00-FAN-2612-EN.doc
15
Calibration Cycles
The probe moves in X/Y to the start position set by the input values then it moves in Z to the safe position Z+2*E
and from this point the probe moves down inside the calibration ring. The first two touches will be made in X+ and
in X-. The X value of the touch point will be used to calculate the centre of the calibration ring in X. This point will
be the new start position in Y. The procedure will be repeated for the Y direction to find the exact centre of the
ring in the Y direction. The exact position of the calibration ring in X will then be found by additional touches in X+
and X-. All movement inside the ring will be done at the measuring feedrate set by the startup cycle. This part of
the cycle will finish with the probe in the centre of the calibration ring.
If you calibrate without spindle orientation, the cycle starts by moving the probe in X/Y to the exact centre of the
calibration ring. Then the probe moves in Z to the safe height of Z + E. These movements are made at positioning
feedrate. All touches inside the ring will be made at measuring feedrate. The movement between the touch points
is done at positioning feedrate.
UM-WP-V1.00-FAN-2612-EN.doc
16
Calibration Cycles
Calibration on 4 points
Calibration of the probe on 4 points only is determined by the F
value in the start-up cycle if it is set to 1. or 2. Calibration will be
D made with 4 touches. The probe touches in X+, Y+, X- and Y-
X Z
inside the calibration ring. After touching the last point in Y- the
Z+E
Z
probe moves in Z to the safe position.
W
Y X/Y
Calibration by vector
Calibration by vector is used if measuring in X/Y plane at different
angles. It is possible to measure with up to three different probes.
The F value in the start-up cycle must be set to F3. or F4.
D
Measuring will be made every 10 degrees and starts in the X+
Z Z+
direction moving anti-clockwise. The probe may touch several
Z
W times depending on the C value set in the startup cycle.
X/
UM-WP-V1.00-FAN-2612-EN.doc
17
Calibration Cycles
After entering the approximate length of the probe into the tool offset, it is necessary to write and run the following
program in automatic mode. You must specify the values of the variables which are explained next.
Probe number 1 will be calibrated. For calibration, work offset G59 is used. The default start-up cycle is used. The
positioning feedrate will be 4500mm/min and measuring feedrate will be 250mm/min.
All probes will be calibrated with vector measuring. The maximum deviation allowed is 10µm. Each point will be
touched three times and the average will be used as the result.
The probe is tool number 4 and the distance between the spindle nose and the touch point in Z is 488.301mm. To
make it easier this value will be set in the G59 work offset. The Z touch position in X/Y is X25mm and Y0mm. The
approximate length of the probe is 195mm. The diameter of the calibration ring is 39.999mm.
The centre of the calibration ring is located at X0 Y0 and the top surface of the ring is at Z0
% Description
O1500 Program number
(CYCLES-CALIBRATION--G59-STARTUP-Z-X/Y)
G59 Work coordinate G59
T4 M6 Load probe into the spindle
G43H0 Cancel any tool length compensation
G65 P9100 B8. C3. D1. E5. F4. H0.01 R4500. Default setting for measuring cycles
S250.W1.
G65 P9107 H1. T4. W195. X25. Y0. Z0. Calibrate probe length in Z
G43H4G91Z-0.001F100 Apply tool length compensation
G65 P9108 D5. H1. W39.999 X0 Y0 Z-5. Calibrate stylus ball radius in X/Y plane
G28 G91 Z0. Move probe to home position
M30
%
UM-WP-V1.00-FAN-2612-EN.doc
18
Positioning Cycle
5 Positioning Cycle
Using O9113 the probe can move in a controlled way from one point A to another point B. If the stylus is deflected
during this move, the axis is stopped immediately.
UM-WP-V1.00-FAN-2612-EN.doc
19
Measurement Cycles
6 Measurement Cycles
In the following section the m&h measurement cycles for milling and machine centers are described.
2. Cycle O9119
Measure center point: to determine the position of a bore, boss, web or pocket.
3. Cycle O9114
Measure corner: to find the position of a corner. Depending upon application, different measuring tasks
can be achieved with these functions.
4. Cycle O9115
th th
Measure rotation in 4 or 5 axes: If your machine has an A, B or C axis it is possible to correct the
orientation of a workpiece by probing points and then rotating the A, B or C axis.
Measuring results are saved in described variables for further calculation and can be printed out through the
RS232 port on the machine. For moving safely between measuring features, use the protected positioning cycle
O9113.
UM-WP-V1.00-FAN-2612-EN.doc
20
Measurement Cycles
Several variables are used by all cycles. The following description shows how to use these variables.
90
135 45 0° = 180
180 0° =
If you use the X/Y version without vector calibration, it is only possible to measure in the X and Y axes as shown
in the table below:
G65 P9112 A0. …. Measuring will be made in X+ direction
G65 P9112 A180. …. Measuring will be made in X- direction
G65 P9112 A90. …. Measuring will be made in Y+ direction
G65 P9112 A270. …. Measuring will be made in Y- direction
A0 S1
A180 S1
A90 S2
A270 S2
Anything else S3
UM-WP-V1.00-FAN-2612-EN.doc
21
Measurement Cycles
If you are measuring at an angle you can decide with the S value whether you want to update the X value only
(S1) or the Y value (S2) only.
If you want to update the work-offset G54 in Y, you must type G65 P9112 A90.F1.
If you want to measure in Z, call the tool length compensation (G43…) first.
If you want to update a tool with the measuring result it is important whether measuring is done internally or
externally.
With Z measurement there is no difference between internal and external. The tool will be always updated in the
correct way.
1st Touch
2nd Touch
3rd Touch
UM-WP-V1.00-FAN-2612-EN.doc
22
Measurement Cycles
If no touch point is
By using F800, it is possible to update a tool offset. For this function it is necessary to set the T variable with the
tool number to be updated. If tool update and tolerances are set with F800, the cycle checks whether the tool can
be updated. If this is not possible an error flag will be set at variable #[500. + 5.]
With F500, F600 and F800 it is important to set the exact position as the input value. Running these F-functions
with wrong inputs can cause errors.
UM-WP-V1.00-FAN-2612-EN.doc
23
Measurement Cycles
It is not possible to make all evaluations on all cycles. The right column shows the cycle where the function is
possible and available.
UM-WP-V1.00-FAN-2612-EN.doc
24
Measurement Cycles
UM-WP-V1.00-FAN-2612-EN.doc
25
Measurement Cycles
UM-WP-V1.00-FAN-2612-EN.doc
26
Measurement Cycles
Cycle O9112: Measure single point
UM-WP-V1.00-FAN-2612-EN.doc
27
Measurement Cycles
Positioning feedrate
Measuring feedrate
R
Touch point
z
Z
D E E
X/Y
Possible touch point
Measuring in Z
When measuring in Z, the probe moves first in X/Y to position. It then moves in Z to the safety position set by R at
positioning feedrate. It then moves to the defined measuring point set by Z at measuring feedrate. Finally the
probe returns to the Z safety position set by the R input value.
Positioning feedrate
R Touch feedrate
z
E
Z Possible
touch point
E
Touch point
X/Y
UM-WP-V1.00-FAN-2612-EN.doc
28
Measurement Cycles
Example
In this drawing we want to set in work coordinate G56 a
Z X new zero point at X100. and Y-100.
Z position at which measuring is made is Z-100.
3 Z X Safety height (R) is Z+5mm.
Y G56 The work coordinate to be updated is G54.1 P30.
Measuring takes place at an angle (A) of 0 degrees.
1
The measuring distance (D) to the measuring position
will be 5mm.
Measuring path (E) is set to 5mm by default.
The touch counter (C) is set by default in the startup
cycle O9100. The last touch will be made in Z direction.
The work coordinate will be updated with the measured point of each touch in X/Y/Z.
%
O1000
…
G56
(FIRST-TOUCH-AT-0-DEGREE-UPDATE-X-VALUE)
G65 P9112 A0. D5. F130. R5. X100. Y-80. Z -120.
(SECOND-TOUCH-AT-270-DEGREE-UPDATE-Y-VALUE)
G65 P9112 A270. D5. F130. R5. X 20. Y100 . Z -120.
(THIRD-TOUCH-UPDATE-Z-VALUE)
G65 P9112 F130. R5. S4. X 120. Y80. Z -100.
…
M30
%
UM-WP-V1.00-FAN-2612-EN.doc
29
Measurement Cycles
Cycle O9110 is used for measuring diameters/widths and finding the centers of slots, holes, bosses and webs.
Depending on programming, measuring is made with either two, three or four touches.
O9110 [A_.] [C_.] D_. [E_.] [F_.] [H_.] [I_.] [J_.] [R_.] [S_.] [T_.] [U_.][V_.][W_.] [X_.] [Y_.] [Z_.]
Measuring angle.
A_. Start Angle Optional
Set to 0° by default
C_. Touch Counter Optional
If no value is set, the default startup value C1. will be used
D_. Diameter Estimated diameter of the feature being measured.
D must be exact if running F600, F 700, F800
E_. Measuring Path Optional
If no value is set, the default startup value E5. will be used
F_. Measuring Function Refer to Variable F_.Touching function (see page 23)
Set to 0 by default
H_. Probe Number Optional
Set to H1. by default
I_. Second angle Optional only for S21.
Set to A + 120° by default
J_. Third angle Optional only for S21.
Set to I + 120° degree by default
Safety position in Z-axis before and after probing.
R_. Safety distance (Until probe reaches this position, positioning feedrate is used )
If no R-, Z – Value is set, R will be set as the actual Z position + 0.01mm
S will be set to S11.
S1. Pocket without obstruction
S2. Pocket with obstruction
S3. Web
S11. Bore
S_. Measuring Feature S12. Bore with obstruction
S13. Boss
S21. Bore 3 point version
S22. Bore 3 point version with obstruction
S23. Boss 3 point version
T_. Tool Number Refer to Variable F_.Touching function (see page 23)
(Internal and external will be determined by S-function)
U_. Tolerance in X Direction Refer to Variable F_.Touching function (see page 23)
V_. Tolerance in Y Direction Refer to Variable F_.Touching function (see page 23)
W_. Diameter Tolerance Refer to Variable F_.Touching function (see page 23)
Estimated position of feature measured.
X_. Center Point in X If no value is entered the default will be the current X position.
Exact position needed for F600 and F700
Estimated position of feature measured.
Y_. Center Point in Y If no value is entered the default will be the current Y position.
Exact position needed for F600 and F700
Z_. Measuring Depth Position in Z axis at which measuring will be made.
Default is actual position in Z
UM-WP-V1.00-FAN-2612-EN.doc
30
Measurement Cycles
Measuring in the same position with different S-functions can result in differing values because of the
different calculations of the centre point in X and Y.
To accurately measure an arc, the total angle should be greater than 120°.
In MDI mode only bores or pockets can be measured. No web or boss measuring is possible. The minimum input
will be:
UM-WP-V1.00-FAN-2612-EN.doc
31
Measurement Cycles
Z %
…
D
G65 P9110 A0. D45. F131. X0. Y0. Z-5. R10. S13.
…
6.3.3 Measuring a w eb
The centre of the web is expected at X0. Y0.
Measuring should take place at Z -5mm.
X/Y The width (D) of the web is 30mm and the safety height (R) is 10mm.
The measuring angle (A) is 0 degree.
R %
…
Z
G65 P9110 A0.D30. F0. X0. Y0. Z-5. R10. S3.
…
UM-WP-V1.00-FAN-2612-EN.doc
32
Measurement Cycles
Z …
G65 P9110 A0. D40. F0. X0. Y0. Z-5. R10. S1.
…
D
If you are running the cycle from an approximate centre and want
to get the exact diameter of the bore then run the cycle twice.
First to get the correct centre and second to get the correct
diameter.
%
…
G65 P9110 A0. D40. I90. J120. F0. X20. Y0. Z-5. R10. S21.
…
UM-WP-V1.00-FAN-2612-EN.doc
33
Measurement Cycles
This cycle is used to find the position of the corner/edge of a workpiece. This is done by making two touches on
each side of the corner. The touches will be made at the specified Z position. The distance between the corner
and the first touch point is set by the I/J value. The distance for the second touch point is set by M and T.
O9114 A_. B_. [C_.] [E_.] F_. [H_.] I_ .J_. M_. R_. [T_.] X_. Y_. Z_.
st
A_. Angle 1 side
nd
B_. Angle 2 side
Optional
C_. Touch Counter If no value is set, the default startup value C1. will be
used
Optional
E_. Measuring Path If no value is set, the default startup value E5. will be
used
Refer to Variable F_.Touching function (see page 23)
F_. Measuring Function F600. or F700. or F800. is not possible
F0. by default
H_. Probe Number Optional
H1. by default
I_. Distance between touch points 1 plane
st Any value to the right of the first touch point will be
positive
J_. Distance between touch points 2
nd
plane Any value to the right of the first touch point will be
positive
The distance between the first and second touch point
st
M_. Distance 1 plane in the first plane
Value always positive
Safety position in Z-axis before and after probing.
R_. Safety Position (Until probe reaches this position, fast feedrate is
used )
nd
The distance between the first and second touch point
T_. Distance 2 plane in the second plane
Value always positive
X_. Position in X X -position of edge/corner in X axis
Y_. Position in Y Y -position of edge/corner in Y axis
Z_. Position in Z Z -position at which measuring takes place
The probe moves in X/Y to the first point of the first side, and touches on the first side at the distance I.
After touching, the probe moves to the second touch point on the same side at the distance set by M and
measures again. It then moves up to the safety height R and then to the second side. The procedure is repeated
again with two touches. The first touch takes place at a distance J from the programmed X/Y centre and the
second touch takes place at a distance T from the first point. The cycle is finished when the probe has moved to
the safety height R.
Notice
The probe moves to the safety height set by value R after every touch.
UM-WP-V1.00-FAN-2612-EN.doc
34
Measurement Cycles
Example of inputs for an external corner
A270.
A270.
I-10. M10. M10 I10.
J-10.
T10. T10.
Y
B0 B180.
B180.
B0 X
T10. T10.
J-10. J10.
J-10. J10.
A90. A90.
T10. T10.
Y
B180.
B0
B180. X B0
T10.
T10.
J10.
A270. A270.
I-10. M10 M10 I10.
UM-WP-V1.00-FAN-2612-EN.doc
35
Measurement Cycles
I and J are the distance from the corner to first touchpoint and the values M and T set the distance to the second
touchpoint. The direction of the angle is as described before. The direction of the plane is defined by positive or
negative values of I and J. If you want to touch to the right side from the centre point of the corner, values for I
and J must be positive. If you want to touch to the left side from the centre of the corner, values for I or J must be
negative. The value of M and T is always positive.
Example
The corner of a workpiece should be set as a work coordinate.
The estimated position of the corner is at X100. and Y-100.
The touch will take place at Z-5mm.
X/Y The planes will touch at (A) 0 and (B) 90 degrees.
The distance in will be 10mm for both sides (I/J) on the first
touch.
R
The second touch will take place in the first plane (M) at 15mm
and in the second plane (T) at 20mm.
Z
The work coordinate G54.1 P46 (F146.) will be updated.
The cycle is written to make the touches externally.
The safety height (R) be at Z+10mm.
E E %
…
G65 P9114 A0 B90. F146. I10. J-10.
M15.T20.R10. X100. Y-100. Z-5.
T …
E
J
E
I M
UM-WP-V1.00-FAN-2612-EN.doc
36
Measurement Cycles
th th
By using cycle O9115, workpiece orientation can be determined and corrected by rotation of the 4 or 5 axes.
O9115 A_. B_. [C_.] [E_.] F_. [H_.] I_.R_. X_. Y_. Z_.
A_. Start Angle
R_. Safety Position Safety position in Z-axis before and after probing. (Until
probe reaches this position, positioning feedrate is used )
X axis position
X_. Centre position between the two touch points
before measuring begins
Y axis position
Y_. Centre position between the two touch points
before measuring begins
UM-WP-V1.00-FAN-2612-EN.doc
37
Measurement Cycles
The centre of the two touch points will be at X175. Y160. Z-5.
The safety height (R) is set to 10mm.
The distance between the two touches (2 x I) should be 20mm.
Measurement takes place in the X/Y plane (B1.).
%
…
G65 P9115 A0. B1. E5. F0. H1. I10. R10. X175. Y160. Z-5.
…
M30
%
If you need to rotate the work coordinate system with a basic rotation of G68 in the measured angle you find the
measured angle value in: #[#100+4.].
UM-WP-V1.00-FAN-2612-EN.doc
38
Measurement Cycles
6.6 Examples
%
…
G65 P9110 A0. D40. F0 X10. Y20. Z-5. R10. S11.
#110 = #501(SAVE-X-VALUE)
#111 = #502(SAVE-Y-VALUE)
G65 P9110 A0. D20. F0 X100. Y40. Z-5. R10. S11.
#120 = ABS [#110-#501](DISTANCE-X)
#121 = ABS [#111-#502] (DISTANCE-Y)
#122 = SQRT[#120 * #120 + #121 * #121](DISTANCE-BETWEEN-CENTRELINE)
…
UM-WP-V1.00-FAN-2612-EN.doc
39
Measurement Cycles
Y
between variables #110 to #118.
This task is done by calling the bore cycle O9110 three
times.
%
…
(MEASURE-BORE-1)
G65 P9110 A0. D20. F0. X[100.+50.*COS[90.]]Y[20.+50.*SIN[90.]] Z-5. R10. S11.
#110 = #501 (POSITION-X)
#111 = #502(POSITION-Y)
#112 = #504(DIAMETER)
(MEASURE –BORE-2)
G65 P9110 A0. D20. F0. X[100.+50.*COS[210.]]Y[20.+50.*SIN[210.]] Z-5. R10. S11.
#113 = #501 (POSITION-X)
#114 = #502(POSITION-Y)
#115 = #504(DIAMETER)
G65 P9110 A0. D20. F0. X[100.+50.*COS[330.]]Y[20.+50.*SIN[330.]] Z-5. R10. S11.
#116 = #501 (POSITION-X)
#117 = #502(POSITION-Y)
#118 = #504(DIAMETER)
…
M30
%
UM-WP-V1.00-FAN-2612-EN.doc
40
Additional Cycles
7 Additional Cycles
The output cycle is called O9109. The output can be defined by the user. By default the output cycle prints out the
X, Y, Z value found by the probing cycles with the diameter or angle and the error code. Additionally you can print
out the following input values.
(PRINT-OUT-MH-V…)
(#7-D-DIAMETER)
(#8-E)
(#9-F-FUNCTION) Refer to F function
(#11-H-PROBE_NUMBER)
(#18-R-SECURE_HEIGHT)
(#19-S-) Refer to S-Function O9110
(#20-T-TOOL-UPDATE)
(#21-U-TOLERANCE)
(#22-V-TOLERANCE)
(#23-W-TOLERANCE)
(#24-X-CENTRE)
(#25-Y-CENTRE)
(#26-Z-TOUCH_POSITION_VALUE)
An example program O9109mod.txt is added to show how you can make your own printout.
UM-WP-V1.00-FAN-2612-EN.doc
41
Additional Cycles
This cycle is useful if you want to copy or/and modify a work offset.
Remember
If there is no change value set in X, Y or Z the actual value of the destination coordinate system will
be the same as the source coordinate. To work with the offset update program you must call the
original offset first.
Example 2 Copy G55 into G59 with a change of X 10.mm Y 20.mm Z 30.mm
UM-WP-V1.00-FAN-2612-EN.doc
42
Error Messages
8 Error Messages
101 (ERROR*IN*FUNCTION*CALL*01)
102 (X-AXIS*HIT*AN*OBSTRUCTION)
103 (Y-AXIS* HIT*AN*OBSTRUCTION)
104 (Z-AXIS* HIT*AN*OBSTRUCTION)
105 (ERROR-MAX-DEVIATION)
111 (POSITION-TOLERANCE-X-EXCEEDED)
112 (POSITION-TOLERANCE-Y- EXCEEDED)
113 (POSITION-TOLERANCE-Z- EXCEEDED)
114 (FORM-TOLERANCE- EXCEEDED)
150 (B*VALUE*MUST*BE*1.-16.)
151 (C*VALUE*MUST* BE*1.-7.)
152 (D*MUST*BE*1.-3.)
153 (E*MUST*BE*BETWEEN 1.-20.)
156 (H*TOUCH*VALUE*WRONG)
157 (F*MUST*BE*1.-4.)
171 (H*VALUE*MUST*BE*1-3)
172(F*VALUE*IS*WRONG)
173(M*VALUE*IS*WRONG)
174(X*OR*Y*VALUE*MISSING)
175(Z*VALUE*MISSING)
176 (T*TOOLNUMBER*MISSING)
177 (W*VALUE*MISSING)
178 (X*VALUE*NEEDED)
179 (Y*VALUE*NEEDED)
180 (Z*VALUE*NEEDED)
181 (W*TOOLLENGTH*MISSING)
182(A*VALUE*MISSING)
183(B*VALUE*ERROR)
184 (C*VALUE*ERROR)
185 (D*VALUE*NEEDED)
186 (E*VALUE*NEEDED)
187(F*VALUE*MISSING*OR*WRONG)
188(R*VALUE*MISSING)
189(S*VALUE*MISSING*OR*WRONG)
190(I/J*VALUE*MISSING*OR*WRONG)
191(T*VALUE*MISSING*OR*WRONG)
192(U/V/W*VALUE*MISSING*OR*WRONG)
193(X*VALUE*MISSING)
194(Y*VALUE*MISSING)
195(Z*VALUE*MISSING)
UM-WP-V1.00-FAN-2612-EN.doc
43
Error Messages
UM-WP-V1.00-FAN-2612-EN.doc
44
Appendix
9 Appendix
The following checks should be done before installing the cycles into the control:
UM-WP-V1.00-FAN-2612-EN.doc
45
Appendix
Cycle Compulsory X
Number Cycle Name Explanation Optional O Compressible
1
9103 Error messages Error messages X X
1
9105 Check Plausibility check of inputs X X
Measure corner/edge of a
9114 Measure Corner O
workpiece over intersection point
Modifying
9121 Modifying work coordinate O
work coordinate
1) Ask the m&h-Service
UM-WP-V1.00-FAN-2612-EN.doc
46
Appendix
9.3 Used variables
#100 Used on internal calculations #100 should not be changed inside the cycle
#[#100+12] FREE/Intern
#[#100+13] FREE/Intern
#[#100+18] FREE
UM-WP-V1.00-FAN-2612-EN.doc
47
Information
10 Information
10.1 Contact
All brands and trademarks mentioned and, where applicable, protected by third parties are subject, without
limitation, to the provisions of the respectively applicable trademark legislation and the ownership rights of the
respectively registered owners.
Due to the EC Machinery Directive and the German Product Liability Act, the safety guidelines take on a special
significance. Improper handling of machines can cause danger to man and machine. Protect your health and the
capital value of the business.
The safety instructions of the machine manufacturer must be complied with in full.
In addition, the following safety regulations must be followed:
■ Only trained and instructed persons may service the measuring system and the software.
■ The machine must be in perfect working condition.
■ Comply with the intended use of the machine and measuring system.
■ Safety devices should not be modified, bypassed or disabled.
■ Standard settings must not be arbitrarily changed.
■ Special attention should be paid to the concentration and attention of the operator. Drugs, alcohol and other
intoxicants will interfere with the work of the operator.
■ Appropriate clothing as well as protective goggles and safety shoes must be worn.
■ Follow instructions laid down by the machine manufacturer.
■ Follow the instructions for switching the machine on and off and this includes the measuring system.
■ Check the proper use of measuring systems and accessories.
■ Check the correct pocket allocation of the measuring sensor in the tool magazine.
■ There is a risk of collision between tools and the measuring sensor during automatic tool change.
■ There is a risk of jamming, squeezing and getting caught during manual handling of the measuring system.
There is also the risk of injury from falling tools.
■ Check the function ability of the measuring device (signal transmission and switching point).
UM-WP-V1.00-FAN-2612-EN.doc
48
Information
■ Never turn on the spindle if a measuring device is in the spindle and do not exceed maximum spindle speeds
if using a tool measuring system.
■ Observe the maximum permissible feedrate when using measuring devices in the spindle.
■ Check every program thoroughly before starting it in the machine.
■ Does the chosen work offset zero point correspond to the program? Check absolutely!
■ Try out every new program in single block if possible and with the lowest feedrate.
■ Move the measuring sensor out of the way after stopping or interrupting a program before continuing or
restarting a program.
■ m&h Inprocess Messtechnik GmbH strives to observe, in all publications, the copyright of the featured
graphics, video sequences and texts, to use its own graphics, video sequences and texts or to resort to
license-free graphics, video sequences and texts.
■ All brands and trademarks mentioned and, where applicable, protected by third parties are subject, without
limitation, to the provisions of the respectively applicable trademark legislation and the ownership rights of the
respectively registered owners. The mere mention of trademarks does not imply that they are not protected by
the rights of third parties.
■ Copyright for published objects created by the author remains in the sole possession of the author of the
pages. Any reproduction or use of such graphics, video sequences and texts in other electronic or printed
publications is not permitted without the author's express consent.
A) Parties
1. The “m&h Inprocess Messtechnik GmbH” company, with its head office in D - 88289 Waldburg,
Am Langholz 11, hereinafter “m&h GmbH“
2. The user of the supplied software, in the person of the legal representative, hereinafter "Customer”.
B) Subject of the license
m&h GmbH grants the Customer the user license for the supplied software, hereinafter "Program”. The
Customer is responsible for the selection of the Program and the check of its suitability for the purposes
pursued by him.
C) Ownership rights to the software
The Program and documentation are the property of m&h GmbH and are legally protected in terms of the
copyright law. The ownership rights to the Program, copies, parts or modifications of the Program are retained
by m&h GmbH.
D) Rights included in the user license
The Customer is entitled to:
1. Use of the Program on a computer
2. Creation of a copy for archiving or as a back-up.
UM-WP-V1.00-FAN-2612-EN.doc
49
Information
UM-WP-V1.00-FAN-2612-EN.doc
50