Inspection Plus Software For Machining Centres With Fanuc and Meldas Controllers
Inspection Plus Software For Machining Centres With Fanuc and Meldas Controllers
Inspection Plus Software For Machining Centres With Fanuc and Meldas Controllers
H-5755-8600-04-C
with SupaTouch
optimisation
© 2015–2019 Renishaw plc. All rights reserved.
Disclaimer
Trade marks
RENISHAW and the probe symbol used in the RENISHAW logo are
registered trade marks of Renishaw plc in the United Kingdom and
other countries. apply innovation and names and designations
of other Renishaw products and technologies are trade marks of
Renishaw plc or its subsidiaries.
All other brand names and product names used in this document
are trade names, trade marks, or registered trade marks of their
respective owners.
Issued: 10.2019
Form 1
EQUIPMENT REGISTRATION RECORD
Please complete this form (and Form 2 overleaf, if applicable) after the Renishaw equipment has been installed on your
machine. Keep one copy yourself and return a copy to your local Renishaw office (for contact details, see
www.renishaw.com/contact). The Renishaw installation engineer should normally complete these forms.
MACHINE DETAILS
Machine description ...........................................................................................................................................
Machine type ......................................................................................................................................................
Controller ............................................................................................................................................................
Special control options .......................................................................................................................................
.............................................................................................................................................................................
.............................................................................................................................................................................
The software product for which these changes are authorised is subject to copyright.
A copy of the software amendments must be retained by the customer – they cannot be retained by
Renishaw plc.
Cautions i
Renishaw has no control over the exact program configuration of the controller with which
the software is to be used, nor of the mechanical layout of the machine. Therefore, it is
the responsibility of the person putting the software into operation to:
• ensure that all machine safety guards are in position and are correctly working
before commencement of operation;
• ensure that any manual overrides are disabled before commencement of operation;
• verify that the program steps invoked by this software are compatible with the
controller for which they are intended;
• ensure that any moves which the machine will be instructed to make under program
control would not cause the machine to inflict damage upon itself or upon any person
in the vicinity;
• be thoroughly familiar with the machine tool and its controller, understand the
operation of work co-ordinate systems, tool offsets, program communication
(uploading and downloading) and the location of all emergency stop switches.
IMPORTANT: This software makes use of controller variables in its operation. During its
execution, adjustment of these variables, including those listed within this manual, or of
tool offsets and work offsets, may lead to malfunction.
Any text that is specific to SupaTouch optimisation is marked with the superscript ST.
G65 P9814 D50.005 Z100. E21. F0.8 H0.2 M0.2 Q10. R10. S1. T20. U0.5 V0.5 W2.
G65P9814D50.005Z100.E21.F0.8H0.2M0.2Q10.R10.S1.T20.U0.5V0.5W2.
NOTE: All code examples are shown with input data followed by a decimal point. Some
controllers may operate correctly with these decimal points omitted, however, care should
be taken to determine that this is the case before running any programs.
Contents
Chapter 10 Configuration
General .......................................................................................................................... 10-3
Installation wizard .......................................................................................................... 10-3
Multiple probe support ................................................................................................... 10-3
Editing the multi-probe programs O9712, O9713 and O9714 ................................ 10-4
Editing the error messages program O9700 ................................................................. 10-4
Editing the active offset and read-ahead program O9723 ............................................. 10-5
Editing the settings program O9724 .............................................................................. 10-6
Base number setting (*) .......................................................................................... 10-6
Setting #120 (*) ....................................................................................................... 10-6
Additional multiple probes (*) .................................................................................. 10-7
Prove-out mode (% rate is not controlled by the wizard)........................................ 10-7
Setting the in-position checking tolerance (#123) .................................................. 10-7
Adjusting the back-off factor (#111+6) ................................................................... 10-8
Adjusting the fast positioning feedrate (#111+9) .................................................... 10-8
Editing the basic measure program O9726 ................................................................... 10-8
Editing the tool offset program O9732 ........................................................................... 10-9
Tool offset system variables (*) .............................................................................. 10-9
Editing the probe calibration cycle O9801 ................................................................... 10-10
180° spindle orientation section (*) ....................................................................... 10-10
Editing the probe start cycle O9832............................................................................. 10-10
Customising the “USER M/C START CODE” section (*) ..................................... 10-10
Probe status checking (*) ..................................................................................... 10-11
Entering the probe ON code (*) ............................................................................ 10-11
Enabling multi-probe start support ........................................................................ 10-11
Multiple probe settings in O9732 (*) ..................................................................... 10-12
Editing the probe stop cycle O9833 ............................................................................. 10-12
Probe status checking (*) ..................................................................................... 10-12
Entering the probe OFF code (*) .......................................................................... 10-13
Enabling multi-probe stop support ........................................................................ 10-13
Customising the “USER M/C STOP CODE” section (*) ....................................... 10-13
Machine parameter settings ........................................................................................ 10-14
Use of variables ........................................................................................................... 10-15
Local variables ...................................................................................................... 10-15
Common variables ................................................................................................ 10-15
Common retained variables .................................................................................. 10-16
Compliance with Fanuc parameter P5006.6, P6019.4 and P6006.4 settings ............. 10-17
For a comprehensive description of the features provided by the software, as well as the
limitations of the software, see Appendix A, “Features, cycles and limitations of the
Inspection Plus software”.
Chapter 1, “Installing the software”, describes how to install the Inspection Plus
software on your machine.
Chapter 2, “Optional inputs”, describes the optional inputs that are available with
some of the cycles.
Chapter 3, “Cycle outputs”, provides a complete list of the outputs that are produced
by some of the cycles.
Chapter 7, “Vector measuring cycles”, describes how to use the vector measuring
cycles.
Chapter 8, “Additional cycles”, describes how to use the cycles that are not described
in previous chapters.
Chapter 9, “Alarms and messages”, describes the cycle alarm numbers and
messages that may be displayed on the screen of the machine tool controller when
an error occurs. An explanation of the meaning and possible cause of each alarm
message is provided, together with typical actions you must take to correct the fault
causing the message.
Chapter 10, “Configuration”, describes setting information and details about the
variables used in the Inspection Plus software.
Associated publication
When you are using the Inspection Plus software, you may find it useful to refer to the
following Renishaw publication if it has been provided with the software package.
Installation manual Probe systems for machine tools (Renishaw part no.
H-2000-6040).
Memory requirements
Establish how much free program memory is available on the machine. This must be
considered when deciding which cycles to load.
Read-ahead control
Fast machining or smoothing control options can cause problems with block read-ahead
when running a cycle. Refer to “Editing the active offset and read-ahead program O9723”
in Chapter 10, “Configuration”.
CAUTION: It is a feature of this software that all unit-dependent probe data is stored in
metric (mm) units, regardless of the current machine units. When this data is read, it is
converted as required to suit the active machine units. This differs from previous versions
of inspection software.
Examples
Calling Renishaw
If you have a question about the software, first consult the documentation and other
information included with your product.
If you cannot find a solution, you can receive information on how to obtain customer
support by contacting the Renishaw company that serves your country (for worldwide
contact details, see www.renishaw.com/contact).
When you call, it will help the Renishaw support staff if you have the appropriate product
documentation at hand. Please be prepared to give the following information (as
applicable):
The software version you are using (see the EQUIPMENT REGISTRATION
RECORD form).
NOTE: The software part number and version number are commented at the top of
the settings program (O9724).
The type of hardware that you are using (see the EQUIPMENT REGISTRATION
RECORD form).
The error number and wording of any message that appears on your screen.
A description of what happened and what you were doing when the problem
occurred.
Chapter 1
1. First, refer to Appendix A, “Features, cycles and limitations of the Inspection Plus
software”, to determine whether the software is suitable for your needs. Also
familiarise yourself with Chapter 10, “Configuration”.
2. Use the installation wizard to prepare the cycles for loading into the controller.
Options within the wizard automatically prepare the required cycles ready for loading
into the controller. If required, the wizard can also separate the cycles into individual
files for loading separately. Either load the whole suite of cycles or choose a suitable
subset of cycles:
Basic programs O9700, O9701, O9721, O9722, O9723, These must always be
and cycles O9724, O9725, O9726, O9727, O9729, loaded.
O9731, O9732, O9800, O9801, O9832,
O9833
Standard cycles O9810, O9811, O9812, O9814, O9815, These can be added as
and programs O9816, O9817 required.
Additional cycles O9730, O9818, O9819, O9820, O9834, These can be added as
and programs O9835, O9843 required.
Chapter 2
Optional inputs
Many of the cycles make use of standard optional inputs. Instead of describing them each
time they are required, they are described once in this chapter. You will be referred to this
chapter from other chapters whenever a standard optional input is available.
Details of each non-standard optional input that is available with a cycle is provided in the
relevant cycle description.
Optional inputs
The examples described below assume that the controller has been configured for metric
values (millimetres). The equivalent inch measurement values are shown in brackets.
Bb b= Angle tolerance of the surface, for example, 30° ±1° inputs A30. B1.
Example: B5. to set a tolerance of 5°.
Ee e= Experience value.
Specify the number of a spare tool offset where an adjustment value to
the measured size is stored (see Chapter 11, “General information”).
Example: E21. causes the experience value stored in tool offset 21 to be
applied to the measured size.
Qq q= The probe overtravel distance for use when the default values are
unsuitable. The probe will then travel beyond the expected position when
it searches for a surface.
Default values: 4 mm (0.16 in) in the Z axis and 10 mm (0.394 in) in the
X and Y axes.
Example: Q8. sets an overtravel distance of 8 mm.
(Q0.3 sets an overtravel distance of 0.3 in.)
R−r −r = This is similar to Rr, except that the clearance is applied in the opposite
direction where the boss or web is located within an internal feature.
Default value: −5 mm (−0.200 in).
Example: R−10. sets a radial clearance of −10 mm.
(R−0.4 sets a radial clearance of −0.4 in.)
Vv v= Null band.
This is the tolerance zone in which no tool offset adjustment occurs (see
Chapter 11, “General information”).
Default value: 0
Example: V0.5 for a tolerance zone of ±0.5 mm.
(V0.02 for a tolerance zone of ±0.02 in.)
Chapter 3
Cycle outputs
This chapter lists the variable outputs that are produced by some of the cycles. You will
be referred to this chapter from other chapters when a cycle output is produced.
G65 P9811 G65 P9812 G65 P9814 G65 P9815 G65 P9816 G65 P9817 G65 P9818 G65 P9819
#143 Size error Size error Size error Y angle Y angle Height error Size error
error error
G65 P9820 G65 P9821 G65 P9821 G65 P9822 G65 P9823 G65 P9834 G65 P9843
#143 Size error Size error Size error Size error Minimum Height error
distance error
#145 * Minimum True position True position True position True position True position
value error error error error error
#147
Chapter 4
As a probe moves around the workpiece, it is important that the stylus is protected
against a collision with the workpiece. This chapter describes how to use cycle O9810 to
set up the protected positioning of the probe, so that it will stop moving in the event of a
collision.
Before starting, check that this cycle is available, as the full suite of cycles may not be
installed on the machine.
Description
It is important to protect the probe stylus against damage caused by colliding with an
obstacle as the probe moves around the workpiece. When this cycle is used, the machine
will stop in the event of a collision.
Alternatively, the cycle can detect misloaded components (the optional M input is
required).
Application
The probe is selected and moved to a safe plane. At this point the probe is made active.
It can then be moved to the measuring position using this cycle.
In the event of a collision, the machine will stop. Either a PATH OBSTRUCTED alarm will
be generated or an error flag (#148) will be set (see the Mm input).
Format
G65 P9810 Xx Yy Zz [Ff Mm C1.]
Compulsory inputs
Xx x=
Yy y= The target positions for the probe positioning move.
Zz z=
Optional inputs
Ff f= The optimum feedrate found during optimisation is automatically
used. However, this input can be used to specify a different feedrate.
M1. This will set a probe trigger flag (but without a PATH OBSTRUCTED
alarm). The probe will not automatically return to the start point.
Make a G0 or G1 move to leave the surface.
#148 = 0 No probe trigger.
#148 = 7 Probe triggered.
M2. This will set a probe trigger flag (but without a PATH OBSTRUCTED
alarm). The probe will automatically return to the start point.
#148 = 0 No probe trigger.
#148 = 7 Probe triggered.
C1. Positioning is normally applied at the probe stylus tip position. Using
this flag, it is possible to position in the spindle axis to the stylus ball
centre.
G65 P9832 Switch on the probe (this includes M19 spindle orientation).
IF[#148EQ0]GOTO10
Chapter 5
Before a probe is used, the probe and stylus must be calibrated correctly. Only when they
are calibrated accurately can you achieve total quality control over your manufacturing
process.
This chapter explains how to use the calibration cycles and optimise your probe.
NOTE (Fanuc only): When optimising, parameter P6201.1=1 (SEB) must be set to
ensure that any servo error is compensated in the skip result. See “Machine parameter
settings” in Chapter 10, “Configuration”, for further information.
NOTE: If cycle O9800 has already been run, optimised measuring feedrates can be reset
to default by setting #505=0 (assuming the calibration data base number #111 is set to
500). Calibration should be carried out after this change.
As each Renishaw probe is unique, it is important that you calibrate it in the following
circumstances:
When it is suspected that the stylus has become distorted or that the probe has
crashed.
If repeatability of relocation of the probe shank is poor. In this case, the probe may
need to be recalibrated each time it is selected.
NOTE: The stored radius values are based on the true electronic trigger points. These
values are different from the physical sizes.
Length calibration can also be used to automatically compensate for machine and fixture
height errors by calibrating on a known reference surface on the part or fixture. Absolute
measured machine co-ordinates are not always the most important factor.
Cycle O9801 K1. This cycle is used to set the length of the probe in its tool holder.
(or no K input)
Cycle O9801 K4. This cycle is used to set the stylus XY offsets, the stylus ball radius
values and the stylus vector radii values.
Cycle O9801 K5. The sphere cycle is recommended for complete calibration in one
operation. This includes probe length calibration either on top of the
sphere or at a remote Z surface position. It is important that the sphere
centre position and size are accurately known.
To maintain backwards compatibility and flexibility, the following calibration cycles are also
available and are described in Appendix B, “Alternative calibration cycles”.
Cycle O9801 K0. This cycle is used for centring on a reference feature, allowing the
feature position to be found. Optionally use an S input to set a work
offset (WCS).
Cycle O9801 K2. This cycle is used to set the stylus XY offset calibration values.
Cycle O9801 K3. This cycle is used to set the stylus XY offsets and the stylus ball radius
values in the X+/− and Y+/− directions. It provides calibration data that
is suitable for all measuring cycles, except for vector measuring cycles
O9821, O9822 and O9823.
Use K−3. when you do not want to overwrite the stylus XY offset
values that are determined when using the K2. input described above.
M180. or M3. must be used when the XY position of the calibration artefact is unknown.
The following restrictions should be considered before use:
M3. can be used in all situations. The spindle will rotate at 400 r/min while
measurement takes place.
Only probes with a 360° transmission feature can use the M3. option.
The stylus ball diameter must not be outside the following range: 1 mm to 6 mm
(0.0393 in to 0.236 in).
The stylus length must not be outside the following range: 50 mm to 200 mm
(1.968 in to 7.874 in)
The stylus run-out (stylus centre line to spindle centre line) must be less than
0.25 mm (0.0098 in).
Z
Y
Zz
Rr Xx or Yy
Description
This cycle measures an X or Y surface multiple times using fast and slow feedrates then
repeats the process on a Z surface. The probe returns to the start position and waits for
an M00 program stop. The calculated feedrates are displayed as follows:
Press reset to abandon optimisation and use the standard two-touch measuring
method.
When cycle start is pressed, the optimised values are automatically loaded to #500
variables (always in millimetres).
Application
Enter the approximate probe length in the relevant tool offset. Set and activate an
appropriate work offset to a chosen edge, then position the probe directly above the edge
and run the cycle.
Format
G65 P9800 Bb. Xx. or Yy. [Hh. Ff. Uu. Ww. Qq. Rr. Zz.]
Example: G65 P9800 B6. X15. Z−8. H0.002 U7. W15. Q10. R15. F9000.
Compulsory inputs
Bb b= The nominal diameter of the stylus ball.
or
Optional inputs
Hh h= The measurement repeatability value required from the probing system.
Adjusting this value will influence the value displayed in #100.
Outputs
Assuming the calibration data base number (#111) is set to 500:
#505 Software signature – represents the optimisation status and other internal
software settings.
#506 Probe system delay, including any transmission delay and probe filter settings.
This is used to maintain the optimum back-off distance.
#507 Machine stopping distance for a feedrate of 1000 mm/min (39.37 in/min). This is
used during measurement to ensure that skip positions are not taken while the
machine is accelerating or decelerating.
#508 Measuring feedrate, transferred from #100. Measuring cycles use this value
when capturing skip positions. A one-touch or two-touch measurement method
is automatically selected, based on which method is the fastest.
#509 Fast positioning feedrate, transferred from #101 and #102. Measuring cycles
use this value when positioning the probe prior to measurement.
Example: #509=300.089
Z feedrate = 3000 mm/min (uses the value before the decimal point only × 10)
XY feedrate = 8900 mm/min (uses the value after the decimal point only × 100000)
Example
Set the X, Y, Z values in work offset G54.
O0001
Calibration cycles
Calibrating the probe length (O9801 K1.)
Tt Zz
Tool offset Reference
height
Z
Y
X
Description
The probe is positioned adjacent to a Z-axis reference surface. When the calibration cycle
is completed, the active probe tool offset is adjusted to the reference surface.
Application
First load an approximate tool offset. Position the probe adjacent to the reference surface.
When the cycle is run, the surface is measured and the tool offset is reset to a new value.
The probe then returns to the start position.
Alternatively, if your machine retains the tool offset at all times, this cycle can be run
directly from the MDI screen without writing a program.
Format
Compulsory inputs
Optional input
K1. Tool length setting mode. This is also the cycle default if no Kk input is
used.
Outputs
Example
NOTE: The tool offset must be active. The active tool offset H number must be the same
as the T input number (shown underlined in this example).
O0001
G65 P9801 B6. K1. Z0. T1. Update the probe length in the Z axis.
Stylus XY offsets
#503
1 2
#502
3
Y
Dd Zz
X
#500 (X radius)
#501 (Y radius)
#510 to #517 (vector radii)
Description
The probe stylus is positioned inside a reference feature, typically a ring gauge, at a
height suitable for calibration. When the cycle is completed, 12 radius values for the stylus
ball are stored; one for every 30° position.
Application
The reference feature must be mounted on the machine table and its position must be
accurately determined. Before running the cycle, the probe must be positioned with the
spindle on the centre of the reference feature and at a suitable height, with the spindle
orientation (M19) active.
Internal feature (ring gauge): Position the stylus at a suitable height inside the feature.
External feature (cylinder): Position the stylus at a suitable clearance position above
the feature.
NOTE: If spindle 180° orientation positioning is available, use the Mm input to avoid
accurate pre-positioning before running the cycle.
Format
Compulsory inputs
Optional inputs
M180. M180. is used as a flag to orient the probe to a second spindle position
(180°). This is used to automatically find the centre of the feature, and
means that only approximate pre-positioning is required. Alternatively,
an M3. input (rotating spindle) can be used – see “Notes on using the
M180./M3. input” at the beginning of this chapter.
Outputs
The following data is stored (this assumes that the default calibration base number is set
to 500):
#135 X position
#136 Y position
A tool offset must be active before running this program. If your machine does not retain
the offset, then use Example 2.
Position the probe accurately on-centre in the ring gauge and at the required depth.
O0004
G65 P9801 K4. B6. D50.001 Calibrate in a 50.001 mm (1.9685 in) diameter ring gauge
with a 6 mm (0.236 in) diameter stylus.
Example 2: Calibrating the stylus ball offsets and radii (alternative method)
Set the exact XY centre and Z top face position of the feature in a work offset (this
example uses G54).
O0004
G65 P9810 Z−5. F3000. Protected positioning move into the hole.
G65 P9801 K4. B6. D50.001 Calibrate in a 50.001 mm (1.9685 in) diameter ring gauge
with a 6 mm (0.236 in) diameter stylus.
G65 P9810 Z100. F3000. Protected positioning move retract to 100 mm (3.94 in).
Machine
reference
Mm
Bb
Xx, Yy, Ee
Z Dd
Zz
Y
Description
This cycle is used for calibrating the probe stylus on a reference sphere. It determines all
stylus ball calibration values, including the vector radii, and also sets the probe length
offset in one operation. The cycle makes all the necessary positioning and measuring
moves on the sphere.
Application
The reference sphere must be rigidly mounted on the machine tool so that it can be
approached from above and in all directions in the XY axis. Its diameter and centre
position in the X, Y and Z axes must be accurately known. An approximate tool offset for
the probe length should be entered.
Write a program that positions the probe stylus approximately 10 mm (0.394 in) above the
sphere, with the probe tool offset active and the spindle exactly at the XY sphere centre
line. Then run the cycle for complete calibration.
At the end of the cycle the probe is returned to the start position.
Format
G65 P9801 K5. Zz. Dd. Bb. Tt. [M180. Ee. Xx. Yy.]
Example: G65 P9801 K5. Z0. D30. B6. T14. M180. E−300.157 X250. Y100.
Compulsory inputs
Zz z= The absolute Z-axis sphere centre position. If the top of the sphere is
used to calibrate the probe length, the value must be exact.
Optional inputs
M180. M180. is used as a flag to orient the probe to a second spindle position
(180°). This is used to automatically find the centre of the feature, and
means that only approximate pre-positioning is required. Alternatively,
an M3. input (rotating spindle) can be used – see “Notes on using the
M180./M3. input” at the beginning of this chapter.
Xx x= The X position from machine reference. Used with the Ee input above.
Yy y= The Y position from machine reference. Used with the Ee input above.
Outputs
The following data is stored (this assumes that the default calibration base number is set
to 500):
#135 X position
#136 Y position
O0002
G65 P9801 K5. Z0. D20. B6. T14. M180. Use a 20 mm (0.7874 in) diameter reference
sphere with the Z work offset set to the
centre. The stylus diameter is 6 mm
(0.2362 in). Set probe tool offset 14.
Chapter 6
This chapter describes how to use the standard measuring cycles. Before using these
cycles, the radius of the stylus ball must be calibrated using cycle O9801 (see Chapter 5,
“Probe calibration and SupaTouch optimisation”).
Before starting, check that the cycles are available on the machine, as the full suite of
cycles may not have been installed.
X, Y
Description
This cycle measures a surface to establish the size or position.
Application
With its tool offset active, position the probe adjacent to the surface. The cycle measures
the surface and returns to the start position.
1. As a size, where the tool offset is updated in conjunction with the Tt and Hh inputs.
2. As a reference surface position, for the purpose of adjusting a work offset using the
Ss and Mm inputs.
Format
G65 P9811 Xx. or Yy. or Zz. [Ee. Ff. Hh. Mm. Qq. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9811 X50. E21. F0.8 H0.2 M0.2 Q10. S1. T20. U0.5 V0.5 W2.
Compulsory inputs
Xx x=
or
Yy y= The surface position or size.
or
Zz z=
Optional inputs
See Chapter 2, “Optional inputs”.
G65 P9810 Z−8. F3000. Protected positioning move to the start position.
continue
The radius offset (10) and length offset (11) of the tool are updated by the errors of the
surface positions.
Zz
Z0 Z0
Rr
Xx, Yy Xx, Yy
Zz
Z0
Z
Y
X
R−r
Xx, Yy
Description
This cycle measures a web or pocket feature using two measuring moves along the XY
axis.
Application
With the probe and probe offset active, position the probe to the expected centre line of
the feature and at a suitable position in the Z axis. Run the cycle with suitable inputs.
Format
G65 P9812 Xx. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9812 Yy. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9812 Xx. Zz. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9812 Yy. Zz. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9812 X50. Z100. E21. F0.8 H0.2 M.2 Q10. R10. S1. T20. U0.5 V0.5 W2.
Compulsory inputs
Xx x= The nominal size of the feature when measured in the X axis.
or
Yy y= The nominal size of the feature when measured in the Y axis.
Optional inputs
Rr r= This can be used, as shown in the diagrams above, to pre-position
before each measurement. It can also be used for an internal pocket
cycle using an R+ input (and no Zz input). The fast pre-positioning will
improve cycle time on large pockets but will produce an alarm if the
probe stylus is triggered during pre-positioning.
Outputs
See Chapter 3, “Cycle outputs”.
G65 P9812 X50. Z−10. S2. Measure a 50 mm (1.968 in) wide web.
continue
The centre line of the feature in the X axis is stored in work offset 02 (G55).
continue
The error of the centre line is referred to the datum point X0. The revised X0 position is
set in work offset 02 (G55).
Zz
Z0 Z0
Rr
Dd dia Dd dia
Zz
Z0
Z
Y
X
R−r
Dd dia
Description
This cycle measures a bore or boss feature using four measuring moves along the XY axis.
Application
With the probe and probe offset active, position the probe to the expected centre line of
the feature and at a suitable position in the Z axis. Run the cycle with suitable inputs.
Format
G65 P9814 Dd. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9814 Dd. Zz. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9814 D50.005 Z100. E21. F0.8 H0.2 M0.2 Q10. R10. S1. T20. U0.5 V0.5
W2.
Compulsory inputs
Dd d= The nominal size of the feature.
Optional inputs
Rr r= This can be used, as shown in the diagrams above, to pre-position
before each measurement. It can also be used for an internal bore cycle
using an R+ input (and no Zz input). The fast pre-positioning will improve
cycle time on large bores, but will produce an alarm if the probe stylus is
triggered during pre-positioning.
Outputs
See Chapter 3, “Cycle outputs”.
G65 P9814 D50. Z−10. S2. R10. Measure a 50 mm (1.968 in) diameter boss.
continue
The centre line of the feature in the X and Y axis is stored in work offset 02 (G55).
continue
The error of the centre line is referred to the datum point X0, Y0. The revised X0, Y0
position is set in work offset 02 (G55).
This means the work offset is adjusted by the error between the start position and the
actual centre line of the feature.
Yy
Yy
Ii
Ee
X Jj
Xx
Dd
Description
This cycle is used to establish the corner position of a feature. A true corner intersection
can be found when the corner is not 90°.
Application
With the tool offset active, position the probe at the start position. The probe measures
the Y-axis surface first, then measures the X-axis surface. It then returns to the start
position.
If an error occurs during the cycle, the probe returns to the start position.
Format
G65 P9815 Xx. Yy. [Bb. Dd. Ee. Ii. Jj. Mm. Qq. Ss. Uu. Ww. Zz.]
Example: G65 P9815 X100. Y100. B2. D10. E10. I10. J10. M.2 Q10. S1. U0.5 W2. Z−10.
NOTE: If inputs I and J are used, they must be stated in the order shown above.
Compulsory inputs
Xx x= The nominal position of the corner in the X axis.
Optional inputs
A note about inputs I and J
If the I and J inputs are both missing, only two gauging moves occur. The corner feature is
assumed to be parallel to the axes.
If either I or J is missing, three gauging moves then occur and the corner feature is
assumed to be 90°.
Outputs
The measurement values of the feature are stored in variables #135 to #149 (for details,
see Chapter 3, “Cycle outputs”).
Variable #139 is the angle of the X surface and is measured from the X+ axis direction.
Variable #142 is the angle of the Y surface and is also measured from the X+ axis
direction.
G68 X#135 Y#136 R#139 Set the rotational position and angle. (See note
below.)
continue
NOTE: If the G68 data #135, #136 and #139 needs to be saved for further use, copy the
data into spare #500 series variables before this G68 line of code.
Example:
#595=#135
#596=#136
#599=#139
G68 X#595 Y#596 R#599
Yy
Default moves:
Ee
and are equal
and are equal
Jj
X Xx
Description
This cycle is used to establish the corner position of a feature. A true corner intersection
can be found when the corner is not 90°.
Application
With the tool offset active, position the probe at the start position. The probe measures the
Y-axis surface first then measures the X-axis surface. It then returns to the start position.
If an error occurs during the cycle, the probe returns to the start position.
Format
G65 P9816 Xx. Yy. [Bb. Dd. Ee. Ii. Jj. Mm. Qq. Ss. Uu. Ww. Zz.]
Example: G65 P9816 X100. Y100. B2. D10. E10. I10. J10. M0.2 Q10. S1. U0.5 W2. Z10.
NOTE: If inputs I and J are used, they must be stated in the order shown above.
Compulsory inputs
Xx x= The nominal position of the corner in the X axis.
Optional inputs
A note about inputs I and J
If the I and J inputs are both missing, two gauging moves occur. The corner feature is
assumed to be parallel to the axes.
If either I or J is missing, three gauging moves occur. The corner feature is assumed to be
90°.
Outputs
The measurement values of the feature are stored in variables #135 to #149 (for details,
see Chapter 3, “Cycle outputs”).
Variable #139 is the angle of the X surface and is measured from the X+ axis direction.
Variable #142 is the angle of the Y surface and is also measured from the X+ axis
direction.
G68 X#135 Y#136 R#139 Set the corner position and angle. (See note below.)
continue
NOTE: If the G68 data #135, #136 and #139 needs to be saved for further use, copy the
data into spare #500 series variables before this G68 line of code.
Example:
#595=#135
#596=#136
#599=#139
G68 X#595 Y#596 R#599
Zz
Dd
Ee
Figure 6.6 Finding the centre and angle of a rectangle (external feature)
Description
This cycle is used to establish the centre of a rectangle and its orientation. A true centre
can be found even if the feature is not square to the machine axes.
Application
With the probe and probe offset active, position the probe at the nominal centre of the
feature. The probe will take five measuring points before returning to the start position.
If an error occurs during the cycle, the probe returns to the start position.
Format
G65 P9817 Dd. Ee. Zz. [Aa. Bb. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9817 D100. E60. Z−10. A12. B0.5 H20. M0.1 Q10. R10. S1. T60. U2. V40. W2.
NOTE: The function of inputs Ee, Hh, Tt and Vv have been modified for this cycle. The
descriptions in Chapter 2, “Optional inputs” are not relevant.
Compulsory inputs
Dd d= The feature nominal length in the X axis.
Zz z= The Z measuring height position. The cycle will position down to the Zz
height, take the measurement and retract for every measuring position.
Optional inputs
Aa a= The face on which the two measurements will take place.
Default value: A14
P2 P3 P3 P2 P2
P2 P3
P3 P1 P4 P4 P1 P1
P1 P4
P4 P5 P5 P5 P5
A14 or no A input = default face A11 = right face A12 = top face A13 = left face
Hh h= The position of points P2 and P4 in the X axis relative to the bottom left-
hand corner.
Default value: P2 = 50% of Dd, P4 = 25% of Dd.
Tt t= The distance between the two measure points on the same face.
Default value: 50% of Dd
Vv v= The position of points P1 and P3 in the Y axis relative to the bottom left-
hand corner.
Default value: 50% of Ee
P2 P2
P2
P3 P1
P3 P1 P3 P1
Ee
Ee
Ee
Vv
½ Ee
½ Ee
½ Ee
P4 P5 P4 P5 P4 P5
¼ Dd Hh Tt ¼ Dd Tt
¾ Dd Dd Dd
Dd
Outputs
The measurement values of the feature are stored in variables #135 to #149 (for details,
see Chapter 3, “Cycle outputs”).
Example
G68 X#135 Y#136 R#139 Set the rotational position and angle. (See note
below.)
continue
NOTE: If the G68 data #135, #136 and #139 needs to be saved for further use, copy the
data into spare #500 series variables before this G68 line of code.
Example:
#595=#135
#596=#136
#599=#139
G68 X#595 Y#596 R#599
Dd
Ee
Figure 6.7 Finding the centre and angle of a rectangle (internal feature)
Description
This cycle is used to establish the centre of a rectangle and its orientation. A true centre
can be found even when the feature is not square to the machine axes.
Application
With the probe and probe offset active, position the probe at the nominal centre of the
feature. The probe will take five measuring points before returning to the start position.
If an error occurs during the cycle, the probe returns to the start position.
Format
G65 P9817 Dd. Ee. [Aa. Bb. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9817 D100. E60. A12. B0.5 H20. M0.1 Q10. R10. S1. T60. U2. W2.
NOTE: The function of inputs Ee, Hh, Tt and Vv have been modified for this cycle. The
descriptions in Chapter 2, “Optional inputs” are not relevant.
Compulsory inputs
Dd d= The feature nominal length in the X axis.
Optional inputs
Aa a= The face on which the two measurements will take place.
Default value: A14
P2 P3 P2
P2 P3
P3 P2
P3 P1 P4 P1
P4 P1
P4 P5 P5
P1 P5 P4 P5
A14 or no A input = default face A11 = right face A12 = top face A13 = left face
Hh h= The position of points P2 and P4 in the X axis relative to the bottom left-
hand corner.
Default value: P2 = 50% of Dd, P4 = 25% of Dd.
Tt t= The distance between the two measure points on the same face.
Default value: 50% of Dd
Vv v= The position of points P1 and P3 in the Y axis relative to the bottom left-
hand corner.
Default value: 50% of Ee
P2 P2 P2
P3
P3 P1 P3 P1
P1
Ee
Ee
Ee
Vv
½ Ee
½ Ee
½ Ee
P4 P5 P4 P5
P4 P5
¼ Dd Hh Tt ¼ Dd Tt
¾ Dd Dd Dd
Dd
Outputs
The measurement values of the feature are stored in variables #135 to #149 (for details,
see Chapter 3, “Cycle outputs”).
Example
G68 X#135 Y#136 R#139 Set the rotational position and angle. (See note
below.)
continue
NOTE: If the G68 data #135, #136 and #139 needs to be saved for further use, copy the
data into spare #500 series variables before this G68 line of code.
Example:
#595=#135
#596=#136
#599=#139
G68 X#595 Y#596 R#599
Description
This program is used to switch the probe on and can also be used to select test mode,
and to open a print port in readiness for printing results in subsequent measuring cycles.
A loop in the software tries to activate the probe up to four times. An alarm results if the
probe does not switch on. See Chapter 10, “Configuration”, for details on disabling this
feature.
Application
The probe must be loaded into the spindle and moved to a safe start plane before running
this cycle. It will activate the probe and select the operational modes for subsequent
cycles to use.
Format
G65 P9832 [Dd W1.]
Optional inputs
D1.ST = Test mode ON. All positioning move feedrates will be reduced by 50%
and a forced cycle stop will occur before each measure move. You must
press cycle start to continue.
D2.ST = Production mode ON. All positioning moves will be at the maximum
feedrate and unprotected, should a collision occur. This mode should
only be used after initial prove-out and in situations where further
collisions are unlikely.
NOTE: If the D input is not used, the cycles will run safely at optimised
feedrates.
W1. = Print flag. This must be used to open the port (POPEN) ready for printing
data, but only if subsequent measuring cycles use the print results (Ww)
input. This input is used in conjunction with the probe stop cycle (O9833)
with the W1. input.
Example
G43 H20 Z100. Apply a tool offset and move to a safe plane.
Description
This cycle is used to switch the probe off. There is an optional input that can be used to
close the port after printing results during previous measuring cycles.
A loop in the software tries to deactivate the probe up to four times. An alarm results if the
probe does not switch off. See Chapter 10, “Configuration”, for details on disabling this
feature.
Application
The probe should be retracted to a safe plane before using this cycle. It will stop the probe
and optionally close the print port.
Format
G65 P9833 [W1.]
Optional input
W1. = Print flag. This is used to close the port (PCLOS) after printing data is
completed. This input is used in conjunction with the probe start cycle
(O9832) with the W1 input.
Example
In the example, with a probe tool offset active, the probe is retracted to a safe start plane
before it is switched off prior to a tool change.
The probe stop cycle should be called before making a G28 reference return, otherwise
the G28 position may not be effective because of the small Z-axis test move within the
O9833 cycle. Note, however, that the cycle does always return to its initial position before
finishing.
G65 P9810 Z100. Retract to a safe plane with the tool offset still active.
G91
continue
Chapter 7
This chapter describes how to use the vector measuring cycles. Before using these
cycles, the radius of the stylus ball must be calibrated using either the O9801 K4. or the
O9801 K5. cycle (see Chapter 5, “Probe calibration and SupaTouch optimisation”).
Before starting, check that the cycles are available on the machine, as the full suite of
cycles may not have been installed.
NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 K4. or the O9801 K5. cycle to establish the vector stylus radius values (see
Chapter 5, “Probe calibration and SupaTouch optimisation”).
NOTE:
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise
direction.
Negative (−) angle: Clockwise direction.
Dd
Y
90°
X Aa
0°
−90°
Description
This cycle measures a surface feature using one vectored measuring move along the XY
axis.
Application
With the probe and probe offset active, position the probe at the expected reference point
of the feature and at a suitable position in the Z axis. Run the cycle with suitable inputs.
Format
G65 P9821 Aa. Dd. [Ee. Ff. Hh. Mm. Qq. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9821 A45.005 D50.005 E21. F0.8 H0.2 M0.2 Q10. S1. T20. U0.5 V0.5
W2.
Compulsory inputs
Aa a= The direction of the probe measurement when measuring from the X+
axis direction.
Optional inputs
See Chapter 2, “Optional inputs”.
Outputs
See Chapter 3, “Cycle outputs”.
50
X
45°
G65 P9810 Z−8. F3000. Protected positioning move to the start position.
The tool radius offset (10) is updated by the error of the surface position.
NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 K4. or the O9801 K5. cycle to establish the vector stylus radius values (see
Chapter 5, “Probe calibration and SupaTouch optimisation”). As the stylus radius values
are mapped in the XY plane only, use a RENGAGE™ probe (typically, an OMP400,
RMP600 or MP700) with good 3D measuring performance.
1 and 4
Z
Y
Description
This cycle measures a surface feature using one vectored measuring move along the XY,
XZ, YZ or XYZ axis. Prior to the gauging move, the cycle will reposition the stylus ball to
compensate for the XY probe offset and, if a Z-axis target position is included in the cycle
call-up line, will also reposition the probe to compensate for the stylus ball radius in the Z
axis.
When performing an XY plane single surface measurement, do not include a Z-axis target
position in the cycle call-up line and the cycle will run at the current Z position.
NOTE: This cycle cannot be used to update the tool offset values.
Application
With the probe and probe offset active, position the probe at a suitable start point so that it
will move onto the surface normal to the expected gauging point.
Format
G65 P9821 Xx. Yy. Zz. [Cc. Hh. Mm. Qq. Ww.]
Compulsory inputs
At least one of these inputs is required.
Optional inputs
Cc Used to adjust output values in variables #124, #125 and #126 (see
“Outputs” below). It does not change the way cycle movements are
performed or the printed results (W1.) as XY offsets are always
considered. If the Cc input is not used, the output will be the probe trigger
points with no corrections.
0= Spindle centre-line adjust. This is used for stylus XY calibration offset
error correction only.
1= Spindle centre-line adjust. This is used for stylus XY calibration offset
error correction and Z height adjustment by the ball radius value (i.e. the
centre of the ball).
2= Surface contact point adjust along the approach vector. This is used for
stylus XY calibration offset error correction and radius correction along
the XYZ approach vector.
Outputs
#124 The X-axis modified position using the Cc input.
P1 and P4 45°
P2
P3
G65 P9810 X−5. Z5. F3000. P1, protected positioning move to the start position (P2).
G65 P9821 C2. X10. Z−10. P3, measure the surface and return to P4 (see the note
below).
The surface position for P3 is found and the results are stored in #124, #125 and #126.
NOTE: The Z-axis movement from P1 to P2 is performed automatically to put the centre
of the stylus ball on the vectored approach path to P3.
NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 K4. or the O9801 K5. cycle to establish the vector stylus radius values (see
Chapter 5, “Probe calibration and SupaTouch optimisation”).
90° Aa
Aa
180° 0° Rr
A−a
Dd
Aa
+Y
R−r
+X
Aa
Description
This cycle measures a web or pocket feature using two vectored measuring moves along
the XY axis.
Application
With the probe and probe offset active, position the probe to the expected centre line of
the feature and at a suitable position in the Z axis. Run the cycle with suitable inputs.
Format
G65 P9822 Aa. Dd. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9822 Aa. Dd. Zz. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu. Vv. Ww.]
Example: G65 P9822 A45.005 D50.005 Z50. E21. F0.8 H0.2 M0.2 Q10. R10. S1. T20.
U0.5 V0.5 W2.
Compulsory inputs
Aa a= The angle of the surface to be measured from the X+ axis direction.
Optional inputs
Rr r= This can be used as shown in the diagrams above to pre-position before
each measurement. It can also be used for an internal pocket cycle
using an R+ input (and no Zz input). The fast pre-positioning will improve
cycle time on large pockets, but will produce an alarm if the probe stylus
is triggered during pre-positioning.
Default: Pocket cycle with no fast pre-positioning
Outputs
See Chapter 3, “Cycle outputs”.
−10
30°
G65 P9822 A30. D50. Z−10. S2. Measure a 50 mm (1.9685 in) wide web at 30°.
continue
The centre line of the feature in the X axis is stored in work offset S02 (G55).
NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 K4. or the O9801 K5. cycle to establish the vector stylus radius values (see
Chapter 5, “Probe calibration and SupaTouch optimisation”).
90°
Bb
180° 0°
Aa
Cc
Rr
−90°
Dd
NOTE:
Angles are in the range ±180°.
R−r
Positive (+) angle: Counterclockwise direction.
Negative (−) angle: Clockwise direction.
Description
This cycle measures a bore or boss feature using three vectored measuring moves along
the XY axis.
Application
With the probe and probe offset active, position the probe to the expected centre line of
the feature and at a suitable position in the Z axis. Run the cycle with suitable inputs.
Format
G65 P9823 Aa. Bb. Cc. Dd. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu.]
or
G65 P9823 Aa. Bb. Cc. Dd. Zz. [Ee. Ff. Hh. Mm. Qq. Rr. Ss. Tt. Uu.]
Example: G65 P9823 A45.005 B150. C35.005 D50.005 Z50. E21. F0.8 H0.2 M0.2 Q10.
R10. S1. T20. U0.5
Compulsory inputs
Aa a= The first angle for vector measurement, measured from the X+ axis
direction.
Bb b= The second angle for vector measurement, measured from the X+ axis
direction.
Cc c= The third angle for vector measurement, measured from the X+ axis
direction.
Optional inputs
Rr r= This can be used as shown in the diagrams above to pre-position before
each measurement. It can also be used for an internal bore cycle using
an R+ input (and no Zz input). The fast pre-positioning will improve cycle
time on large bores, but will produce an alarm if the probe stylus is
triggered during pre-positioning.
Default: Bore cycle with no fast pre-positioning.
Outputs
See Chapter 3, “Cycle outputs”.
G65 P9823 D30. A30. B150. C−90. S2. Measure a 30 mm (1.181 in) diameter bore.
continue
The error of the centre line is referred to the datum point X0,Y0. The revised X0,Y0
position is set in work offset 02 (G55).
Chapter 8
Additional cycles
The Inspection Plus software contains a number of cycles that cannot be described under
the headings used in previous chapters of this manual (see chapters 4 to 7 inclusive).
This chapter describes how to use these cycles.
Before starting, check that the cycles are available on the machine, as the full suite of
cycles may not have been installed.
Updating the statistical process control (SPC) tool offset (O9835) ................................ 8-25
Y0
(A0)
Zz Zz
X0
(B0)
Figure 8.1 4th axis measurement Figure 8.2 4th axis measurement
(axis parallel to the Y axis) (axis parallel to the X axis)
(using K1. or no Kk input) (using K2. input)
Y0
Yy (C0)
Xx
Xx
X0
(C0)
Yy
Figure 8.3 4th axis measurement Figure 8.4 4th axis measurement
(axis parallel to the X axis) (axis parallel to the Y axis)
(using K3. input) (using K4. input)
NOTE:
Angle correction to the 4th axis:
Positive (+) angle: Counterclockwise direction.
Negative (−) angle: Clockwise direction.
Description
This cycle is used to find the slope of a surface between two points; for example, Z1 and
Z2. The 4th axis can then be rotated to compensate for the surface error.
It will compensate for the error with the 4th rotary axis in any of the orientations shown in
Figures 8.1, 8.2, 8.3 and 8.4 above.
Application
Position the rotary axis to the expected angular position of the feature (for example, the
surface normal to the Z axis). If the Ss input is used, the work offset register is adjusted
by the error amount.
NOTE: To make the new work offset active on most machines, it is normally necessary to
restate the work offset and move to the angular position after the cycle.
Format
K1. (A-axis setting)
Example: G65 P9818 Y100. Z50. K1. Q10. B2. S1. W2.
Example: G65 P9818 X100. Z50. K2. Q10. B2. S1. W2.
Example: G65 P9818 X100. Y50. K3. Q10. B2. S1. W2.
Example: G65 P9818 X50. Y100. K4. Q10. B2. S1. W2.
Compulsory inputs
K1. (A-axis setting)
K1. Select the orientation of the rotary axis (in this case, the A axis).
K2. Select the orientation of the rotary axis (in this case, the B axis).
K3. Select the orientation of the rotary axis (in this case, the C axis).
K4. Select the orientation of the rotary axis (in this case, the C axis).
Optional inputs
Bb b= Set a tolerance on the angular position of the feature. It is equal to half
the total tolerance.
Example: With a component dimension of 45° ±0.25° the 4th axis will be
positioned to 45° and B0.25 tolerance.
Outputs
#139 The measured position of the 4th axis.
#3 = 4 (_AXIS*NO)
Change the #3 value as required for each axis to be used. See the (A-AXIS), (B-AXIS)
and (C-AXIS) commented sections in the cycle.
#4 = 1 (_1=CW*-1=CCW*UPDATE)
Change the #4 value as required for each axis to be used. See the (A-AXIS), (B-AXIS)
and (C-AXIS) commented sections in the cycle.
G65 P9810 X0. Y0. Z20. F3000. Position 10 mm (0.394 in) above the surface.
G65 P9818 X50. Z10. K2. S1. B5. Measure at 50 mm (1.9685 in) centres, update G54
and set a tolerance of 5°.
continue
X−40. Y−70.
G65 P9810 Z−10. F3000. Position 10 mm (0.394 in) below the surface.
G65 P9818 X50. Y−50. K3. S1. B5. Measure at 50 mm (1.9685 in) centres, update G54
and set a tolerance of 5°.
continue
90° Aa
Kk
180° 0°
−90°
Dd
Zz
NOTE:
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise direction.
Negative (−) angle: Clockwise direction.
Cc PCD
Description
NOTE: This cycle requires an additional cycle nesting level to other cycles included in this
package. This is because it has an embedded call to the O9814 cycle.
The cycle measures a series of bores or bosses on a pitch circle diameter (PCD). All
probe moves occur automatically and return to the start position at the centre of the PCD.
Application
1. Position the probe at the centre of the PCD above the component. The probe moves
to each of the bore/boss features and measures each one automatically. At the end
of the cycle it then returns to the PCD centre.
2. The cycle makes use of the bore/boss cycle which is nested within the moves. The
cycle nesting level is four deep, which means that this cycle cannot be nested inside
a customer cycle.
Format
Boss: G65 P9819 Cc. Dd. Zz. [Aa. Bb. Hh. Mm. Qq. Rr. Ww.]
or
Bore: G65 P9819 Cc. Dd. Kk. [Aa. Bb. Hh. Mm. Qq. Rr. Ww.]
Example: G65 P9819 C28.003 D50.005 K11. A45.005 B2. H0.2 M0.2 Q10. R10. W2.
Compulsory inputs
Cc c= The pitch circle diameter (PCD) of the bore/boss feature.
Optional inputs
Aa a= The angle measured from the X axis to the first bore/boss feature.
Default value: 0.
Outputs
The feature measurements are stored in variables #135 to #149 (see Chapter 3, “Cycle
outputs”).
The data listed below is output to the printer. For details of the print program output
format, see Chapter 11, “General information”.
The XY absolute position, angle position and pitch circle diameter of each feature.
G65 P9819 A45. B4. C100. D16. K−10. Measure four 16 mm (0.630 in) diameter holes
starting at 45°.
continue
P (6 max.) Z
P2
Y
P1
X
P (6 max.)
P1 P (6 max.)
P1
P2
P2
Description
The cycle measures an X or Y or Z surface at defined positions to establish the maximum
and minimum stock condition of the surface.
Application
The probe is positioned above the surface at the first measuring position (P1). The cycle
measures the surface at this position. Additional points (P2 to P6 maximum) are
measured as defined, depending on the number of sets of I, J, or K inputs.
NOTES:
1. When a work offset is set, the surface position is at the minimum measured position
and the stock value is seen in #146.
2. When a work offset is not set, the nominal position is assumed and the maximum
and minimum values are seen in #144 and #145 respectively.
Format
X-surface measure
G65 P9820 Xx. [Jj. Kk. Ss. Uu. Qq.] NOTE: Successive pairs of Jj and Kk
values must be in order for P2 to P6.
or
Y-surface measure
NOTE: Successive pairs of Ii and Kk values
G65 P9820 Yy. [Ii. Kk. Ss. Uu. Qq.]
must be in order for P2 to P6.
or
Z-surface measure
NOTE: Successive pairs of Ii and Jj values
G65 P9820 Zz. [Ii. Jj. Ss. Uu. Qq.] must be in order for P2 to P6.
where [ ] denote optional inputs.
Compulsory inputs
Xx
or
Yy x, y, z = The nominal surface position for checking the stock allowance.
or
Zz
Optional inputs
I1 (P2) to i= The X surface positions for P2 to P6 (a maximum of five additional
I5 (P6) positions).
Outputs
With the Uu input only Upper tolerance exceeded. Flag #148 is set to 3.
#145 Uu #145
Uu #146
#144
#144
Nominal Work offset Nominal
position set to this position
position
P3 Z
P2
Y
P1
X50
P1 at X55. Y55.
P2 at X155. Y55.
Y50 P3 at X55. Y155.
Z0
G65 P9810 X55. Y55. Z20. F3000. Protected positioning move to P1.
G65 P9820 Z0. I155. J55. I55. J155. U2. Measure at P1, P2 and P3 to set a 2 mm
(0.039 in) tolerance.
continue
X50
P1 at X55. Z45.
P2 Y50 P2 at X155. Z45.
P1
P3 at X55. Z20.
Z50
P3
Figure 8.9 Checking a Y surface and updating a work offset
G65 P9810 X55. Y40. Z45. F3000. Protected positioning move to P1.
G65 P9820 Y50. I155. K45. I55. K20. S2 Measure at P1, P2 and P3 to set the Y-axis
work offset G55 to the minimum stock
position at program position Y50.
Retract, select the tool and work offset G55
for machining the Y surface at the new Y50.
surface position.
Probe 1 Probe 2
K1 K2
Calibration data Calibration data
Description
NOTE: This option is not enabled as standard. See Chapter 10, “Configuration”.
Up to four probes can be used with this software. This is to cater for the possibility of
having similar probes but with different styli, or combinations of probes with different
probe start requirements, for example an “optical on/off” and a “spin on/off” probe
combination.
Application
CAUTION: It is possible for the T number to be linked to the H number, in which case just
performing a tool change will enable the use of multiple probes. However, the system
must be configured to do this, and it must not be assumed that this has been done.
When using multiple probes, the use of probe offset number (H) for the probe in the
spindle is now restricted to those numbers which are pre-defined during the multiple probe
support installation procedure.
The available probes and their associated probe offset (H) numbers must be known. The
H numbers are always associated with a particular probe. It is only necessary to bring the
correct probe into the spindle and activate the associated offset number (H) for that probe
– the multi-probe application is then ready to use. The software will activate the correct
probe data and start the probe.
In every other way the cycles will run exactly as described in this manual.
NOTE:
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise
direction.
Negative (−) angle: Clockwise
Dd direction.
P2
P1 Yy
Aa
Xx
Description
This is a no movement cycle that is used in conjunction with two measuring cycles to
determine feature-to-feature data.
Application
The first measuring cycle is run and the data is stored in variables #135 to #139 as
normal.
Programming G65 P9834 without any inputs has the effect of copying the data from these
variables into variables #130 to #134 for P1.
Values for P2 are obtained by running a second measuring cycle which stores new data in
variables #135 to #139.
NOTE: The order of P1 and P2 is important because the data calculated is that of P2 with
respect to P1.
The feature-to-feature data is established by programming G65 P9834 with suitable inputs
after the second measuring cycle, to compare the data for P1 (in variables #130 to #134)
with the data for P2 (in variables #135 to #139).
Format
G65 P9834 Xx. [Ee. Ff. Hh. Mm. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9834 Yy. [Ee. Ff. Hh. Mm. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9834 Xx. Yy. [Bb. Ee. Hh. Mm. Ss. Uu. Ww.]
or
G65 P9834 Aa. Dd. [Bb. Ee. Hh. Mm. Ss. Uu. Ww.]
or
G65 P9834 (with no inputs).
Examples: G65 P9834 X100. E21. F0.8 H0.2 M0.2 S1. T20. U0.5 V0.5 W2.
or
G65 P9834 Y100. E21. F0.8 H0.2 M0.2 S1. T20. U0.5 V0.5 W2.
or
G65 P9834 X100. Y100. B2. E21. H0.2 M0.2 S1. U0.5 W2.
or
G65 P9834 A45.005 D50.005 B2. E21. H0.2 M0.2 S1. U0.5 W2.
NOTES:
1. Updating a tool offset with the T input is possible only if O9811 is used for the P2
data. Otherwise a T INPUT NOT ALLOWED alarm results.
2. This cycle cannot be used in conjunction with the web/pocket cycle O9812.
3. Angles. The XY plane is with respect to the X+ axis direction. Use angles in the
range ±180°.
4. When G65 P9834 (without any inputs) is used, data is copied as follows:
from #135 to #130
#136 #131
#137 #132
#138 #133
#139 #134
Compulsory inputs
Aa a= The angle of P2 with respect to P1 when measured from the X+ axis
(angles are between ±180°).
(no inputs) This is used to store output data of the last cycle for P1 data.
Optional inputs
See Chapter 2, “Optional inputs”.
Outputs
See Chapter 3, “Cycle outputs”.
and either
G65 P9834 X50. Y28.867 M0.1 Incremental distance measurement with 0.1 mm
(0.0039 in) true position tolerance.
or
G65 P9834 A30. D57.735 M0.1
G65 P9834 X−50. H.2 Measure the distance −50 mm (−1.97 in).
P2
+Aa
Zz
+Zz
P1
+Dd
Z+
Y+
X+
NOTE:
Angles are in the range ±180°.
P1
Positive (+) angle: Counterclockwise direction.
+Aa
Negative (−) angle: Clockwise direction.
−Zz
P2
−Dd
Description
This is a no movement cycle that is used in conjunction with two measuring cycles to
determine feature-to-feature data.
Application
The first measuring cycle is run and the data is stored in variables #135 to #139 as normal.
Programming G65 P9834 without any inputs has the effect of copying the data from these
variables into variables #130 to #134 for P1.
Values for P2 are obtained by running a second measuring cycle which stores new data in
variables #135 to #139.
NOTE: The order of P1 and P2 is important because the data calculated is that of P2 with
respect to P1.
The feature-to-feature data is established by programming G65 P9834 with suitable inputs
after the second measuring cycle, to compare the data for P1 (in variables #130 to #134)
with the data for P2 (in variables #135 to #139).
Format
G65 P9834 Zz. [Ee. Ff. Hh. Mm. Ss. Tt. Uu. Vv. Ww.]
or
G65 P9834 Aa. Zz. [Bb. Ww.]
or
G65 P9834 Dd. Zz. [Bb. Ww.]
or
G65 P9834 (with no inputs)
Examples: G65 P9834 Z50. E21. F0.8 H0.2 M0.2 S1. T20. U0.5 V0.5 W2.
or
G65 P9834 A45.005 Z50. B2. W2.
or
G65 P9834 D50.005 Z50. B2. W2.
or
G65 P9834 (with no inputs)
NOTES:
1. Updating a tool offset with the Tt input is possible only if O9811 is used for the P2
data. Also the Aa and Zz and Dd and Zz inputs cannot be used when updating tool
offsets as this suggests an angled surface and a T INPUT NOT ALLOWED alarm
results.
2. Angles. These are with respect to the XY plane. Use angles in the range ±180°.
3. When G65 P9834 (without any inputs) is used, data is copied as follows:
from #135 to #130
#136 #131
#137 #132
#138 #133
#139 #134
Inputs
1. The +Dd/−Dd values should be used to indicate the direction of P2 with respect to
P1.
Zz input only
The +Zz/−Zz values should be used to indicate the direction of P2 with respect to P1.
Compulsory inputs
Zz z= The nominal incremental distance in the Z axis.
and
Aa a= The angle of P2 with respect to P1 measured from the XY plane
(angles are between ±180°).
Optional inputs
See Chapter 2, “Optional inputs”.
Outputs
See Chapter 3, “Cycle outputs”.
and either
G65 P9834 D27.474 Z−10. B.5 Measure the slope between points P2 and P1 with an
angle tolerance of ±0.5°.
or
G65 P9834 A−20. Z−10. B.5 Measure the slope of −20° (in the clockwise direction)
with an angle tolerance of ±0.5°.
Vv
Vv
− Control limit
Description
This cycle can be used in conjunction with measuring cycles to control the updating of tool
offsets. An update is based on the average value of a sample of measurements.
Application
A measuring cycle should be run with no tool offset update (Tt input). A component
tolerance (Hh input) can be used if required.
The SPC cycle should follow. An average value is accumulated until a specified
continuous sequence of values is outside the control limit. At this point the tool offset is
updated, based on the average value.
IMPORTANT: Before using this cycle, set the Mm store tool offsets to 0 on the offset
page.
Format
G65 P9835 Tt. Mm. [Vv. Cc. Ff. Zz.]
Compulsory inputs
Mm m= The spare tool offset pair that is used for storing the average value and
counter.
m = Accumulated average value store location.
m+1 = Counter store location.
Optional inputs
Cc c= The number of measurements that are out of tolerance before corrective
action is taken.
Default value: 3.
NOTE: This input is necessary only when using the Type C tool offset
option.
G65 P9814 D50. H0.5 Measure a bore to 0.5 mm (0.0197 in) tolerance.
G65 P9835 T30. M31. V0.1 C4. T30. = The tool offset number for updating.
M31. = Spare tool offsets pair (31 and 32).
V0.1 = Control limit.
C4. = Sequence of measurements that are out of
limit.
continue
NOTE: Dd
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise
direction.
Negative (−) angle: Clockwise direction.
Aa
Dd X+ (A0)
Yy
Y+
X+
Xx
Description
This cycle measures an X-axis or Y-axis surface at two positions to establish the angular
position of the surface.
Application
To provide a suitable start position, the stylus is positioned adjacent to the surface and at
the required Z-axis position. The cycle makes two measurements, symmetrically about
the start position, to establish the surface angle.
Format
G65 P9843 Xx. Dd. [Aa. Bb. Qq. Ww. Zz.]
or
G65 P9843 Yy. Dd. [Aa. Bb. Qq. Ww. Zz.]
Example: G65 P9843 X50. D30. A45. B0.2 Q15. W1. Z10.
Compulsory inputs
Dd d= The distance moved parallel to the X axis or Y axis between the two
measuring positions.
Optional inputs
Aa a= The nominal angle of the surface. Angles are in the range ±180° and
measured from the X+ axis direction. A positive angle is in a counter-
clockwise direction.
Default values: X-axis measuring 90°
Y-axis measuring 0°
Outputs
#139 The surface angle measured from the X+ direction.
Alarms
For details of the alarms, see Chapter 9, “Alarms and messages”.
45°
Y30
Y+
X+
X30
continue
G17
G68 G90 X0. Y0. R[#139] Rotate the co-ordinate system by the angle.
NOTE: The Renishaw probe cycles cannot be used while co-ordinate rotation is in force,
so use G69 to cancel co-ordinate rotation.
Chapter 9
When an error occurs during use of the Inspection Plus software, an alarm number or
message is generated. This may be displayed on the screen of the controller.
The meaning and likely cause of each alarm message that is displayed on the screen
of the controller.
It then describes typical actions you need to take to clear the fault.
General alarms
Format: #148 flag
1 (OUT*OF*TOLERANCE) Updates the offset if 1
1 (OUT*OF*POSITION) the cycle start button is 2
1 (ANGLE*OUT*OF*TOLERANCE) pressed to continue 4
1 (DIA*OFFSET*TOO*LARGE) 5
If alarm, this is a reset condition. Restart the program from a safe position.
Format: 1 (PROBE*STOP*FAILURE)
Cause: The probe stop cycle O9833 raised this error because it failed to switch the
probe off.
Action: Check if the correct switch-off sequence was added to the O9833 cycle.
If using a spin-off probe, check that the spindle speed override is not active and
that sufficient time has been allowed for the spindle speed to ramp up in O9833.
If #3000 alarm, this is a reset condition. Restart the program from a safe
position.
Cause: The probe start cycle O9832 raised this error because it failed to switch the
probe on.
Action: Check if the correct switch-on sequence was added to the O9832 cycle.
If using a spin-on probe, check that the spindle speed override is not active and
that sufficient time has been allowed for the spindle speed to ramp up in O9832.
Edit the program and start again from a safe start position.
Format: 91 (MESSAGE)
91 (FORMAT*ERROR)
91 (A*INPUT*MISSING)
91 (B*INPUT*MISSING)
91 (C*INPUT*MISSING)
91 (D*INPUT*MISSING)
91 (E*INPUT*MISSING)
91 (F*INPUT*MISSING)
91 (I*INPUT*MISSING)
91 (J*INPUT*MISSING)
91 (K*INPUT*MISSING)
91 (M*INPUT*MISSING)
91 (S*INPUT*MISSING)
91 (T*INPUT*MISSING)
91 (U*INPUT*MISSING)
91 (V*INPUT*MISSING)
91 (W*INPUT*MISSING)
91 (X*INPUT*MISSING)
91 (Y*INPUT*MISSING)
91 (Z*INPUT*MISSING)
91 (XY*INPUT*MISSING)
91 (XYZ*INPUT*MISSING)
91 (DATA*#130*TO*#139*MISSING)
91 (H*INPUT*NOT*ALLOWED)
91 (M*INPUT*NOT*ALLOWED)
91 (S*INPUT*NOT*ALLOWED)
91 (T*INPUT*NOT*ALLOWED)
91 (X0*INPUT*NOT*ALLOWED)
91 (Y0*INPUT*NOT*ALLOWED)
91 (IJK*INPUTS*5*MAX)
91 (SH*INPUT*MIXED)
91 (ST*INPUT*MIXED)
91 (TM*INPUT*MIXED)
91 (XY*INPUT*MIXED)
91 (ZK*INPUT*MIXED)
91 (XYZ*INPUT*MIXED)
91 (K*INPUT*OUT*OF*RANGE)
Action: Edit the program and start again from a safe start position.
Format: 86 (PATH*OBSTRUCTED)
Cause: The probe has made contact with an obstruction. This occurs only during a
protected positioning cycle.
Action: Edit the program. Clear the obstruction and start again from a safe position.
Format: 87 (UNEXPECTED*PROBE*TRIGGER)
Cause: This alarm occurs when the probe has triggered several times during a
monitored move without hitting a surface. The likely cause is machine vibration
being transmitted to the probe stylus. If this persists, it may be necessary to
contact a Renishaw representative for advice.
Action: Fix any issues and start again from a safe start position.
Format: 88 (NO*FEEDRATE)
Action: Edit the program. Insert the F___ code input and start again from a safe
position.
Format: 89 (NO*TOOL*LENGTH*ACTIVE)
Format: 92 (PROBE*ALREADY*TRIGGERED)
Cause: This alarm occurs if the probe is already triggered at the beginning of a
measurement move.
The stylus may be in contact with a surface or the probe has failed to reseat.
Action: Clear the fault and start again from a safe start position.
Format: 93 (PROBE*DID*NOT*TRIGGER)
Cause: This alarm occurs if the probe did not trigger during the move.
Either the surface was not found or the probe has failed.
Action: Edit the program and start again from a safe start position.
Cause: During probe calibration a trigger has taken place while the machine was
accelerating or decelerating, rendering the skip value invalid.
Action: Please calibrate on a ring gauge or calibration sphere where the clearances are
greater.
Cause: The three measurement errors in X, Y and Z must be found when setting a
rotated WCS.
Action: Ensure X, Y and Z errors are measured before a WCS update is applied.
Messages
Message: 1 (SET*P6201.1=1*CYC*START*TO*CONTINUE)
Cause: When optimising on a Fanuc controlled machine this parameter must be set. If
you are unable to change the parameter, abandon optimisation and go straight
to probe calibration.
Message: 1 (MF#100*ZPF#101*XYPF#102*CYC*START*TO*SAVE)
Message: 1(PROBE*CALIBRATION*REQUIRED*AFTER*OPTIMISATION)
Cause: Optimisation has been carried out, so the probe needs to be calibrated using the
new optimisation values.
Chapter 10
Configuration
This chapter contains setting information and details about the program variables used in the
Inspection Plus software.
Sections in this chapter that apply to SupaTouch optimisation only are marked with
the superscript ST.
General
In general, this software is self-configuring and, apart from special applications, will run “out
of the box”, provided the installation wizard was used to prepare the software correctly. Once
the optional optimisation cycle and calibration cycle are completed for the first time, the
cycles are ready to use. However, further manual customisation of the settings is possible.
The following configuration information will be of use in this regard.
Installation wizard
This software is supplied with an installation wizard that can be launched from any PC
running Windows® XP (or later versions) and will configure the software for the machine,
creating machine-specific and personal customisation prior to installing the software.
NOTE: Configuring the software for more than one probe is not recommended unless
necessary, owing to the additional code overhead and the requirement for additional
variables for probe data storage. In principle, it is possible to support more than four probes.
If this is necessary, consult a Renishaw representative for advice on how to do this.
Edit program O9724 to enable multi-probe applications (see “Editing the settings
program O9724”).
Edit program O9732. This sets the variable base number #111 for each probe – each
requires its own data storage variables. See “Multiple probe settings in O9732”.
Edit cycle O9832. Individual probe start sequences can be set up using programs
O9712, O9713 and O9714. See “Editing the probe start cycle O9832”.
Edit cycle O9833. Individual probe stop sequences can be set up using programs
O9712, O9713 and O9714. See “Editing the probe stop cycle O9833”.
The programs provide alternative probe start and stop methods and independent overtravel
limit settings for each probe (used during optimisation).
NOTE: If all probes use the same start and stop method, no individual code is required, so
the standard cycles O9832 and O9833 can be used for all probes.
Cycles O9832 and O9833 must be modified to call up programs O9712, O9713 and O9714
(see “Editing the probe start cycle O9832” and “Editing the probe stop cycle O9833”).
Details of the start/stop code changes required for these cycles are similar to those outlined
for O9832 and O9833.
The Fanuc i Series controller supports both #3006 messages and #3000 alarms.
The #30 setting near the top of program O9700 controls the alarm/message type. When
3006 is selected, a mix of #3000 and #3006 messages and alarms is output, depending on
which method is best for each alarm or message. Using the setting #30=3006 is the
preferred choice – only change this if #3006 is not supported or for specific application
preference.
#3000 alarms will need a program reset to start the program again.
#3006 messages will allow the cycle to continue if the cycle start button is pressed.
Fast machining or smoothing control options can cause block read-ahead problems when
running a cycle. Read-ahead control, in the form of G53, is resident in program O9723. This
program is called at strategic positions within the cycles. If further code is required to
suppress read ahead, add it to this program.
Examples of changes:
Use G31 instead of G53. The read-ahead control is performed with the G53 command,
but G31 can also be used (if using G31, it may also require a feedrate, for example
G31 F1).
Add a dwell, for example, G4 X.1 (or G4 P100). Sometimes adding a small pause can
help resolve spurious behaviour, but excessive dwells will impact on overall cycle time.
It is also possible to add M98 P9723 program calls within the software at strategic
positions.
CAUTION: Before editing, see the full list of variables in the section “Use of variables” later in
this chapter, check the availability of free variables and consider other installed software
variable requirements.
#111=500(BASE*NO) The variable base number defines the first variable number in the
range of variables used for storing setting data and probe
calibration data.
NOTE: When selecting the machine controller types on Fanuc 0, 16, 18-21, 0i, 3x (i Series),
check the machine parameter setting 6000.3 (V15). This could be set to either of the
following:
It is expected that the settings to enable “flag only” alarms will suit FMS machining cells
where the requirement is to run unmanned. The process error flag #148 will be set and it
should be monitored after the relevant probe cycles for corrective action.
Example
G65 P9812 X30. H0.2 Set the tolerance on the measured size.
GOTO1000
N999 G65 P5001 Pallet change. This changes the pallet to select the next
component for machining (details are machine-dependent).
N1000
M30
Multiple probes are not enabled as standard, but can be activated by deleting the GOTO1
line or commenting it out by enclosing it in brackets.
This will enable the use of multiple probes, but further settings will be required elsewhere
(see “Multiple probe support” in this chapter).
#113=#113*.5
#119=#119*.5
This is an in-position checking tolerance used within the software to validate a protected
positioning or measuring move within the software. Typically, a PROBE*ALREADY*
TRIGGERED, PROBE*DID*NOT*TRIGGER or UNEXPECTED*PROBE*TRIGGER alarm
may result from this test.
Edit the metric (.05) and inch (.002) values as a pair to the required new tolerance.
NOTE: The following only applies when the optimisation cycle (O9800) has not been used
and measuring cycles use the standard two-touch measurement method.
This is used to control the back-off distance in the basic move before the final gauging move.
It should be fine-tuned on installation to suit the machine.
A default value of 0.25 is installed by the software. The actual factor should normally be
between 0 and 1. Reduce the value to reduce the back-off distance.
NOTE: The following only applies when the optimisation cycle (O9800) has not been used
and measuring cycles use the standard two-touch measurement method.
A default value of 5000 is installed by the software. The actual feedrate should be set
between 1000 and 10000. This can be adjusted accordingly.
Note 1 High measuring feedrates can cause the probe to unintentionally trigger as it moves
towards the target surface. Robustness against false trigger events can be
improved by increasing the #29 value.
Note 2 Dwell or wait between the fast first touch and second probing touch. For kinematic
probes (such as OMP40 or OMP60) the value should be 0.1, and for RENGAGE
probes (such as OMP400 or OMP600) the value should be 0.3.
Note 3 Optimisation calculates the back-off distance and further adjustment should not be
necessary. However, #33 provides a further opportunity to increase or decrease the
back-off distance after the first probing touch.
(*TOOL*OFFSET*SETTING)
#27=2000(L*WEAR*2000/10000)
#28=2200(L*GEOM*2200/11000)
#29=2600(R*WEAR*2600/12000)
#30=2400(R*GEOM*2400/13000)
Tool offset setting 200 tool offsets or less More than 200 tool offsets
NOTE: Check the system variable numbers on the machine. It has been known for the wear
and geometry registers to be swapped between controller models. This can easily be verified
on the machine as follows:
Enter a value for tool offset 1 geometry and wear or make a note of the existing values.
#100=#2001
#101=#2201
Check the #100 and #101 values – it will be clear which setting to use.
(POSITION*SPDL*AT*0*OR*180)
..
M00(180*SPDL*POS) See note 1.
Note 1 Modify this line of code – for example to M119(180*SPDL*POS) – or replace it with
several lines of code if necessary.
NOTE: Keep the comment (180*SPDL*POS) as a marker to quickly locate this section again
if required.
(-->USER*M/C*START*CODE)
(<*ADD*M/C*START*CODES*HERE) See note 1
(<--USER*M/C*START*CODE)
Note 1 This is where machine-specific code can be placed. Multiple lines can be added if
necessary.
Change the setting on this line in the program (mid-way down) to the setting required.
If the probe start code is reliable, it may be possible to improve cycle time by omitting the
built-in retries loop. However, when the same M-code is used to switch the probe ON and
OFF, the status checking is required to ensure the probe is on before continuing. This also
applies to spin ON/OFF probes.
(-->*PROBE*ON)
M00(PROBE*ON) See note 1
G4 X2.0(PROBE*DWELL)
(<--*PROBE*ON)
Note 1 Add the relevant probe ON code. You can use multiple lines comprising M-codes
and dwells (G4 Xxx) as required.
NOTE: If all probes use the same start and stop method, no individual code is required, so
do not delete (see note 1).
(*)
GOTO5(<DELETE*TO*ENABLE*MULTI*PROBES) See note 1
()
Note 1 To activate multiple probes, either delete the GOTO5 line or comment it out by
enclosing it in brackets.
()
#30=#0(H*OFFSET*NO*PROBE*2) See note 1
#111=530(PROBE*2*BASE*NO) See note 2
#30=#0(H*OFFSET*NO*PROBE*3) See note 1
#111=760(PROBE*3*BASE*NO) See note 2
#30=#0(H*OFFSET*NO*PROBE*4) See note 1
#111=572(PROBE*4*BASE*NO) See note 2
Note 1 For each additional probe, define a probe offset (H) number. Any left set at #30=#0
will not be used.
Note 2 For each additional probe, define a variable base number #[#111] (allow 20
variables per probe).
CAUTION: Do not overlap the multi-probe variable ranges or variables used for other
purposes – the software does not check this.
Change the setting on this line in the program (near the top) to the setting required.
If the probe stop code is reliable, it may be possible to improve cycle time by omitting the
built-in retries loop. However, when the same M-code is used to switch the probe ON and
OFF, the status checking is required to ensure the probe is on before continuing. This also
applies to spin ON/OFF probes.
(-->*PROBE*OFF)
M00(PROBE*OFF) See note 1
(<--*PROBE*OFF)
Note 1 Add the relevant probe OFF code. You can use multiple lines comprising M-codes
and dwells (G4 Xxx) as required.
NOTE: If all probes use the same start and stop method, no individual code is required, so
do not delete (see note 1).
()
GOTO4 (<DELETE*TO*ENABLE*MULTI*PROBES) See note 1
()
Note 1 To activate multiple probes, either delete the GOTO4 line or comment it out by
enclosing it in brackets.
(-->USER*M/C*STOP*CODE)
(<*ADD*M/C*STOP*CODES*HERE) See note 1
(<--USER*M/C*STOP*CODE)
Note 1 This is where machine-specific code can be placed. Multiple lines can be added if
necessary.
CAUTION: Always check with the machine tool builder about what active modal data should
remain active after running the probing cycles.
P6201.1=1 (SEB) The skip value is automatically compensated for machine servo errors
to record the actual position.
The following parameter setting is known to give issues with previous software versions:
CAUTION: Seek machine tool builder advice if in doubt about this parameter. It may not be
applicable for all machines and may rely on other parameter settings and machine options.
Failure to re-enable this parameter setting after probing could lead to machining issues.
P2005.1=0 (FEED) If this is set to =1, severe bumping can occur during probing moves.
This parameter bit must be set for each axis – X, Y and Z. If the high-
speed machining option is not used, it may be possible to turn this
parameter off, otherwise it will be necessary to turn it off just for
probing and then back on afterwards, under program control.
Example
How to use M-codes to apply and cancel the parameter for feed forward (parameter
P2005.1) for the X, Y and Z axes.
PARAMETER 6078=91
PARAMETER 6079=92
Use of variables
Local variables
#1 to #32 These are used within each program as required for such things as
calculation.
Common variables
#100 to #110 Stored calibration data for the 5-point rectangle cycle O9817.
#111 Calibration base number variable used for storing probe data.
#112 Active vector radius used in cycles O9821, O9822 and O9823.
#113 Z fast positioning feedrate (in the units of the machine). This is read in
from the #[#111+9] value (mm/min) and the units converted.
#117 Reserved.
#118 RADIUS TOO LARGE flag in cycles O9812, O9814, O9822 and O9823
(also used for a temporary ATAN store in program O9731).
#119 XY fast positioning feedrate (in the units of the machine). This is read in
from the #[#111+9] value (mm/min) and the units converted.
#122 Print option. The feature number is incremented by 1 with each print
program call. To reset, state #122 = 0.
#123 Start and end of block position zone. The normal setting is 0.05 mm
(0.002 in). If the skip position is within this zone, the cycle aborts, with
either a PROBE ALREADY TRIGGERED or PROBE DID NOT
TRIGGER alarm.
#124 Stored X skip position at the end of the basic move cycle (O9726).
#125 Stored Y skip position at the end of the basic move cycle (O9726).
#126 Stored Z skip position at the end of the basic move cycle (O9726).
#127 X average skip position at the end of the X diameter move cycle
(O9721).
#128 Y average skip position at the end of the Y diameter move cycle
(O9722).
#130 to #134 Saved output data for the first feature when using the feature-to-feature
measurement cycle (O9834). The second feature output data is stored
in common variables #135 to #139.
CAUTION: It is a feature of this software that all unit-dependent probe data is stored in
millimetres, regardless of the current machine units. When this data is read, it is converted as
required to suit the active machine units. This differs from previous versions of Renishaw
inspection software.
#[#111+5] (FLAG) Software status flag used for internal setting and monitoring of
the cycles.
#[#111+10] (30°)
#[#111+11] (60°)
#[#111+12] (120°)
#[#111+13] (150°) (VRAD) Vector calibration data storage.
#[#111+14] (210°)
#[#111+15] (240°)
#[#111+16] (300°)
#[#111+17] (330°)
#[#111+n] to #[#111+(n+20)] Multiple probe calibration data. Additional sets of probe data
(#[#111+0] to #[#111+19]) must be defined for each probe
(three sets maximum). The actual variables available are the
limiting factor and this depends on the controller options
fitted. See “Multiple probe support”.
Chapter 11
General information
This chapter contains general information and reference material that is relevant to the
Inspection Plus software package.
Considerations when using vector cycles O9821, O9822 and O9823 .......................... 11-5
Use of 3-point bore/boss cycle (O9823) ................................................................. 11-5
Effect of vector calibration data on results ............................................................. 11-5
Tolerances
Inputs Uu, Hh and Vv apply to the size and tool offset updates only.
Uu e
c
Hh d
Vv
b a
a = Nominal size.
b = Null band. This is the tolerance zone in which no tool offset adjustment occurs.
Also see the SPC cycle (O9835) in Chapter 8, “Additional cycles”, which can be used as
a modified method for the feedback of tool offset corrections. Use this instead of input Ff.
Axis
Axis ofofdatum
datum Possible
Possible axes
True position
True position
Tolerance 0.1
Tolerance
(Mm input)
(Mm input)
Experience values Ee
The measured size can be adjusted by an amount stored in a spare tool offset.
Example
G65 P9814 D40. T20. E21. The experience value stored in tool length offset 21 will
be added to the measured size.
E1 to En
E201 to E20n
E601 to E60n
From the table, you can see that you should add either 200 or 600 to the tool offset
number.
These additional tool offset registers can safely be used for both Ee experience values
and also with the SPC cycle O9835 Mm input provided. The tool offset number is not
used as a normal tool offset location.
NOTE: Additional “/” characters are included for use as a delimiter, allowing easy loading
of the results into a spreadsheet if required.
Example: #121 = 1
#122 = 1
The accuracy of the result deteriorates if the minimum conditions are not followed.
NOTE: In order to acheive the highest possible accuracy, always use the standard
bore/boss measuring cycle (O9814) where practical.
74 A
72 70 B
C
G65 P9810 Z84. F3000. Protected positioning move to the start position.
G65 P9811 Z70. Single surface measurement (target C surface).
IF[#137GT73.]GOTO100 If the result is greater than 73, go to N100.
IF[#137GT71.]GOTO200 If the result is greater than 71, go to N200.
IF[#137GT69.]GOTO300 If the result is greater than 69, go to N300.
GOTO400
N100(PROGRAM TO MACHINE A)
continue “A” component
GOTO400
N200(PROGRAM TO MACHINE B)
continue “B” component
GOTO400
N300(PROGRAM TO MACHINE C)
continue “C” component
N400
M30
%
O5000(PART PROGRAM)
#100=0 Reset the counter.
#101=5 Count limit.
N1
(START OF MACHINING)
conventional part programming
N32
(START OF PROBE ROUTINES)
IF[#100LT#101]GOTO33 If the counter is less than 5, go to N33.
T01 M06 (PART INSPECTION) Select the inspection probe.
probing routines
#100=0 Reset the counter to zero.
N33
(CONTINUE MACHINING OR END)
#100=#100+1 Increment the counter.
rest of the machining program
M99 P1 Return to N1.
M30
%
Measure N10
Y If error flag N
#149 NE 0 If U input
If #149 Y N If size
If E input
NE 2 error
N11
Output variables
Flag #148 = 3
#135 to #149 If size N
error
Upper
tolerance
Print data to exceeded
RS232 port If flag only Y #3006
#120AND4
=4
N10 END
If size N
error
Out of
tolerance
#3006
N13
N N N
If M input If T input If S input
Y
Flag #148 = 2 If F input END
Out of N
If radius is
position
too large
#3006
If flag only Y
#120AND4
=4
Out of
tolerance
#3006
N19
Appendix A
Measurement of internal and external features to determine both size and position.
This includes:
Measurement of external and internal corners for corner surfaces which may not be
parallel to an axis.
Software option to turn off the tolerance alarms and provide a flag-only alarm.
Suitable for flexible manufacturing systems (FMS) and unmanned applications.
Built-in stylus collision and false trigger protection for all cycles.
Cycles
Protected positioning.
Measurement:
Web/pocket.
5-point rectangle.
Vectored measurement:
3-point bore/boss.
Angled web/pocket.
Additional cycles:
Bore/boss on a PCD.
Stock allowance.
Feature-to-feature data.
Limitations
General
The probe cycles will not run if “mirror image” is active.
Cannot support multiple probes unless a controller option for more variables is
installed.
Fanuc 6M controller
This controller is no longer supported.
Fanuc 0M controller
Limitations
Cannot support multiple probes unless a controller option for more variables is
installed.
Cannot support multiple probes unless a controller option for more variables is
installed.
Appendix B
These alternative calibration cycles are available to maintain backwards compatibility and
flexibility.
NOTE: This cycle should be used only if the machine has spindle orientation for the 180°
positioning.
Mm
Z
Y
Description
This cycle is used to position the spindle centre on the centre line of the calibration
feature.
Application
Prepare a program to position the probe stylus in the feature approximately on the centre
line and at the required depth. Run the cycle to complete the measuring sequence with
spindle orientation included. The cycle finishes with the spindle on the centre line.
Alternatively, if your machine retains the tool offset at all times, the cycle can be run
directly from the MDI screen without writing a program.
Format
G65 P9801 K0. Dd. Bb. M180. [S1. Zz.]
Compulsory inputs
K0. The mode for centring only.
M180. M180. is used as a flag to orient the probe to a second spindle position
(180°). This is used to automatically find the centre of the feature, and
means that only approximate pre-positioning is required. Alternatively,
an M3. input (rotating spindle) can be used – see “Notes on using the
M180./M3. input” at the beginning of Chapter 5, “Probe calibration and
SupaTouch optimisation”.
Optional inputs
Zz z= The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, a bore cycle is assumed.
Outputs
The spindle is centred on the reference feature.
Example
Centre on a ring gauge.
O0001
G65 P9801 K0. D30. M180. Measure moves to find the centre (includes 180° positioning).
#503
1 2
#502
Zz
3
Y
NOTE: This figure assumes that the default
Dd calibration base number is set to 500.
X
Description
The probe stylus is positioned inside a pre-machined hole at a height suitable for
calibration. When this cycle is completed the stylus offset amounts in the X and Y axes
are stored.
Application
Machine a hole with a suitable boring bar so that the exact centre of the hole is known.
With the spindle orientation active, position the stylus to be calibrated inside the hole and
the spindle on the known centre position.
NOTE: If spindle 180° orientation positioning is available, use the Mm input to avoid
accurate pre-positioning before running the cycle or boring a hole.
When the cycle is run, measuring moves are made to determine the X offset and Y offset
of the stylus. The probe is then returned to the start position.
Format
G65 P9801 K2. Bb. Dd. [M180. Zz.]
Compulsory inputs
K2. The flag to set the stylus offsets.
Optional inputs
M180. M180. is used as a flag to orient the probe to a second spindle position
(180°). This is used to automatically find the centre of the feature, and
means that only approximate pre-positioning is required. Alternatively, an
M3. input (rotating spindle) can be used – see “Notes on using the
M180./M3. input” at the beginning of Chapter 5, “Probe calibration and
SupaTouch optimisation”.
Outputs
The following data is stored (this assumes that the default calibration base number is set
to 500):
Set the exact X, Y and Z feature positions in a work offset (this example uses G54).
O0002
G65 P9810 Z−5. F3000. Protected positioning move into the hole.
G65 P9801 K2. B6. D50. Calibrate in a 50 mm (1.97 in) diameter bored hole with a
6 mm (0.236 in) diameter stylus.
G65 P9810 Z100. F3000. Protected positioning move retract to 100 mm (3.94 in).
NOTE: It is possible to use K−3. (or K−4., not illustrated) to prevent the stylus offsets from
being set, but otherwise they perform the same operations as either K3. or K4. shown in
Chapter 5, “Probe calibration and SupaTouch optimisation”. If you intend using the vector
measuring cycles (O9821, O9822 or O9823) later, choose the K4., K−4. option to include
vector radii calibration.
#500
1 2
5
6
#501
3
Zz
Y
NOTE: This figure assumes that the default
Dd calibration base number is set to 500.
X
Description
This cycle is used to calibrate the stylus radius values only, whereas using K3. includes
setting the stylus offsets. Otherwise, the use and operation of both cycles is similar.
Application
Clamp a calibrated ring gauge on the machine table at an approximately known position.
With spindle orientation active, position the stylus to be calibrated inside the ring gauge on
the approximate centre position.
When the cycle is run, six moves are made to determine the radius values of the stylus
ball. The probe is then returned to the start position.
Alternatively, if your machine retains the tool offset at all times, the cycle can be run
directly from the MDI screen without writing a program.
Format
G65 P9801 K−3. Bb. Dd. [Zz.]
Compulsory inputs
K−3. Calibrate the radius of the stylus ball.
Optional input
ZZ z= The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, a ring gauge cycle is assumed.
Outputs
The following data is stored (this assumes that the default calibration base number is set
to 500).
Set the approximate X, Y, Z feature positions in a work offset (this example uses G54).
O0003
G65 P9810 Z−5. F3000. Protected positioning move into the hole.
G65 P9801 K−3. B6. D50. Calibrate in a 50 mm (1.97 in) diameter bored hole with a
6 mm (0.236 in) diameter stylus.
G65 P9810 Z100. F3000. Protected positioning move retract to 100 mm (3.94 in).
Appendix C
Machine configurations
Multi-axis machines are considered to be those with XYZ linear axes and one or more
rotary axes. Generally, a multi-axis machine will fall into one of the following configuration
types:
Head/head
Table/table
Head/table
Z
Z
Y
Y
X
X
If your machine configuration does not follow one of these, then this software may not
function correctly. Please contact your local Renishaw representative for further support.
Multi-axis commands
There are many 3+2 or 5-axis commands available on Fanuc controllers, the most
common of which are detailed on the following pages.
Renishaw Inspection Plus software can work with some of these functions active. The
functionality of the Renishaw cycles is dependent on the feature co-ordinate system (FCS)
in relation to the tool posture.
Alignment of the tool posture to the active FCS can be achieved using functions such as
G53.1 or G53.6 or by using manual positioning methods.
Below is a diagram explaining the meaning of some of the terms which will be referred to
in the following pages.
Z
Workpiece Y
co-ordinate
system (WCS)
Z
Z X
Tool aligned to FCS
Y Y (tool posture)
Feature
co-ordinate
X system (FCS) X
Machine
co-ordinate
system (MCS)
NOTE: The following pages give an overview of typical 3+2 or 5-axis functions. However,
a detailed explanation of these functions is not given, so prior knowledge is required if
using them to fully implement probing routines.
Z
Workpiece Y
co-ordinate
system (WCS)
Z Z
(G54) X
Y Y
Feature
Machine X co-ordinate X
system (FCS)
co-ordinate
(G68.2)
system (MCS)
The TWP functions are cancelled using a G69 command. This reactivates the original
WCS.
Renishaw cycles will give correct measurement data with these cycles active, if the tool
posture is aligned to the Z of the FCS. Setting of a rotated WCS is also available.
Example
This function is usually used when a component has been programmed using a CAM
system. The program is created with the component in a known position in the machine. If
the component is not located in the machine in the exact location where the CAM system
programmed the part, then the output will be incorrect.
The G54.2 function allows a part to be mispositioned, with the error from the original to
the new position input into G54.2. The original program then can be still run.
Z
Y
MCS Z
X
Y
WCS of X
originally Z Y
programmed
component Location error X
input into G54.2
The DFO functions are cancelled using a G54.2 P0 command. This reactivates the
original WCS.
The original WCS and the G54.2 error values must be correctly set up prior to running any
probing cycles.
Renishaw cycles will give correct measurement data with these cycles active, if the tool
posture is aligned to the Z of the FCS. Setting of a G54.2 is also available.
Example
The original WCS and the G54.2 error values must be correctly set up prior to running any
probing cycles.
Renishaw cycles will give correct measurement data with these cycles active, if the tool
posture is aligned to the Z of the FCS.
NOTE: Setting of a G54.4 is not currently available with this Renishaw Inspection Plus
software.
This type of programming is created by using a CAM system, therefore there can be many
different approaches, formats and set-ups for obtaining the correct output.
Interpolation
path
Probing can be possible when using TCP functions, however, this can only be achieved if
the Z of the active co-ordinate system is aligned to the tool posture. This is often not the
case, as CAM systems program using the initial WCS and translate and rotate around
this.
An in-depth knowledge of these TCP full 5-axis functions and machine set-up is required
to be able to implement probing routines.
NOTE: This Renishaw Inspection Plus software is not a generic package to suit any type
of probing in TCP mode. For further details and support, please contact your local
Renishaw representative.
Parameters
The following parameters need to be set when using this Inspection Plus software.
CAUTION: Any parameter changes may affect the functionality of other systems on the
machine. Confirm any parameter changes prior to use. Existing Renishaw installations
(such as tool setters and lasers) may be affected by parameter changes owing to how tool
lengths are applied and calculated in the software.
The following parameters are only available on Fanuc Series 30i controllers and above.
Parameter P5400.5 = 1
Set P5400 bit 5 to 1. This allows the co-ordinates of the skip position (#5061 to #5063)
and current position (#5041 to #5043) to be read in the active feature co-ordinate system
(FCS).
With parameter P5400.5 set to 1, the Z of the FCS will always be aligned to the probe
centre line.
Parameter P6019.4 = 1
With P6019 bit 4 set to 1, the current tool length is added to the co-ordinates of the skip
position (#5061 to #5063) and current position (#5041 to #5043). This allows the end of
the probe to be the controlled and measuring point.
NOTE: If parameter P6019.4 is set to 1, then #116 in O9723 needs to be set to 0. #116=0
will mean no tool length is added to any Z measurements.
Z
Y
WCS e.g. G55
Z X Z
Y Y
FCS – WCS to be
X
set using error X
MCS measured in FCS
Renishaw provides a solution to enable the update of a WCS by identifying the active FCS
rotation and “back calculating” the errors.
The Renishaw solution consists of two parts, the first one of which is the “Identity move”.
The data from the Identity move obtained here is used for further calculations in the WCS
updating.
The Identity move is not required on the following Fanuc controllers, as the Identity data is
supplied using system variables:
NOTE: Rotated WCS updates are directly related to machine tool performance.
Inaccuracies in machine tool alignments and axis rotation centres will directly affect the
tracking and updating of WCS positions.
CAUTION: Updating the extended WCS while the rotated WCS setting is active is not
supported on Meldas controllers.
Calculations
To calculate the FCS errors into the MCS for setting the WCS, three errors in X, Y and Z
are required.
The X, Y, Z errors are automatically stored within the macros when running measuring
cycles. These errors are then used for rotated WCS setting when required. The stored
error values are cleared when a rotated WCS is set.
The calculation method requires the three errors (X, Y, Z) to be present before the Identity
move, and so WCS, can be set.
NOTE: The three measurement errors in X, Y and Z must be found when setting a rotated
WCS. Failure to achieve this will result in an alarm.
This program identifies the active FCS rotation by making a small Identity move. From the
resulting data, the measured errors are calculated back into the MCS for correct WCS
setting or updating.
O9744 (REN*FCS*TO*MCS)
*** edit 1 Adjust this value if the move causes the probe stylus to collide during the
Identity move.
NOTE: Reduction of this value may decrease the accuracy of the WCS
calculation.
NOTE: Reduction of this value may increase the cycle time of the Identity
move.
X = #5041
Y = #5042
Z = #5043
A = #5044
C = #5045
Table/table configuration
Set the system variables for the rotary axis workpiece co-ordinate positions in #1, #2 and
#3. If there is no axis, then a setting of ‘0’ is required.
Example AC machine
Head/table configuration
Set the system variables for the rotary axis workpiece co-ordinate positions in #1, #2 and
#3. If the rotary axis is a ‘HEAD’ type, then the setting is ‘0’. If there is no axis, then a
setting of ‘0’ is required.
Example BC machine
Head/head configuration
No settings are required in O9744 for a head/head type machine.
Program example
T01 M06 Select the probe.
G68.2 X0. Y0. Z0. I0. J45. K0. Plane rotated by 45°.
G65 P9810 X0. Y0. Z10. F3000. Protected positioning move over the centre of the boss
clear of the Z surface.
G65 P9814 D50. Z−10. S2 Measure a 50.0 mm (1.968 in) diameter boss. (X, Y
error stored. G55 set using X, Y, Z errors in rotated
calculations.)
G69
continue
The centre line of the feature in the X and Y axis and Z surface is stored in work offset 02
(G55).
*H-5755-8600-04*