0% found this document useful (0 votes)
2K views148 pages

Inspection Plus Software For Okuma OSP U100, P100, P200, P300 and E100 Controllers

renishaw

Uploaded by

RUBEN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views148 pages

Inspection Plus Software For Okuma OSP U100, P100, P200, P300 and E100 Controllers

renishaw

Uploaded by

RUBEN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 148

Programming manual

H-2000-6550-0D-A

Inspection Plus software for Okuma OSP


U100, P100, P200, P300 and E100 controllers
© 2008–2019 Renishaw plc. All rights reserved.

This document may not be copied or reproduced in whole or in


part, or transferred to any other media or language, by any means,
without the prior written permission of Renishaw.

The publication of material within this document does not imply


freedom from the patent rights of Renishaw plc.

Disclaimer

RENISHAW HAS MADE CONSIDERABLE EFFORTS TO ENSURE


THE CONTENT OF THIS DOCUMENT IS CORRECT AT THE
DATE OF PUBLICATION BUT MAKES NO WARRANTIES OR
REPRESENTATIONS REGARDING THE CONTENT. RENISHAW
EXCLUDES LIABILITY, HOWSOEVER ARISING, FOR ANY
INACCURACIES IN THIS DOCUMENT.

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.

Renishaw part no: H-2000-6550-0D-A

Issued: 04.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 .......................................................................................................................................
.............................................................................................................................................................................
.............................................................................................................................................................................

RENISHAW HARDWARE RENISHAW SOFTWARE


Inspection probe type ............................................ Inspection software media .............................................
Interface type ......................................................... ........................................................................................
........................................................................................
Tool setting probe type .......................................... Tool setting software media ...........................................
Interface type ......................................................... ........................................................................................
........................................................................................

SPECIAL SWITCHING M-CODES (OR OTHER) WHERE APPLICABLE

Dual systems only


Switch (Spin) probe on .......................................... Switch on inspection probe ............................................
Switch (Spin) probe off .......................................... Switch on tool setting probe ..........................................
Start/Error signal .................................................... Other ..............................................................................
........................................................................................

ADDITIONAL INFORMATION Tick box if Form 2 overleaf


has been filled in.

Customer's name ..........................................................................


Customer's address ....................................................................... Date installed ........................................
........................................................................................................
........................................................................................................ Installation engineer ..............................
........................................................................................................
Customer's telephone no ............................................................... Date of training ......................................
Customer's contact name ..............................................................
Form 2
SOFTWARE DEVIATION RECORD

Standard Renishaw kit no. Software media nos.

Reason for deviation

Software no. and cycle no. Comments and corrections

The software product for which these changes are authorised is subject to copyright.

A copy of this deviation sheet will be retained by Renishaw plc.

A copy of the software amendments must be retained by the customer – it cannot be retained by
Renishaw plc.
Cautions i

Caution – software safety


The software you have purchased is used to control the movements of a machine tool. It
has been designed to cause the machine to operate in a specified manner under operator
control, and has been configured for a particular combination of machine tool hardware
and controller.

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.

Caution – programming manual compatibility


This programming manual covers installations where SupaTouch optimisation has taken
place and also installations where optimisation is not required and customers use the
standard Inspection Plus feedrates and two-touch measuring technique.

Any text that is specific to SupaTouch optimisation is marked with the superscript ST.

Publication No. H-2000-6550


ii Example code format

Example code format


Code examples contained within this document are shown with spaces separating each
input of the program call. It is a requirement that these spaces be included.

For example, the following code:

CALL O9814 PD=50.005 PZ=100. PE=21. PF=0.8 PH=0.2 PM=0.2 PQ=10. PR=10.
PS=1. PT=20. PU=0.5 PV=0.5 PW=2.

May NOT be entered as:

CALLG65P9814PD=50.005PZ=100.PE=21.PF=0.8PH=0.2PM=0.2PQ=10.PR=10.PS=1.
PT=20.PU=0.5PV=0.5PW=2.

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.

Publication No. H-2000-6550


Contents iii

Contents
Before you begin
About the Inspection Plus software .................................................................................... 1
About this manual ............................................................................................................... 1
Measurement values used in this manual .......................................................................... 2
Associated publication ........................................................................................................ 2
Software kit part no. A-4016-1035 ...................................................................................... 2
Memory requirements ......................................................................................................... 3
RENSP.SSB ................................................................................................................ 3
REN-GOPROBE.LIB ................................................................................................... 3
Use of inch/mm units .......................................................................................................... 3
Renishaw customer services .............................................................................................. 4
Calling Renishaw ................................................................................................................ 4

Chapter 1 Installing the software


Installing the software ...................................................................................................... 1-2
Configuration of the software .................................................................................... 1-2
Installation of the software ........................................................................................ 1-2

Chapter 2 Optional inputs


Optional inputs ................................................................................................................. 2-2

Chapter 3 Cycle outputs


Cycle outputs (table 1) ..................................................................................................... 3-2
Cycle outputs (table 2) ..................................................................................................... 3-3

Chapter 4 Protected positioning cycle


Protected positioning (probe trigger monitoring) (O9810) ............................................... 4-2

Chapter 5 Probe calibration and SupaTouch optimisation


SupaTouch optimisation cycle ......................................................................................... 5-2
If SupaTouch optimisation is not required ....................................................................... 5-2
Why calibrate a probe? .................................................................................................... 5-2
Calibrating the stylus offset.............................................................................................. 5-3
Calibrating the stylus radius ............................................................................................. 5-3
Calibrating the probe length............................................................................................. 5-3
Calibration cycles – an overview ..................................................................................... 5-4
SupaTouch optimisation cycle (O9800) ........................................................................... 5-5
Calibrating the probe length (O9801 PK=1.) ................................................................. 5-10
Calibrating the stylus ball offsets and radii (O9801 PK=4.) ........................................... 5-12
Calibrating on a reference sphere (O9801 PK=5.) ........................................................ 5-15

Publication No. H-2000-6550


iv Contents

Chapter 6 Standard measuring cycles


XYZ single surface measurement (O9811) ..................................................................... 6-2
Web/pocket measurement (O9812)................................................................................. 6-4
Bore/boss measurement (O9814) ................................................................................... 6-7
Finding an internal corner (O9815) ................................................................................ 6-10
Finding an external corner (O9816) ............................................................................... 6-13
5-point rectangle (O9817) external feature .................................................................... 6-16
5-point rectangle (O9817) internal feature ..................................................................... 6-19
Probe start (O9832) ....................................................................................................... 6-22
Probe stop (O9833) ....................................................................................................... 6-24

Chapter 7 Vector measuring cycles


Angled surface measurement using the PA= and PD= inputs (O9821) .......................... 7-2
Angled surface measurement using the PX=, PY=, PZ= inputs (O9821) ....................... 7-4
Angled web or pocket measurement (O9822) ................................................................. 7-7
3-point bore or boss measurement (O9823) ................................................................. 7-10

Chapter 8 Additional cycles


4th axis measurement (O9818) ....................................................................................... 8-2
Bore/boss on PCD measurement (O9819) ...................................................................... 8-7
Stock allowance (O9820) ............................................................................................... 8-10
Storing multi-stylus data (O9830) .................................................................................. 8-14
Loading multi-stylus data (O9831) ................................................................................. 8-16
Determining feature-to-feature data in the XY plane (O9834) ....................................... 8-18
Determining feature-to-feature data in the Z plane (O9834) ......................................... 8-22
Updating the statistical process control (SPC) tool offset (O9835) ............................... 8-26
Angle measurement in the X or Y plane (O9843) .......................................................... 8-28

Chapter 9 Alarms and messages


General alarms ................................................................................................................ 9-2
Messages ......................................................................................................................... 9-6

Chapter 10 Configuration
General .......................................................................................................................... 10-2
Editing the settings program O9724 .............................................................................. 10-2
Setting VS60 (ALARM SETTINGS) ........................................................................ 10-2
Setting VS53 and VS54 (PROBE ON/OFF COMMANDS)..................................... 10-3
Setting VS52 (REPORTER OUTPUT) ................................................................... 10-3
Prove-out mode feedrate ........................................................................................ 10-3
Setting the in-position checking tolerance (VS63) .................................................. 10-3
Adjusting the back-off factor (VSTOD[27]) ............................................................. 10-4
Adjusting the fast positioning feedrate (VSTOD[30]) .............................................. 10-4

Publication No. H-2000-6550


Contents v

Editing the basic measure program O9726 ................................................................... 10-4


Use of variables ............................................................................................................. 10-4
Local variables ........................................................................................................ 10-4
System variables .................................................................................................... 10-5
Common retained variables .................................................................................... 10-6

Chapter 11 General information


Tolerances ..................................................................................................................... 11-2
True position tolerances ................................................................................................ 11-3
Experience values PE=e................................................................................................ 11-3
Reason for using this option ................................................................................... 11-3
Print program (O9730) ................................................................................................... 11-4
Example of printing a cycle output.......................................................................... 11-4
Variables VS61 and VS62 ...................................................................................... 11-4
Using the Okuma gauging screen ................................................................................. 11-5
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
General probing applications ......................................................................................... 11-6
Example 1: Part identification ........................................................................................ 11-6
Example 2: Probe measure every nth component ........................................................ 11-7
Output flow (bore/boss and web/pocket cycles) ............................................................ 11-8

Appendix A Features, cycles and limitations of the Inspection Plus


software
Features of the Inspection Plus software ........................................................................ A-2
Cycles .............................................................................................................................. A-3
General ............................................................................................................................ A-4

Appendix B Alternative calibration cycles


Centring on a calibration feature (O9801 PK=0.) ............................................................ B-2
Calibrating the stylus X and Y offsets (O9801 PK=2.) .................................................... B-4
Calibrating the stylus ball radius (O9801 PK=−3.) ........................................................... B-6

Publication No. H-2000-6550


vi Contents

This page is intentionally left blank.

Publication No. H-2000-6550


Before you begin 1

About the Inspection Plus software


The Renishaw Inspection Plus software described in this manual is for use on machining
centres that are fitted with Okuma controllers.

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”.

About this manual


This programming manual contains detailed information about how to use the Inspection
Plus software for programming, operating and controlling your machine tool.

Comprising 11 self-contained chapters and two appendices, the manual is structured to


provide the information that you require to use the Inspection Plus software effectively.

 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 4, “Protected positioning cycle”, describes how to use the protected


positioning cycle (O9810). When used correctly, this cycle prevents damage to the
probe stylus if the probe collides with the workpiece.

 Chapter 5, “Probe calibration and SupaTouch optimisation”, explains why a probe


stylus must be calibrated and how to optimise the measuring feedrates, reducing
probing cycle time.

 Chapter 6, “Standard measuring cycles”, describes how to use the standard


measuring 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.

Publication No. H-2000-6550


2 Before you begin

 Chapter 10, “Configuration”, describes setting information and details about the
variables used in the Inspection Plus software.

 Chapter 11, “General information”, contains general information and reference


material that is relevant to the Inspection Plus software package.

Measurement values used in this manual


Throughout this manual metric units of measurement (for example, millimetres) are used
in the examples. Where appropriate, the equivalent imperial values (for example, inches)
are shown in brackets.

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).

Software kit part no. A-4016-1035


The kit comprises the following item:

 Software media assembly: part no. A-4016-1035.

The software media contains the following files and folders:

\Readme.txt This is an information file.

\Inspection_Plus_Macros\<files> This folder contains RENSP.SSB and


REN-GOPROBE.LIB files that must be copied to the
D:\MD1\ folder of the CNC machine.

\Archive\<files> This folder contains older versions of Inspection Plus


software that do not include SupaTouch optimisation.

\Documentation\<files> This folder contains software documentation.

Publication No. H-2000-6550


Before you begin 3

Memory requirements
Establish how much free program memory is available on the machine. This must be
considered when deciding which cycles to load.

RENSP.SSB
The total amount of memory required for all subprograms in this file is 112 KB.

REN-GOPROBE.LIB
The total amount of memory required for all subprograms in this file is 36 KB.

Use of inch/mm units


All inputs (unless otherwise stated) described in this manual are to be inserted using the
current machine units.

Publication No. H-2000-6550


4 Before you begin

Renishaw customer services

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).

TIP: 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.

 A description of how you tried to solve the problem.

Publication No. H-2000-6550


Installing the software 1-1

Chapter 1

Installing the software

This chapter describes how to load the Inspection Plus software.

Contained in this chapter


Installing the software ...................................................................................................... 1-2
Configuration of the software .................................................................................... 1-2
Installation of the software ........................................................................................ 1-2

Publication No. H-2000-6550


1-2 Installing the software

Installing the software


It is important that this software is installed correctly. This means selecting the appropriate
cycles and configuring them to run properly on the machine. To complete the task, it will
then be necessary to run the calibration cycles to set the calibration data for the probe on
the machine.

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”.

Configuration of the software


Useful information can be found in Chapter 10, “Configuration”, including details of general
software settings, customising the software and variable details.

Installation of the software


All cycles can be found on the software media in the Inspection_Plus_Macros folder. Load
the RENSP.SSB and REN-GOPROBE.LIB files into the MD1 folder on the controller.

All cycles listed below can be found in RENSP.SSB.

Category Cycles

Basic programs O9700, O9701, O9721, O9722, O9723,


and cycles O9724, O9725, O9726, O9727, O9729,
O9731, O9732, O9800, O9801, O9832,
O9833

Standard cycles O9810, O9811, O9812, O9814, O9815,


and programs O9816, O9817

Vector cycles O9821, O9822, O9823

Additional cycles O9730, O9735, O9818, O9819, O9820,


and programs O9830, O9831, O9834, O9835, O9843

NOTE: Previous versions of Inspection Plus used file names: EASYSET.LIB, REN1.SSB
and REN2.SSB. Delete these files before registering the REN-GOPROBE.LIB file.

Publication No. H-2000-6550


Optional inputs 2-1

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.

Contained in this chapter


Optional inputs ................................................................................................................. 2-2

Publication No. H-2000-6550


2-2 Optional inputs

Optional inputs
The examples described below assume that the controller has been configured for metric
values (millimetres). The equivalent imperial (inch) measurement values are shown in
brackets.

PB=b b= Angle tolerance of the surface, e.g. 30° ±1° inputs PA=30. PB=1.
Example: PB=5. to set a tolerance of 5°.

PE=e 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: PE=21. causes the experience value stored in tool offset 21 to
be applied to the measured size.

PF=f f= This can be either one of the following:


1. The percentage feedback that is used when updating a tool offset
(see Chapter 11, “General information”).
Enter a value between 0 and 1 (0% and 100%).
Default value: 1 (100%).

2. The feedrate that is used in the protected positioning cycle (O9810)


(see Chapter 4, “Protected positioning cycle”).
Example: PF=15. sets a feedrate of 15 mm/min.
(PF=0.6 sets a feedrate of 0.6 in/min.)

PH=h h= The tolerance value of a feature dimension being measured


(see Chapter 11, “General information”).
Example: For a dimension of 50 mm +0.4 mm −0 mm, the nominal
tolerance is 50.2 mm with PH=0.2.
(For a dimension of 1.968 in +0.016 in −0 in, the nominal
tolerance is 1.976 in with PH=0.008.)

PM=m m = The true position tolerance of a feature. This is a cylindrical zone about
the theoretical position (see Chapter 11, “General information”).
Example: PM=0.1 sets a true position tolerance of 0.1 mm.
(PM=0.004 sets a true position tolerance of 0.004 in.)

PQ=q 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: PQ=8. sets an overtravel distance of 8 mm.
(PQ=0.3 sets an overtravel distance of 0.3 in.)

Publication No. H-2000-6550


Optional inputs 2-3

PR=r r= This is an incremental dimension that is used in external features, such


as bosses and webs, to give a radial clearance from the nominal target
surface prior to a Z-axis move.
Default value: 5 mm (0.2 in).
Example: PR=10. sets a radial clearance of 10 mm.
(PR=0.4 sets a radial clearance of 0.4 in.)

R−r −r = This is similar to PR=r, 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.2 in).
Example: PR=−10. sets a radial clearance of −10 mm.
(PR=−0.4 sets a radial clearance of −0.4 in.)

PS=s s= Work offset number which will be set.


The work offset number will be updated.
PS=1.
PS=1. to PS=100.
Depending on number of optional inputs available.
Examples: PS=1 (G15 H1)
PS=48 (G15 H48)
New work offset = active work offset + error.
New external work offset = external work offset + error.

PT=t t= Tool offset number to be updated.


With P200 controllers, only tool numbers 1 to 999 are accepted.

Example: PT=20. updates tool offset number 20.

P300M controllers support 8-digit tool numbers, and HA, HB and HC


offsets can be updated by using the following suffix, where “t” represents
the tool number to be updated:

PT=t.1 Update HA offset of tool (default)

PT=t.2 Update HB offset of tool

PT=t.3 Update HC offset of tool

Example: PT=1020.2 updates HB offset of tool number 1020.

PU=u u= Upper tolerance limit.


If this value is exceeded, no tool offset is updated and the cycle stops with
an alarm. Where applicable, this tolerance applies to both size and
position. See Chapter 11, “General information”.
Example: PU=2. to set the upper tolerance limit to 2 mm.
(PU=0.08 to set the upper tolerance limit to 0.08 in.)

Publication No. H-2000-6550


2-4 Optional inputs

PV=v v= Null band.


This is the tolerance zone in which no tool offset adjustment occurs
(see Chapter 11, “General information”).
Default value: 0
Example: PV=0.5 for a tolerance zone of ±0.5 mm.
(PV=0.02 for a tolerance zone of ±0.02 in.)

PW = Print the output data to text file or Reporter app.


Text file output format:
PW=1. Increment the feature number only.
PW=2. Increment the component number and reset the feature
number.
Example: CALL O9811 PZ=0 PW=1.

Reporter output format:


Add suffix of .1 to feature number using PW= to send data to Reporter.
This also needs commanding with O9832/9833 to establish
communication with the app. See Reporter documentation for more
information about adding Reporter output to Inspection Plus programs.
Example: CALL O9811 PZ=0 PW=1.1

Publication No. H-2000-6550


Cycle outputs 3-1

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.

Contained in this chapter


Cycle outputs (table 1) ..................................................................................................... 3-2

Cycle outputs (table 2) ..................................................................................................... 3-3

Publication No. H-5755-8600


3-2 Cycle outputs

Cycle outputs (table 1)

Single Web/ Bore/ Internal External 5-point 4th axis PCD


surface pocket boss corner corner rectangle bore/boss

CALL CALL CALL CALL CALL CALL CALL CALL


O9811 O9812 O9814 O9815 O9816 O9817 O9818 O9819

VS75 X position X position X position X position X position X position X position

VS76 Y position Y position Y position Y position Y position Y position Y position

VS77 Z position PCD

VS78 Size Size Size Size

VS79 X surface X surface Component 4th angle Angle


angle angle angle

VS80 X error X error X error X error X error X error X error

VS81 Y error Y error Y error Y error Y error Y error Y error

VS82 Z error Y surface Y surface PCD error


angle angle

VS83 Size error Size error Size error Y angle Y angle Height error Size error
error error

VS84 X angle X angle Angle error Angle error


error error

True True True True True True True


VS85 *
position position position position position position position
error error error error error error error

VS86 Metal Metal Metal Metal


condition condition condition condition

VS87 Direction Hole


indicator number

VS88 Out of tolerance flag (1 to 7)

VS89 Probe error flag (0 to 2)

* True position error expressed as radial value.

Publication No. H-5755-8600


Cycle outputs 3-3

Cycle outputs (table 2)

Stock Angled Angled Angled 3-point Feature to X/Y angle


allowance single single web/pocket bore/boss feature measure
surface surface
(AD inputs) (XYZ inputs)

CALL O9820 CALL O9821 CALL O9821 CALL O9822 CALL O9823 CALL O9834 CALL O9843

VS75 X position X position X position X position X incremental


distance

VS76 Y position Y position Y position Y position Y incremental


distance

VS77 Z position Z incremental


distance

VS78 Size from Size Size Size Minimum


start distance

VS79 Angle Angle

VS80 X error X error X error X error X error

VS81 Y error Y error Y error Y error Y error

VS82 Z error Z error

VS83 Size error Size error Size error Size error Minimum Height error
distance error

VS84 Maximum Angle error Angle error


value

VS85 * Minimum True position True position True position True position True position
value error error error error error

VS86 Variation Metal Metal Metal Metal Metal


(stock) condition condition condition condition condition

VS87

VS88 Out of tolerance flag (1 to 7)

VS89 Probe error flag (0 to 2)

* True position error expressed as radial value.

Publication No. H-5755-8600


3-4 Cycle outputs

This page is intentionally left blank.

Publication No. H-5755-8600


Protected positioning cycle 4-1

Chapter 4

Protected positioning cycle

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.

Contained in this chapter


Protected positioning (probe trigger monitoring) (O9810) ............................................... 4-2

Publication No. H-2000-6550


4-2 Protected positioning cycle

Protected positioning (probe trigger monitoring) (O9810)

Figure 4.1 Protected positioning of the probe

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 PM= 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 (VS88) will be set (see the PM=m input).

Format
CALL O9810 PX=x PY=y PZ=z [PF=f PM=m PC=1.]

where [ ] denote optional inputs.

Example: CALL O9810 PZ=10. PF=3000. PM=1. PC=1.

Publication No. H-2000-6550


Protected positioning cycle 4-3

Compulsory inputs
PX=x x=
PY=y y= The target positions for the probe positioning move.
PZ=z z=

Optional inputs
PF=f f= The optimum feedrate found during optimisation is automatically
used. However, this input can be used to specify a different feedrate.

CAUTION: Specifying a feedrate faster than the optimised value


means that the machine will not stop in time to avoid breaking a
stylus, or worse, should a collision occur. ST

PM=1. 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.
VS88 = 0 No probe trigger.
VS88 = 7 Probe triggered.

PM=2. This will set a probe trigger flag (but without a PATH OBSTRUCTED
alarm). The probe will automatically return to the start point.
VS88 = 0 No probe trigger.
VS88 = 7 Probe triggered.

PC=1. 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.

Example 1: Protected positioning


G15 H1

G0 X20. Y50.

G56 H20 Z100. Move to a safe plane.

CALL O9832 Switch on the probe (this includes M19 spindle orientation).

CALL O9810 PZ=10. Protected positioning move (PF= input is optional).

CALL O9811 PZ=0. Single surface measurement.


PS=1.

Publication No. H-2000-6550


4-4 Protected positioning cycle

Example 2: Check for a misloaded component


CALL O9810 PZ=1. PF=3000. PM=2.

IF[VS88 EQ 0] GOTO N10


VUACM[1]= ‘PART TOO HIGH’
VDOUT[992]=1

N10 (CONTINUE PROGRAM)

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-1

Chapter 5

Probe calibration and SupaTouch


optimisation

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.

SupaTouch optimisation recommends suitable measuring and positioning feedrates


based on measurement repeatability and environmental conditions. Running this cycle
before calibration is optional.

This chapter explains how to use the calibration cycles and optimise your probe.

Contained in this chapter


SupaTouch optimisation cycle ......................................................................................... 5-2

If SupaTouch optimisation is not required........................................................................ 5-2

Why calibrate a probe? .................................................................................................... 5-2

Calibrating the stylus offset .............................................................................................. 5-3

Calibrating the stylus radius ............................................................................................. 5-3

Calibrating the probe length ............................................................................................. 5-3

Calibration cycles – an overview ...................................................................................... 5-4

SupaTouch optimisation cycle (O9800)ST ........................................................................ 5-5

Calibrating the probe length (O9801 PK=1.) .................................................................. 5-10

Calibrating the stylus ball offsets and radii (O9801 PK=4.) ............................................ 5-12

Calibrating on a reference sphere (O9801 PK=5.)......................................................... 5-15

Publication No. H-2000-6550


5-2 Probe calibration and SupaTouch optimisation

SupaTouch optimisation cycleST


Customers who wish to reduce their probing cycle time can use the SupaTouch
optimisation cycle (O9800) to establish optimum measuring and positioning feedrates,
based on the specific characteristics of their machine, controller and probe system.

SupaTouch optimisation will establish the following:

 Optimised measuring feedrate.

 Optimised XY and Z positioning feedrates.

 Optimised back-off distance for instances where a two-touch measuring technique


is required. Measuring cycles will intelligently select either a one-touch or a
two-touch measuring technique, ensuring the fastest possible cycle time.

If SupaTouch optimisation is not required


If SupaTouch optimisation is not required, cycle O9800 can be ignored and calibrating the
probe should be the first task. All measurement cycles will use the standard Inspection
Plus two-touch measurement technique.

Why calibrate a probe?


When you fit your probe into the machine shank/holder, it is not necessary for the probe
stylus to run true to the spindle centre line. A small amount of run-out can be tolerated,
but it is good practice to get the stylus mechanically on-centre to reduce the effects of
spindle and tool orientation errors. Without calibration of the probe, run-out will lead to
inaccurate results. By calibrating the probe, the run-out is automatically accounted for.

As each Renishaw probe is unique, it is important that you calibrate it in the following
circumstances:

 When your probe system is to be used for the first time.

 When a new stylus is fitted to your probe.

 When it is suspected that the stylus has become distorted or that the probe has
crashed.

 At regular intervals to compensate for mechanical changes of your machine tool.

 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.

Three different operations are used to calibrate a probe. They are:

 Calibrating the stylus offset.

 Calibrating the stylus radius.

 Calibrating the probe length.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-3

Calibrating the stylus offset


This calibration cycle determines and stores the offset of the stylus ball to the spindle
centre line. The measured values are then compensated by these stored values back to
the spindle centre-line position.

Calibrating the stylus radius


Calibration on a feature of known size determines the radius values of the stylus ball.
These values are used by the measuring cycles to compensate the measured size.

NOTE: The stored radius values are based on the true electronic trigger points. These
values are different from the physical sizes.

Calibrating the probe length


Traditionally, when calibrating a probe on a known reference surface, it determines the
probe length, based on the electronic trigger point (not the stylus free length). This can
lead to small positioning errors which can affect measurement, particularly if measuring
non-prismatic parts. This issue is overcome, as the software determines this error and
makes a suitable adjustment to set the probe stylus to its free length.

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.

Publication No. H-2000-6550


5-4 Probe calibration and SupaTouch optimisation

Calibration cycles – an overview


The following calibration cycles are described on pages 5-10 to 5-15.

Cycle O9801 PK=1. This cycle is used to set the length of the probe in its tool holder.
(or no K input)

Cycle O9801 PK=4. This cycle is used to set the stylus XY offsets, the stylus ball
radius values and the stylus vector radii values.

Cycle O9801 PK=5. 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 PK=0. This cycle is used for centring on a reference feature, allowing
the feature position to be found. Optionally use a PS input to set
a work offset.

Cycle O9801 PK=2. This cycle is used to set the stylus XY offset calibration values.

Cycle O9801 PK=3. 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 PK=−3. when you do not want to overwrite the stylus XY
offset values that are determined when using the PK=2. input
described above.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-5

SupaTouch optimisation cycle (O9800)ST

Z
Y

PZ=z

PR=r

PX=x or PY=y

Figure 5.1 SupaTouch optimisation cycle

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 stored in the following system VS
variables (these cannot be viewed):

VS90 Maximum permissible measuring feedrate (in mm/inch).


VS91 Maximum permissible Z-axis positioning feedrate (in mm/inch).
VS92 Maximum permissible X-axis or Y-axis positioning feedrate (in mm/inch).

Publication No. H-2000-6550


5-6 Probe calibration and SupaTouch optimisation

All results are displayed on the GAUGING SCREEN (press DISPLAY CHANGE and
select GAUGING RESULTS) as follows:

X RANGE: 100MM/MIN=0.001, 2000MM/MIN=0.002


X/Y MEASURING FEEDRATE FOR TOLERANCE OF 0.005MM=2000MM/MIN
X/Y POSITIONING FEEDRATE=6500MM/MIN
-------------------------
Z RANGE: 100MM/MIN=0.000, 2000MM/MIN=0.001
Z MEASURING FEEDRATE FOR TOLERANCE OF 0.005MM=2000MM/MIN
Z POSITIONING FEEDRATE=5000MM/MIN

*****PRESS CYCLE START TO UPDATE FEEDRATES*****


NEW MEASURE FEED=2000, NEW POSITION FEED: XY=6500 Z=5000
PROBE WILL NEED TO BE RECALIBRATED IF FEED IS UPDATED

Two options are available to the user:

 Press cycle start to accept the values.

 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 variable
VSTOD[21] onwards. The machine will alarm with alarm number 193 RECALIBRATE and
the following message will appear on the GAUGING SCREEN:

-------------------------

PROBING FEEDRATES UPDATED

****RECALIBRATE PROBE****

-------------------------

Application
AUTO mode: 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.

Manual data interface (MDI) mode: Position the probe directly above the edge and run the
cycle.

Format
CALL O9800 PB=b PX=x or PY=y [PC=c PH=h PF=f PM=m PMF=mf PS=s PU=u. PW=w
PQ=q PR=r PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9800 PB=6. PX=15. PZ=−8. PH=0.002 PM=600. PMF=3000. PS=100.
PU=7. PW=15. PQ=10. PR=15. PF=9000.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-7

Compulsory inputs
PB=b b= The nominal diameter of the stylus ball.

PX=x x= The absolute X-axis position for the Z touch.

or

PY=y y= The absolute Y-axis position for the Z touch.

Optional inputs
PC=c c= PC=1 will turn off optimisation and return the feedrates to factory
settings. Recalibration of the probing system will be required if this input
is used.

PH=h h= The measurement repeatability value required from the probing system.
Adjusting this value will influence the value displayed.

Default value: 0.005 mm (0.00019 in).

PF=f f= The fast positioning feedrate limit.

Default value: 12000 mm/min (472 in/min).

PMF= mf= The measuring feedrate limit.

Default value: 2000 mm/min (79 in/min).

PS=s s= Stylus length in mm for overtravel limits when PM input is used. PS


values of PS=50 or PS=100 are the only available inputs.

Default value: If PM is commanded then a 50 mm stylus will assumed


if PS=100 is not commanded. With no PM= then default PU and PW
values will be used for overtravel limits.

PM=m m= Probe model for overtravel limits. This will use pre-assigned overtravel
limits for the probe and stylus commanded to determine the positioning
feedrates. PM= works with PS= input to assign overtravel values for
50 mm or 100 mm styli.
Allowable inputs are:
=40 for OMP40, RMP40
=60 for OMP60 or RMP60
=400 for OMP400 or RMP400
=600 for OMP600 or RMP600
Default value: If PM is not commanded then PU and PW defaults will
be used.

Publication No. H-2000-6550


5-8 Probe calibration and SupaTouch optimisation

PU=u u= The XY probe overtravel limit. Refer to the probe hardware


documentation for suitable overtravel limit data or use PM= and PS=
inputs for 50 mm and 100 mm styli with OMP40/400/60/600 and
RMP40/400/60/600 probes.
Default value: 11 mm (0.433 in).

PW=w w= The Z probe overtravel limit. Refer to the probe hardware


documentation for suitable overtravel limit data or use PM= and
PS= inputs for 50 mm and 100 mm styli with OMP40/400/60/600 and
RMP40/400/60/600 probes.

Default value: 5 mm (0.197 in).

PZ=z z= The absolute Z-axis position for the X or Y touch.


Default value: −10 mm (−0.393 in).

For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
VSTOD[26] Software signature – represents the optimisation status and other internal
software settings. In inch mode this value will be divided by 25.4.

VSTOD[27] Probe system delay, including any transmission delay and probe filter
settings. This is used to maintain the optimum back-off distance. In inch
mode this value will be divided by 25.4.

VSTOD[28] 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.

VSTOD[29] Measuring feedrate, transferred from VS90. 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.

VSTOD[30] Fast positioning feedrate, transferred from VS91 and VS92. Measuring
cycles use this value when positioning the probe prior to measurement.

Example: VSTOD[30]=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).

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-9

Example – AUTO mode


Set the X, Y, Z values in work offset G15 H1.

NOTE: The tool offset must be active.

G90 G80 G40 G0 Preparatory codes for the machine.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=10. Protected positioning move.


PF=3000.

CALL O9800 PX=20. Optimise the probing system.


PZ=−6.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Example – MDI mode


No work offset is needed. Position the probe above the edge of a surface before running
the command.

NOTE: The tool offset must not be active.

CALL O9800 PX=20. Optimise the probing system.

Publication No. H-2000-6550


5-10 Probe calibration and SupaTouch optimisation

Calibrating the probe length (O9801 PK=1.)

PT=t PZ=z
Tool offset Reference
height

Z
Y
X

Figure 5.2 Calibrating the probe length

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.

Format
CALL O9801 PB=b. PZ=z. PT=t. [PK=1.]

where [ ] denote optional inputs.

Example: CALL O9801 PB=6. PK=1. PZ=0. PT=20.

Compulsory inputs
PB=b b= The nominal diameter of the stylus ball.

PT=t t= The active tool offset number.

PZ=z z= The absolute position of the reference surface.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-11

Optional input
PK=1. Tool length setting mode. This is also the cycle default if no PK=k input is
used.

Outputs
VSTOD[39] Z calibration radius used for 3D vector measuring (ZRAD).

VSTOD[40] Nominal stylus radius used for 3D vector measuring (SRAD).

The active tool offset is set.

Example
Set the X, Y, Z values in work offset G15 H1.

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).

G90 G80 G40 G0 Preparatory codes for the machine.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=10. Protected positioning move.


PF=3000.

CALL O9801 PB=6. PK=1. Update the probe length in the Z axis.
PZ=0. PT=1.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Publication No. H-2000-6550


5-12 Probe calibration and SupaTouch optimisation

Calibrating the stylus ball offsets and radii (O9801 PK=4.)

Stylus XY offsets

1 2 VSTOD[24]

3
Y VSTOD[23]
PD=d PZ=z
X

Stylus ball radii


Stylus radii at every 30°

VSTOD[21] (X radius)
VSTOD[22] (Y radius)
VSTOD[31] to [38] (vector radii)

PD=d
X

Figure 5.3 Calibrating the stylus ball offsets and 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.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-13

Application
The reference feature must be mounted on the machine table and its position will be
accurately determined by the probe by measuring the feature using 0° and 180° spindle
orientation. 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.

Format
CALL O9801 PK=4. PB=b. PD=d. [PS=s. PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9801 PK=4. PB=6. PD=50.005 PZ=50.

Compulsory inputs
PK=4. Calibrate the offsets and radii of the stylus ball.
Use PK=−4. when you do not want to overwrite the stylus XY offset
values that are established when using the PK=2. input.

PB=b b= The nominal diameter of the stylus ball.

PD=d d= The reference size of the feature.

Optional inputs
PZ=z z= The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, an internal reference feature cycle is
assumed.

For optional input PS=s, see Chapter 2, “Optional inputs”.

Publication No. H-2000-6550


5-14 Probe calibration and SupaTouch optimisation

Outputs
The following data is stored.

VSTOD[21] X-axis stylus ball radius (XRAD)


VSTOD[22] Y-axis stylus ball radius (YRAD)
VSTOD[23] X-axis stylus offset (XOFF)
VSTOD[24] Y-axis stylus offset (YOFF)

VSTOD[31] 30° stylus ball radius (VRAD)


VSTOD[32] 60° stylus ball radius (VRAD)
VSTOD[33] 120° stylus ball radius (VRAD)
VSTOD[34] 150° stylus ball radius (VRAD)
VSTOD[35] 210° stylus ball radius (VRAD)
VSTOD[36] 240° stylus ball radius (VRAD)
VSTOD[37] 300° stylus ball radius (VRAD)
VSTOD[38] 330° stylus ball radius (VRAD)

VS75 X position
VS76 Y position

VS83 X-axis position (machine position)


VS84 Y-axis position (machine position)

Example: Calibrating the stylus ball offsets and radii


This example describes a complete positioning and calibration program.

Set the exact XY centre and Z top face position of the feature in a work offset (this
example uses G15 H1).

G90 G80 G40 G0 Preparatory codes for the machine.

G15 H1 X0. Y0. Move to the centre of the feature.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−5. Protected positioning move into the hole.


PF=3000.

CALL O9801 PK=4. PB=6. Calibrate in a 50.001 mm (1.9685 in) diameter ring gauge
PD=50.001 with a 6 mm (0.236 in) diameter stylus.

CALL O9810 PZ=100. Protected positioning move retract to 100 mm (3.94 in).
PF=3000.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-15

Calibrating on a reference sphere (O9801 PK=5.)

Machine
reference

PB=b
PX=x, PY=y, PE=e

Z PD=d
PZ=z
Y

Figure 5.4 Calibrating on a reference sphere

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 Z axis must be accurately known. An approximate X, Y position must be known
and will be accurately determined by the probe by measuring the feature using 0° and
180° spindle orientation. 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.

Publication No. H-2000-6550


5-16 Probe calibration and SupaTouch optimisation

Format
CALL O9801 PK=5. PZ=z. PD=d. PB=b. PT=t. [PE=e. PX=x. PY=y.]

where [ ] denote optional inputs.

Example: CALL O9801 PK=5. PZ=0. PD=30. PB=6. PT=14. PE=300.157 PX=250.
PY=100.

Compulsory inputs
PK=5. Calibrate on a sphere.

PB=b b= The nominal diameter of the stylus ball.

PD=d d= The diameter of the reference sphere.

PT=t t = The active tool offset for length updating.

PZ=z 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
PE=e e= The exact Z surface position in machine coordinates. This is an
alternative way to set the probe length instead of on the top of the
sphere. If using this method, the Z sphere height position is not
critical.

PX=x x= The X position in machine coordinates. Used with the PE=e input
above.

PY=y y= The Y position in machine coordinates. Used with the PE=e input
above.

Publication No. H-2000-6550


Probe calibration and SupaTouch optimisation 5-17

Outputs
The following data is stored.

VSTOD[21] X-axis stylus ball radius (XRAD)


VSTOD[22] Y-axis stylus ball radius (YRAD)
VSTOD[23] X-axis stylus offset (XOFF)
VSTOD[24] Y-axis stylus offset (YOFF)

VSTOD[31] 30° stylus ball radius (VRAD)


VSTOD[32] 60° stylus ball radius (VRAD)
VSTOD[33] 120° stylus ball radius (VRAD)
VSTOD[34] 150° stylus ball radius (VRAD)
VSTOD[35] 210° stylus ball radius (VRAD)
VSTOD[36] 240° stylus ball radius (VRAD)
VSTOD[37] 300° stylus ball radius (VRAD)
VSTOD[38] 330° stylus ball radius (VRAD)
VSTOD[39] Z calibration radius used for 3D vector measuring (ZRAD)
VSTOD[40] Nominal stylus radius used for 3D vector measuring (SRAD)

VS75 X position
VS76 Y position

VS83 X-axis position (machine position)


VS84 Y-axis position (machine position)

The active tool length offset is set.

Publication No. H-2000-6550


5-18 Probe calibration and SupaTouch optimisation

Example: Calibrating on a reference sphere


Before running this program, the tool length offset for the probe must be active. Position
the stylus approximately 10 mm (0.394 in) above, and approximately centrally over, the
reference sphere.

G90 G80 G40 G0 Preparatory codes for the machine.

G15 H1 X0. Y0. Move to the approximate centre of the


reference sphere in the XY axis.

G56 Z100. H14 Activate offset 14 and go approximately


100 mm (3.94 in) above the sphere.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=25. PF=3000. Protected positioning move to approximately


25 mm (0.59 in) above the sphere.

CALL O9801 PK=5. PZ=0. PD=20. PB=6. Use a 20 mm (0.7874 in) diameter reference
PT=14. sphere with the Z work offset set to the
centre. The stylus diameter is 6 mm
(0.2362 in). Set probe tool offset 14.

CALL O9810 PZ=100. PF=3000. Protected positioning move retract to


100 mm (3.94 in).

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Publication No. H-2000-6550


Standard measuring cycles 6-1

Chapter 6

Standard measuring cycles

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.

Contained in this chapter


XYZ single surface measurement (O9811) ..................................................................... 6-2

Web/pocket measurement (O9812) ................................................................................ 6-4

Bore/boss measurement (O9814) ................................................................................... 6-7

Finding an internal corner (O9815) ................................................................................ 6-10

Finding an external corner (O9816) ............................................................................... 6-13

5-point rectangle (O9817) external feature .................................................................... 6-16

5-point rectangle (O9817) internal feature ..................................................................... 6-19

Probe start (O9832) ....................................................................................................... 6-22

Probe stop (O9833) ....................................................................................................... 6-24

Publication No. H-2000-6550


6-2 Standard measuring cycles

XYZ single surface measurement (O9811)

PZ=

PX=, PY=

Figure 6.1 Measurement of a single surface

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.

The measured surface can be considered in one of two ways:

1. As a size, where the tool offset is updated in conjunction with the PT=t and PH=h
inputs.

2. As a reference surface position, for the purpose of adjusting a work offset using the
PS=s and PM=m inputs.

Format
CALL O9811 PX=x. or PY=y. or PZ=z. [PE=e. PF=f. PH=h. PM=m. PQ=q. PS=s. PT=t.
PU=u. PV=v. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9811 PX=50. PE=21. PF=0.8 PH=0.2 PM=0.2 PQ=10. PS=1. PT=20.
PU=0.5 PV=0.5 PW=2.

Publication No. H-2000-6550


Standard measuring cycles 6-3

Compulsory inputs
PX=x x=
or
PY=y y= The surface position or size.
or
PZ=z z=

Optional inputs
See Chapter 2, “Optional inputs”.

Example: Measuring a single surface in X and Z


T01 M06 Select the probe.

G15 H1 X−40. Y20. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−8. Protected positioning move to the start position.


PF=3000.

CALL O9811 PX=−50. Single surface measurement.


PT=10.

CALL O9810 PZ=10. Protected positioning move.

CALL O9810 PX=−60. Protected positioning move.

CALL O9811 PZ=0. PT=11. Single surface measurement.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

continue

The radius offset (10) and length offset (11) of the tool are updated by the errors of the
surface positions.

Publication No. H-2000-6550


6-4 Standard measuring cycles

Web/pocket measurement (O9812)

PZ=z

Z0 Z0

PR=r
PX=x, PY=y PX=x, PY=y

PZ=z

Z0

Z
Y
X

PR=−r
PX=x, PY=y

Figure 6.2 Measurement of a web or pocket feature

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.

Publication No. H-2000-6550


Standard measuring cycles 6-5

Format
CALL O9812 PX=x. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u. PV=v.
PW=w.]
or
CALL O9812 PY=y. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u. PV=v.
PW=w.]
or
CALL O9812 PX=x. PZ=z. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u.
PV=v. PW=w.]
or
CALL O9812 PY=y. PZ=z. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u.
PV=v. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9812 PX=50. PZ=100. PE=21. PF=0.8 PH=0.2 M.2 PQ=10. PR=10.
PS=1. PT=20. PU=0.5 PV=0.5 PW=2.

Compulsory inputs
PX=x x= The nominal size of the feature when measured in the X axis.
or
PY=y y= The nominal size of the feature when measured in the Y axis.

PZ=z z= The absolute Z-axis position when measuring a web feature. If this is
omitted, a pocket cycle is assumed.

Optional inputs
PR=r 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 a PR=+ input (and no PZ=z 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.

For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Cycle outputs”.

Publication No. H-2000-6550


6-6 Standard measuring cycles

Example 1: Measuring a web


T01 M06 Select the probe.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=10. Protected positioning move.


PF=3000.

CALL O9812 PX=50. Measure a 50 mm (1.968 in) wide web.


PZ=−10. PS=2.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

continue

The centre line of the feature in the X axis is stored in work offset G15 H2.

Example 2: Measuring a pocket (referred datum)


T01 M06 Select the probe.

G15 H1 X100. Y50. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−10. Protected positioning move.


PF=3000.

CALL O9812 PX=30. Measure a 30 mm (1.181 in) wide pocket.


PS=2.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

continue

The error of the centre line is referred to the datum point X0. The revised X0 position is
set in work offset G15 H2.

Publication No. H-2000-6550


Standard measuring cycles 6-7

Bore/boss measurement (O9814)

PZ=z

Z0 Z0

PR=r
PD=d dia PD=d dia

PZ=z

Z0

Z
Y
X

PR=−r
PD=d dia

Figure 6.3 Measurement of a bore or boss feature

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
CALL O9814 PD=d. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u. PV=v.
PW=w.]
or
CALL O9814 PD=d. PZ=z. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u.
PV=v. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9814 PD=50.005 PZ=100. PE=21. PF=0.8 PH=0.2 PM=0.2 PQ=10.
PR=10. PS=1. PT=20. PU=0.5 PV=0.5 PW=2.

Publication No. H-2000-6550


6-8 Standard measuring cycles

Compulsory inputs
PD=d d= The nominal size of the feature.

PZ=z z= The absolute Z-axis position when measuring a boss feature. If this is
omitted, a bore cycle is assumed.

Optional inputs
PR=r 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 PZ=z 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.

For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Cycle outputs”.

Example 1: Measuring a boss


T01 M06 Select the probe.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=10. PF=3000. Protected positioning move.

CALL O9814 PD=50. PZ=−10. Measure a 50 mm (1.968 in) diameter boss.


PS=2. PR=10.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

continue

The centre line of the feature in the X and Y axis is stored in work offset G15 H2.

Publication No. H-2000-6550


Standard measuring cycles 6-9

Example 2: Measuring a bore (referred datum)


T01 M06 Select the probe.

G15 H1 X100. Y100. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−10. Protected positioning move.


PF=3000.

CALL O9814 PD=30. PS=2. Measure a 30 mm (1.181 in) diameter bore.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

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 G15 H2.

This means the work offset is adjusted by the error between the start position and the
actual centre line of the feature.

Publication No. H-2000-6550


6-10 Standard measuring cycles

Finding an internal corner (O9815)


PX=x

PY=y

PY=y

PI=i
PE=e

X PJ=j
PX=x

PD=d

Figure 6.4 Finding an internal corner position

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
CALL O9815 PX=x. PY=y. [PB=b. PD=d. PE=e. PI=i. PJ=j. PM=m. PQ=q. PS=s. PU=u.
PW=w. PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9815 PX=100. PY=100. PB=2. PD=10. PE=10. PI=10. PJ=10. M.2
PQ=10. PS=1. PU=0.5 PW=2. PZ=−10.

Publication No. H-2000-6550


Standard measuring cycles 6-11

Compulsory inputs
PX=x x= The nominal position of the corner in the X axis.

PY=y y= The nominal position of the corner in the Y axis.

Optional inputs
A note about inputs PI= and PJ=

If the PI= and PJ= inputs are both missing, only two gauging moves occur. The corner
feature is assumed to be parallel to the axes.

If either PI= or PJ= is missing, three gauging moves then occur and the corner feature is
assumed to be 90°.

PB=b b= Angle tolerance. This applies to both X and Y surfaces. It is equal to half
the total tolerance.
Example: ±0.25° = PB=0.25 tolerance.

PD=d d= The X distance from the corner to the first measuring position.
Default value: PD=0 (distance = 0) is assumed if PD=d is missing.

PE=e e= The Y distance from the corner to the first measuring position.
Default value: PE=0 (distance = 0) is assumed if PE=e is missing.

PI=i i= The incremental distance to the second probing position along the X
axis. This input self-calculates so that it is always a positive value.
Default value: no move.

PJ=j j= The incremental distance to the second probing position along the Y
axis. This input self-calculates so that it is always a positive value.
Default value: no move.

PZ=z z= The Z measuring height position. It is sometimes desirable to pre-


position above the feature to avoid clamps and obstacles. Using this
input, the cycle will position down to the PZ=z height, take the
measurement and retract for every measuring position.
Default value: no move.

For other optional inputs, see Chapter 2, “Optional inputs”.

Publication No. H-2000-6550


6-12 Standard measuring cycles

Outputs
The measurement values of the feature are stored in variables VS75 to VS89 (for details,
see Chapter 3, “Cycle outputs”).

Variable VS79 is the angle of the X surface and is measured from the X+ axis direction.
Variable VS82 is the angle of the Y surface and is also measured from the X+ axis
direction.

Example: Finding an internal corner

NOTE: Co-ordinate rotation. It is possible to implement rotation using G10/G11 when


the control option is available.

T01 M06 Select the probe.

G15 H1 X10. Y10. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−5. PF=3000. Protected positioning move.

CALL O9815 PX=20. PY=20. Corner find.


PI=10. PJ=10.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

G17 Select the plane.

G11 X=VS75 Y=VS76 P=VS79 Set the rotational position and angle. (See note
below.)

continue the machining program

G10 Cancel the rotation mode.

NOTE: If the G11 data VS75, VS76 and VS79 needs to be saved for further use, copy the
data into spare VC series variables before this G11 line of code.

Example:

VC1=VS75
VC2=VS76
VC3=VS79
G11 X=VC1 Y=VC2 R=VC3

Publication No. H-2000-6550


Standard measuring cycles 6-13

Finding an external corner (O9816)


PD=d NOTE:
The start point establishes
the distance to the first
measuring position.
PI=i  


PY=y
Default moves:
 PE=e
 and  are equal
 and  are equal
PJ=j

X PX=x

Figure 6.5 Finding an external corner

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
CALL O9816 PX=x. PY=y. [PB=b. PD=d. PE=e. PI=i. PJ=j. PM=m. PQ=q. PS=s. PU=u.
PW=w. PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9816 PX=100. PY=100. PB=2. PD=10. PE=10. PI=10. PJ=10. PM=0.2
PQ=10. PS=1. PU=0.5 PW=2. PZ=10.

Publication No. H-2000-6550


6-14 Standard measuring cycles

Compulsory inputs
PX=x x= The nominal position of the corner in the X axis.

PY=y y= The nominal position of the corner in the Y axis.

Optional inputs
A note about inputs PI= and PJ=

If the PI= and PJ= inputs are both missing, only two gauging moves occur. The corner
feature is assumed to be parallel to the axes.

If either PI= or PJ= is missing, three gauging moves then occur and the corner feature is
assumed to be 90°.

PB=b b= Angle tolerance. This applies to both X and Y surfaces. It is equal to half
the total tolerance.
Example: ±0.25° = PB=0.25 tolerance.

PD=d d= The X distance from the corner to the first measuring position.
Default value: Uses the start point and distance ( +  method) to
establish the X distance (see Figure 6.5).

PE=e e= The Y distance from the corner to the first measuring position.
Default value: Uses the start point and distance ( +  method) to
establish the Y distance (see Figure 6.5).

PI=i i= The incremental distance to the second probing position along the X
axis. This input self-calculates so that it is always a positive value.
Default value: no move.

PJ=j j= The incremental distance to the second probing position along the Y
axis. This input self-calculates so that it is always a positive value.
Default value: no move.

PZ=z z= The Z measuring height position. It is sometimes desirable to pre-


position above the feature to avoid clamps and obstacles. Using this
input, the cycle will position down to the PZ=z height, take the
measurement and retract for every measuring position.
Default value: no move.

For other optional inputs, see Chapter 2, “Optional inputs”.

Publication No. H-2000-6550


Standard measuring cycles 6-15

Outputs
The measurement values of the feature are stored in variables VS75 to VS89 (for details,
see Chapter 3, “Cycle outputs”).

Variable VS79 is the angle of the X surface and is measured from the X+ axis direction.
Variable VS82 is the angle of the Y surface and is also measured from the X+ axis
direction.

Example: Finding an external corner

NOTE: Co-ordinate rotation. It is possible to implement rotation using G10/G11 when


the control option is available.

T01 M06 Select the probe.

G15 H1 X−10. Y−10. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−5. PF=3000. Protected positioning move.

CALL O9816 PX=0. PY=0. PI=10. Corner find.


PJ=10.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

G17 Select the plane.

G11 X=VS75 Y=VS76 P=VS79 Set the corner position and angle. (See note below.)

continue the machining program

G10 Cancel the co-ordinate rotation mode.

NOTE: If the G11 data VS75, VS76 and VS79 needs to be saved for further use, copy the
data into spare VC series variables before this G11 line of code.

Example:

VC1=VS75
VC2=VS76
VC3=VS79
G11 X=VC1 Y=VC2 R=VC3

Publication No. H-2000-6550


6-16 Standard measuring cycles

5-point rectangle (O9817) external feature

PZ=z

PD=d

PE=e

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
CALL O9817 PD=d. PE=e. PZ=z. [PA=a. PB=b. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t.
PU=u. PV=v. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9817 PD=100. PE=60. PZ=−10. PA=12. PB=0.5 PH=20. PM=0.1 PQ=10.
PR=10. PS=1. PT=60. PU=2. PV=40. PW=2.

NOTE: The function of inputs PE=e, PH=h, PT=t and PV=v have been modified for this
cycle. The descriptions in Chapter 2, “Optional inputs” are not relevant.

Compulsory inputs
PD=d d= The feature nominal length in the X axis.

PE=e e= The feature nominal length in the Y axis.

PZ=z z= The Z measuring height position. The cycle will position down to the
PZ=z height, take the measurement and retract for every measuring
position.

Publication No. H-2000-6550


Standard measuring cycles 6-17

Optional inputs
PA=a a= The face on which the two measurements will take place.
Default value: PA=14

P2 P3 P3 P2 P2
P2 P3
P3 P1 P4 P4 P1 P1

P1 P4
P4 P5 P5 P5 P5

PA=14 or no PA input = default PA=11 = right face PA=12 = top face PA=13 = left face

PB=b b= Angle tolerance. This applies to both X and Y surfaces. It is equal to half
the total tolerance.
Example: ±0.25° = PB=0.25 tolerance.

PH=h h= The position of points P2 and P4 in the X axis relative to the bottom
left-hand corner.
Default value: P2 = 50% of PD=d, P4 = 25% of PD=d.

PT=t t= The distance between the two measure points on the same face.
Default value: 50% of PD=d

PV=v v= The position of points P1 and P3 in the Y axis relative to the bottom
left-hand corner.
Default value: 50% of PE=e

For other optional inputs, see Chapter 2, “Optional inputs”.

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

Publication No. H-2000-6550


6-18 Standard measuring cycles

Outputs
The measurement values of the feature are stored in variables VS75 to VS89 (for details,
see Chapter 3, “Cycle outputs”).

Example

NOTE: Co-ordinate rotation. It is possible to implement rotation using G10/G11 when


the control option is available.

T01 M06 Select the probe.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=10. PF=3000. Protected positioning move.

CALL O9817 PD=80. PE=50. External rectangle cycle.


PZ=−10.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

G17 Select the plane.

G11 X=VS75 Y=VS76 P=VS79 Set the rotational position and angle. (See note
below.)

continue the machining program

G10 Cancel the rotation mode.

NOTE: If the G11 data VS75, VS76 and VS79 needs to be saved for further use, copy the
data into spare VC series variables before this G11 line of code.

Example:

VC1=VS75
VC2=VS76
VC3=VS79
G11 X=VC1 Y=VC2 R=VC3

Publication No. H-2000-6550


Standard measuring cycles 6-19

5-point rectangle (O9817) internal feature

PD=d

PE=e

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
CALL O9817 PD=d. PE=e. [PA=a. PB=b. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u.
PV=v. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9817 PD=100. PE=60. PA=12. PB=0.5 PH=20. PM=0.1 PQ=10.
PR=10. PS=1. PT=60. PU=2. PW=2.

NOTE: The function of inputs PE=e, PH=h, PT=t and PV=v have been modified for this
cycle. The descriptions in Chapter 2, “Optional inputs” are not relevant.

Compulsory inputs
PD=d d= The feature nominal length in the X axis.

PE=e e= The feature nominal length in the Y axis.

Publication No. H-2000-6550


6-20 Standard measuring cycles

Optional inputs
PA=a a= The face on which the two measurements will take place.
Default value: PA=14

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

PB=b b= Angle tolerance. This applies to both X and Y surfaces. It is equal to half
the total tolerance.
Example: ±0.25° = PB=0.25 tolerance.

PH=h h= The position of points P2 and P4 in the X axis relative to the bottom
left-hand corner.
Default value: P2 = 50% of PD=d, P4 = 25% of PD=d.

PT=t t= The distance between the two measure points on the same face.
Default value: 50% of PD=d

PV=v v= The position of points P1 and P3 in the Y axis relative to the bottom
left-hand corner.
Default value: 50% of PE=e

For other optional inputs, see Chapter 2, “Optional inputs”.

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

Publication No. H-2000-6550


Standard measuring cycles 6-21

Outputs
The measurement values of the feature are stored in variables VS75 to VS89 (for details,
see Chapter 3, “Cycle outputs”).

Example

NOTE: Co-ordinate rotation. It is possible to implement rotation using G10/G11 when


the control option is available.

T01 M06 Select the probe.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−5. PF=3000. Protected positioning move.

CALL O9817 PD=40. PE=30. Internal rectangle cycle.


PS=6.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (where applicable).

G00 Z999 Move to Z limit.

G17 Select the plane.

G11 X=VS75 Y=VS76 P=VS79 Set the rotational position and angle. (See note
below.)

continue the machining program

G10 Cancel the rotation mode.

NOTE: If the G11 data VS75, VS76 and VS79 needs to be saved for further use, copy the
data into spare VC series variables before this G11 line of code.

Example:

VC1=VS75
VC2=VS76
VC3=VS79
G11 X=VC1 Y=VC2 R=VC3

Publication No. H-2000-6550


6-22 Standard measuring cycles

Probe start (O9832)

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.

CAUTION: It is compulsory to run this cycle before other probe 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
CALL O9832 [PD=d PB=b]

where [ ] denote optional inputs.

Example: CALL O9832 PD=1 PB=1

Optional inputs
PB=b b= Show current probing system settings. VSTOD[26] stores the current
system configuration. PB=1 will display the current settings on the
GAUGING RESULTS screen as part of an Inspection Plus routine and will
turn on the probe. PB=2 will print the current settings to the GAUGING
RESULTS screen independent of an Inspection Plus program and will not
turn on the probe. PB=2 can be used to quickly check the settings.

VSTOD[26] (value will be divided by 25.4 in inch mode)


SupaTouch Optimised Not Prove out Probe turned No recovery Production
Signature optimised mode ON ON by O9832 in calibration mode ON
Bit 5 4 3 2 1 0

Decimal Weight 32 16 8 4 2 1

Publication No. H-2000-6550


Standard measuring cycles 6-23

PD=1.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.

PD=2.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 PD= input is not used, the cycles will run safely at
optimised feedrates.

Example 1 – turning the probe on


G56 H20 Z100. Apply a tool offset and move to a safe plane.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PX=—. PY=—. Move to a gauging position.


PF=—.

Example 2 – checking VSTOD[26] setting


CALL O9832 PB=2 Print the current system settings to GAUGING
RESULTS screen.

Sample output for PB=1 or 2:

VSTOD[26] CURRENT SETTING = 33


-------------------------------------------------------------------------------------------------
|Bit 2 |Bit 1 |Bit 0 |
|Probe on with O9832 |No recovery in calib |Production mode ON |
|0 |0 |1 |
-------------------------------------------------------------------------------------------------
|Bit 5 |Bit 4 |Bit 3 |
|Optimised |Not optimised |Prove out mode ON |
|1 |0 |0 |
-------------------------------------------------------------------------------------------------

Publication No. H-2000-6550


6-24 Standard measuring cycles

Probe stop (O9833)

Description
This cycle is used to switch the probe OFF.

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.

Format
CALL O9833

where [ ] denote optional inputs.

Example: CALL O9833

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.

CALL O9810 PZ=100. Retract to a safe plane with the tool offset still active.

CALL O9833 Switch off the probe.

G0 Z999. Retract.

continue

Publication No. H-2000-6550


Vector measuring cycles 7-1

Chapter 7

Vector measuring cycles

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 PK=4. or the
O9801 PK=5. 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.

Contained in this chapter


Angled surface measurement using the PA= and PD= inputs (O9821) .......................... 7-2

Angled surface measurement using the PX=, PY=, PZ= inputs (O9821) ........................ 7-4

Angled web or pocket measurement (O9822) ................................................................. 7-7

3-point bore or boss measurement (O9823).................................................................. 7-10

Publication No. H-2000-6550


7-2 Vector measuring cycles

Angled surface measurement using the PA= and PD= inputs


(O9821)

NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 PK=4. or the O9801 PK=5. 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.

PD=d
Y

90°
X
PA=a

−90°

Figure 7.1 Measuring an angled surface

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
CALL O9821 PA=a. PD=d. [PE=e. PF=f. PH=h. PM=m. PQ=q. PS=s. PT=t. PU=u. PV=v.
PW=w.]

where [ ] denote optional inputs.

Example: CALL O9821 PA=45.005 PD=50.005 PE=21. PF=0.8 PH=0.2 PM=0.2 PQ=10.
PS=1. PT=20. PU=0.5 PV=0.5 PW=2.

Publication No. H-2000-6550


Vector measuring cycles 7-3

Compulsory inputs
PA=a a= The direction of the probe measurement when measuring from the X+
axis direction.

PD=d d= The nominal distance to the surface (radial).

Optional inputs
See Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Cycle outputs”.

Example: Measuring an angled surface

50

X
45°

Figure 7.2 Measuring an angled surface

T01 M06 Select the probe.

G15 H1 X−40. Y20. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19). Alternatively,


use M19 to orientate the spindle.

CALL O9810 PZ=−8. PF=3000. Protected positioning move to the start position.

CALL O9821 PA=45. PD=50. Single surface measurement.


PT=10.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

The tool radius offset (10) is updated by the error of the surface position.

Publication No. H-2000-6550


7-4 Vector measuring cycles

Angled surface measurement using the PX=, PY=, PZ= inputs


(O9821)

NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 PK=4. or the O9801 PK=5. 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

Figure 7.3 Measuring an angled surface

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.

Publication No. H-2000-6550


Vector measuring cycles 7-5

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
CALL O9821 PX=x. PY=y. PZ=z. [PC=c. PH=h. PM=m. PQ=q. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9821 PX=25. PY=25. PZ=25. PC=1.

Compulsory inputs
At least one of these inputs is required.

PX=x x= The X-axis target position.

PY=y y= The Y-axis target position.

PZ=z z= The Z-axis target position.

Optional inputs
PC=c Used to adjust output values in variables VS64, VS65 and VS66 (see
“Outputs” below). It does not change the way cycle movements are
performed or the printed results (PW=1.) as XY offsets are always
considered. If the PC=c 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.

For other optional inputs, see Chapter 2, “Optional Inputs”.

Outputs
VS64 The X-axis modified position using the PC=c input.

VS65 The Y-axis modified position using the PC=c input.

VS66 The Z-axis modified position using the PC=c input.

For other outputs, see See Chapter 3, “Cycle outputs”.

Publication No. H-2000-6550


7-6 Vector measuring cycles

Example: XZ approach to the surface at 45°

P1 and P4 45°

P2

P3

Figure 7.4 XZ surface measurement

T01 M06 Select the probe.

G15 H1 X−5. Y20. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19). Alternatively,


use M19 to orientate the spindle.

CALL O9810 PX=−5. PZ=5. P1, protected positioning move to the start position (P2).
PF=3000.

CALL O9821 PC=2. PX=10. P3, measure the surface and return to P4 (see the note
PZ=−10. below).

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

The surface position for P3 is found and the results are stored in VS74, VS75 and VS76.

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.

Publication No. H-2000-6550


Vector measuring cycles 7-7

Angled web or pocket measurement (O9822)

NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 PK=4. or the O9801 PK=5. cycle to establish the vector stylus radius values
(see Chapter 5, “Probe calibration and SupaTouch optimisation”).

90° PA=a

PA=a

180° 0° PR=r
A−a
PD=d

PA=a

+Y
PR=−r
+X

PA=a

Figure 7.5 Measuring an angled web or pocket

Description
This cycle measures a web or pocket feature using two vectored measuring moves along
the XY axis.

Publication No. H-2000-6550


7-8 Vector measuring cycles

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
CALL O9822 PA=a. PD=d. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t. PU=u.
PV=v. PW=w.]

or

CALL O9822 PA=a. PD=d. PZ=z. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s. PT=t.
PU=u. PV=v. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9822 PA=45.005 PD=50.005 PZ=50. PE=21. PF=0.8 PH=0.2 PM=0.2
PQ=10. PR=10. PS=1. PT=20. PU=0.5 PV=0.5 PW=2.

Compulsory inputs
PA=a a= The angle of the surface to be measured from the X+ axis direction.

PD=d d= The nominal size of the feature.

PZ=z z= The absolute Z-axis position when measuring a web feature. If this is
omitted, a pocket cycle is assumed.

Optional inputs
PR=r 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 PR=+ input (and no PZ=z 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

For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Cycle outputs”.

Publication No. H-2000-6550


Vector measuring cycles 7-9

Example: Measuring an angled web


50

−10
30°

Figure 7.6 Measuring an angled web

T01 M06 Select the probe.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).


Alternatively, use M19 to orientate the spindle.

CALL O9810 PZ=10. PF=3000. Protected positioning move.

CALL O9822 PA=30. PD=50. Measure a 50 mm (1.9685 in) wide web at 30°.
PZ=−10. PS=2.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

continue

The centre line of the feature in the X axis is stored in work offset G15 H2.

Publication No. H-2000-6550


7-10 Vector measuring cycles

3-point bore or boss measurement (O9823)

NOTE: Before using this cycle, the probe must have been recently calibrated using either
the O9801 PK=4. or the O9801 PK=5. cycle to establish the vector stylus radius values
(see Chapter 5, “Probe calibration and SupaTouch optimisation”).

90°

PB=b

180° 0°
PA=a
PC=c

PR=r
−90°
PD=d

NOTE:
Angles are in the range ±180°.
PR=−r
Positive (+) angle: Counterclockwise direction.
Negative (−) angle: Clockwise direction.

Figure 7.7 3-point bore or boss measurement

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.

Publication No. H-2000-6550


Vector measuring cycles 7-11

Format
CALL O9823 PA=a. PB=b. PC=c. PD=d. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r. PS=s.
PT=t. PU=u.]

or

CALL O9823 PA=a. PB=b. PC=c. PD=d. PZ=z. [PE=e. PF=f. PH=h. PM=m. PQ=q. PR=r.
PS=s. PT=t. PU=u.]

where [ ] denote optional inputs.

Example: CALL O9823 PA=45.005 PB=150. PC=35.005 PD=50.005 PZ=50. PE=21.


PF=0.8 PH=0.2 PM=0.2 PQ=10. PR=10. PS=1. PT=20. PU=0.5

Compulsory inputs
PA=a a= The first angle for vector measurement, measured from the X+ axis
direction.

PB=b b= The second angle for vector measurement, measured from the X+ axis
direction.

PC=c c= The third angle for vector measurement, measured from the X+ axis
direction.

PD=d d= The nominal size of the feature.

PZ=z z= The absolute Z-axis position when measuring a boss feature. If this is
omitted, a bore cycle is assumed.

Optional inputs
PR=r 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 PR=+ input (and no PZ=z 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.

For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Cycle outputs”.

Publication No. H-2000-6550


7-12 Vector measuring cycles

Example: 3-point bore measurement (referred datum)


T01 M06 Select the probe.

G15 H1 X100. Y100. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in)


above.

CALL O9832 Switch on the probe (this includes M19).


Alternatively, use M19 to orientate the spindle.

CALL O9810 PZ=−10. PF=3000. Protected positioning move.

CALL O9823 PD=30. PA=30. PB=150. Measure a 30 mm (1.181 in) diameter bore.
PC=−90. PS=2.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

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 G15 H2.

Publication No. H-2000-6550


Additional cycles 8-1

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.

Contained in this chapter


4th axis measurement (O9818) ....................................................................................... 8-2

Bore/boss on PCD measurement (O9819) ...................................................................... 8-7

Stock allowance (O9820) ............................................................................................... 8-10

Storing multi-stylus data (O9830)................................................................................... 8-14

Loading multi-stylus data (O9831) ................................................................................. 8-16

Determining feature-to-feature data in the XY plane (O9834) ....................................... 8-18

Determining feature-to-feature data in the Z plane (O9834) .......................................... 8-22

Updating the statistical process control (SPC) tool offset (O9835) ................................ 8-26

Angle measurement in the X or Y plane (O9843) .......................................................... 8-28

Publication No. H-2000-6550


8-2 Additional cycles

4th axis measurement (O9818)


PY=y PX=x

Y0 (A0)

PZ=z
PZ=z

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 PK=1. or no PK= input) (using PK=2. input)

PY=y Y0 (C0)
PX=x
PX=x
X0
(C0)

PY=y

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 PK=3. input) (using PK=4. 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.

Publication No. H-2000-6550


Additional cycles 8-3

Application
Position the rotary axis to the expected angular position of the feature (e.g. the surface
normal to the Z axis). If the PS=s 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
PK=1. (A-axis setting)

CALL O9818 PY=y. PZ=z. [PK=k. PQ=q. PB=b. PS=s. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9818 PY=100. PZ=50. PK=1. PQ=10. PB=2. PS=1. PW=2.

PK=2. (B-axis setting)

CALL O9818 PX=x. PZ=z. PK=k. [PQ=q. PB=b. PS=s. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9818 PX=100. PZ=50. PK=2. PQ=10. PB=2. PS=1. PW=2.

PK=3. (C-axis setting)

CALL O9818 PX=x. PY=y. PK=k. [PQ=q. PB=b. PS=s. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9818 PX=100. PY=50. PK=3. PQ=10. PB=2. PS=1. PW=2.

PK=4. (C-axis setting)

CALL O9818 PX=x. PY=y. PK=k. [PQ=q. PB=b. PS=s. PW=w.]

where [ ] denote optional inputs.

Example: CALL O9818 PX=50. PY=100. PK=4. PQ=10. PB=2. PS=1. PW=2.

Publication No. H-2000-6550


8-4 Additional cycles

Compulsory inputs
PK=1. (A-axis setting)

PK=1. Select the orientation of the rotary axis (in this case, the A axis).

PY=y y= The distance between the Z1 and Z2 measurement positions in the


Y axis.

PZ=z z= The expected surface position in the Z axis.

NOTE: This is also the default orientation if no PK=k input is used.

PK=2. (B-axis setting)

PK=2. Select the orientation of the rotary axis (in this case, the B axis).

PX=x x= The distance between the Z1 and Z2 measurement positions in the


X axis.

PZ=z z= The expected surface position in the Z axis.

PK=3. (C-axis setting)

PK=3. Select the orientation of the rotary axis (in this case, the C axis).

PX=x x= The distance between the Y1 and Y2 measurement positions in the


X axis.

PY=y y= The expected surface position in the Y axis.

PK=4. (C-axis setting)

PK=4. Select the orientation of the rotary axis (in this case, the C axis).

PX=x x= The expected surface position in the X axis.

PY=y y= The distance between the X1 and X2 measurement positions in the


Y axis.

Optional inputs
PB=b 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 PB=0.25 tolerance.

For other optional inputs, see Chapter 2 “Optional inputs”.

Publication No. H-2000-6550


Additional cycles 8-5

Outputs
VS79 The measured position of the 4th axis.

VS83 The [Z1−Z2] value (or the [Y1−Y2] value).

VS84 The angle correction value.

Customising cycle O9818


Different machines and applications may require the 4th axis system variable number and
update direction to be changed. Edit cycle O9818 when it is installed to suit your machine.

Changing the axis update direction

PV04 = 1 (_1=CW*-1=CCW*UPDATE)

Change the PV04 value as required for each axis to be used. See the (A-AXIS), (B-AXIS)
and (C-AXIS) commented sections in the cycle.

Example 1: PK=2. – setting the B axis to a milled flat


T01 M06 Select the probe.

G56 H1 Z200. Activate offset 1 and position above the surface.

CALL O9832 Switch on the probe (this includes M19).

G0 B45. Position the B axis to 45°.

CALL O9810 PX=0. PY=0. PZ=20. Position 10 mm (0.394 in) above the surface.
PF=3000.

CALL O9818 PX=50. PZ=10. Measure at 50 mm (1.9685 in) centres, update G15
PK=2. PS=1. PB=5. H1 and set a tolerance of 5°.

CALL O9810 PZ=200. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

continue

Publication No. H-2000-6550


8-6 Additional cycles

Example 2: PK=3. – setting the C axis to a milled flat


T01 M06 Select the probe.

G56 H1 Z200. Activate offset 1 and position above the surface.

CALL O9832 Switch on the probe (this includes M19).

G0 C−90. Position the C axis to 90°.

X−40. Y−70.

CALL O9810 PZ=−10. PF=3000. Position 10 mm (0.394 in) below the surface.

CALL O9818 PX=50. PY=−50. Measure at 50 mm (1.9685 in) centres, update G15
PK=3. PS=1. PB=5. H1 and set a tolerance of 5°.

CALL O9810 PZ=200. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999. Move to Z limit.

continue

Publication No. H-2000-6550


Additional cycles 8-7

Bore/boss on PCD measurement (O9819)

90° PA=a

PK=k
180° 0°

−90°
PD=d

PZ=z

NOTE:
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise direction.
Negative (−) angle: Clockwise direction.

Cc PCD

Figure 8.5 Bore/boss on PCD measurement

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.

Publication No. H-2000-6550


8-8 Additional cycles

3. If a “PROBE IN CONTACT” condition occurs during any of the moves between


bore/boss features, a PATH OBSTRUCTED alarm occurs. The probe then stays in
position instead of returning to the start position as is usual. This is done for safety
reasons because the return path to the centre line of the PCD may be obstructed.

Format
Boss: CALL O9819 PC=c. PD=d. PZ=z. [PA=a. PB=b. PH=h. PM=m. PQ=q. PR=r.
PW=w.]

or

Bore: CALL O9819 PC=c. PD=d. PK=k. [PA=a. PB=b. PH=h. PM=m. PQ=q. PR=r.
PW=w.]

where [ ] denote optional inputs.

Example: CALL O9819 PC=28.003 PD=50.005 PK=11. PA=45.005 PB=2. PH=0.2


PM=0.2 PQ=10. PR=10. PW=2.

Compulsory inputs
PC=c c= The PCD of the bore/boss feature.

PD=d d= The diameter of the bore/boss.

PK=k k= The absolute Z-axis position at which the bore is measured.

PZ=z z= The absolute Z-axis position at which the boss is measured.

Optional inputs
PA=a a= The angle measured from the X axis to the first bore/boss feature.
Default value: 0.

PB=b b= The number of bore/boss features on the PCD.


Default value: 1.

For other optional inputs, see Chapter 2, “Optional inputs”.

Publication No. H-2000-6550


Additional cycles 8-9

Outputs
The feature measurements are stored in variables VS75 to VS89 (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 diameter of each bore/boss.

 The XY absolute position, angle position and PCD of each feature.

 The feature number.

 The error of the size and position.

Example: Measuring four holes on a PCD


T01 M06 Select the probe.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in)


above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=10. PF=3000. Protected positioning move to 10 mm (0.394 in)


above the plate.

CALL O9819 PA=45. PB=4. PC=100.

(cont.) PD=16. PK=−10. Measure four 16 mm (0.630 in) diameter holes


starting at 45°.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

continue

Publication No. H-2000-6550


8-10 Additional cycles

Stock allowance (O9820)

P (6 max.) Z
P2
Y
P1
X

P (6 max.)

P1 P (6 max.)
P1

P2
P2

Figure 8.6 Measuring the stock allowance

Description
The cycle is used in conjunction with the XYZ single surface measurement cycle O9811
and is used to establish the maximum and minimum stock condition of the surface at
defined positions.

Application
The probe should be positioned, with its tool offset active, adjacent to the surface. Call
subprogram O9811 (XYZ single surface measurement) followed by O9820 with NO
inputs.

Move adjacent to the next measuring position and call subprogram O9811 followed by
O9820, again with NO inputs. Repeat this procedure for all points required to be gauged
but, after the last measurement, call subprogram O9820 with a PS=s input, if it is required
to update a work offset, and/or a PU=u input to set an upper tolerance.

Publication No. H-2000-6550


Additional cycles 8-11

NOTES:

When a work offset is set, the surface position is at the minimum measured position and
the stock value is seen in VS86.

When a work offset is not set, the nominal position is assumed and the maximum and
minimum values are seen in VS84 and VS85 respectively.

The usual inputs for subprogram O9811 can be used to set a tolerance, change probe
overtravel, set an upper tolerance etc for the individual moves, but the use of PT=t or
PS=s to update the work or tool offset should NOT be programmed when used in
conjunction with this subprogram.

Format
CALL O9820 When taking points.

CALL O9820 PS=s PU=u After the final measuring point.

Compulsory inputs
It is important that there are NO inputs to O9820 until after the last measuring routine, or
else the results will be incorrect.

Optional inputs
For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
With the PU=u input only Upper tolerance exceeded. Flag VS88 is set to 3.

With the PU=u and PS=s inputs Excess stock. Flag VS88 is set to 6.

VS84 The maximum value (metal condition).

VS85 The minimum value (metal condition).

VS86 The variation (stock allowance).

PU=u INPUT ONLY PU=u AND PS=s INPUTS

Upper tolerance exceeded Excess stock

VS85 PU=u VS85


PU=u VS84 VS84

VS86
Nominal Work Nominal
position offset set position
to this
position

Figure 8.7 Outputs for the stock allowance cycle

Publication No. H-2000-6550


8-12 Additional cycles

Example 1: Checking a Z surface for stock variation

P3 Z
P2
Y
P1

X50
P1 at X55. Y55.
P2 at X155. Y55.
Y50 P3 at X55. Y155.

Z0

Figure 8.8 Checking a Z surface for stock variation

T20 M06 Select the probe.


G56 Z100. H20. Activate offset 20, go to 100 mm
(3.94 in).
CALL O9832 Switch the probe on.
CALL O9810 PX=55. PY=55. PZ=20. PF=3000. Protected positioning move to P1.
CALL O9811 PZ=0. Measure at P1.
CALL O9820 Read results.
CALL O9810 PX=155. PY=55. PZ=20. Protected positioning move to P2.
CALL O9811 PZ=0. Measure at P2.
CALL O9820 Read results.
CALL O9810 PX=55. PY=155. PZ=20. Protected positioning move to P3.
CALL O9811 PZ=0. Measure at P3.
CALL O9820 PU=2. Read results and set a 2 mm (0.079 in)
tolerance.
CALL O9833 Switch the probe off.
continue machining

Publication No. H-2000-6550


Additional cycles 8-13

Example 2: Checking a Y surface and updating a work offset


Z

X50

P1 at X55. Z45.
P2 Y50 P2 at X155. Z45.
P1
Z50 P3 at X55. Z20.

P3

Figure 8.9 Checking a Y surface and updating a work offset

Select the probe.

T20 M06 Select the probe.


G15 H1. Select work offset 1.
G56 Z100. H20. Activate offset 20, go to
100 mm (3.94 in).
CALL O9832 Switch the probe on.
CALL O9810 PX=55. PY=40. PZ=45. PF=3000. Protected positioning move to
P1.
CALL O9811 PY=50. Measure at P1.
CALL O9820 Read results.
CALL O9810 PX=155. PZ=45. Protected positioning move to
P2.
CALL O9811 PY=50. Measure at P2.
CALL O9820 Read results.
CALL O9810 PY=50. PZ=20. Protected positioning move to
P3.
CALL O9811 PY=50. Measure at P3.
CALL O9820 PS=1. Read results and set work
offset 1.
CALL O9833 Switch the probe off.
continue machining

Publication No. H-2000-6550


8-14 Additional cycles

Storing multi-stylus data (O9830)

Probe 1 Probe 2

PK=1 PK=2
Calibration data Calibration data

Figure 8.10 Storing multi-stylus data

Description
Up to five 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. The data is stored in a file in MD1.

Application
Calibrate the stylus and then run macro O9830 with PK=1 to 5 to store VSTOD[21] to [40].
The values are recalled when macro O9831 is run.

Format
CALL O9830 PK=

Example: CALL O9830 PK=1.

Publication No. H-2000-6550


Additional cycles 8-15

Compulsory input
PK = This is the multi-stylus probe number that is used for storing the
calibration data in the following VSTOD variables:
Active calibration data [VSTOD] Store location
PK=1 [21] to [40] MD1\PROBE1.TXT
PK=2 [21] to [40] MD1\PROBE2.TXT
PK=3 [21] to [40] MD1\PROBE3.TXT
PK=4 [21] to [40] MD1\PROBE4.TXT
PK=5 [21] to [40] MD1\PROBE5.TXT

Example: Multi-stylus store PK=1.


CALL O9832 Switch on the probe.
CALL O9810 PZ=−5. PF=3000. Protected positioning move for Z.
CALL O9801 PK=4 PD=50.001 Calibrate in or on a reference feature.
CALL O9830 PK=1. Store the calibration values for multi-stylus PK=1.
CALL O9810 PZ=100. Protected positioning move.
CALL O9833 Switch off the probe.
M30 End of the program.

Publication No. H-2000-6550


8-16 Additional cycles

Loading multi-stylus data (O9831)

Probe 1 Probe 2

PK=1 PK=2
Calibration data Calibration data

Figure 8.11 Loading multi-stylus data

Description
This macro is used (in conjunction with O9830) to load stored calibration data for a
specific probe/stylus configuration into the active calibration variable range. It must be run
before using the probe and stylus. Run macro O9831 with PK=1 to 5 to recall calibration
data for VSTOD[21] to [40].

An alarm will occur if insufficient or incorrect data is present in the commanded TXT file.

Application
The program must be run immediately before a measuring cycle to select the correct
probe calibration data. The PK= input determines the data that is to be loaded.

Format
CALL O9831 PK=

Example: CALL O9831 PK=1.

Publication No. H-2000-6550


Additional cycles 8-17

Compulsory input
PK = This is the multi-stylus probe number that is used for recalling the
calibration data. For a given stylus, the PK= input number must always be
the same as that used to store the calibration data when using O9830.

The recalled data will be loaded into the following VSTOD variables:
Active calibration data [VSTOD] Store location
PK=1 [21] to [40] MD1\PROBE1.TXT
PK=2 [21] to [40] MD1\PROBE2.TXT
PK=3 [21] to [40] MD1\PROBE3.TXT
PK=4 [21] to [40] MD1\PROBE4.TXT
PK=5 [21] to [40] MD1\PROBE5.TXT

Example: Multi-stylus load PK=1.


CALL O9832 Switch on the probe.
CALL O9810 PZ=−10. PF=3000. Protected positioning move.
CALL O9831 PK=1. Load the calibration values for multi-stylus PK=1.
CALL O9814 PD=30. PS=1. Measure a 30 mm (1.181 in) diameter bore.
CALL O9810 PZ=350. Protected positioning move.
CALL O9833 Switch off the probe.
continue

Publication No. H-2000-6550


8-18 Additional cycles

Determining feature-to-feature data in the XY plane (O9834)

NOTE:
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise
PD=d direction.
P2 Negative (−) angle: Clockwise
direction.

P1 PY=y
PA=a

PX=x

Figure 8.12 Determining feature-to-feature data in the XY plane

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 VS75 to VS79 as
normal.

Programming CALL O9834 without any inputs has the effect of copying the data from
these variables into variables VS80 to VS84 for P1.

Values for P2 are obtained by running a second measuring cycle which stores new data in
variables VS75 to VS79.

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 CALL O9834 with suitable


inputs after the second measuring cycle, to compare the data for P1 (in variables VS80 to
VS84) with the data for P2 (in variables VS75 to VS79).

Publication No. H-2000-6550


Additional cycles 8-19

Format
CALL O9834 PX=x. [PE=e. PF=f. PH=h. PM=m. PS=s. PT=t. PU=u. PV=v. PW=w.]
or
CALL O9834 PY=y. [PE=e. PF=f. PH=h. PM=m. PS=s. PT=t. PU=u. PV=v. PW=w.]
or
CALL O9834 PX=x. PY=y. [PB=b. PE=e. PH=h. PM=m. PS=s. PU=u. PW=w.]
or
CALL O9834 PA=a. PD=d. [PB=b. PE=e. PH=h. PM=m. PS=s. PU=u. PW=w.]
or
CALL O9834 (with no inputs).

where [ ] denote optional inputs.

Examples: CALL O9834 PX=100. PE=21. PF=0.8 PH=0.2 PM=0.2 PS=1. PT=20.
PU=0.5 PV=0.5 PW=2.
or
CALL O9834 PY=100. PE=21. PF=0.8 PH=0.2 PM=0.2 PS=1. PT=20.
PU=0.5 PV=0.5 PW=2.
or
CALL O9834 PX=100. PY=100. PB=2. PE=21. PH=0.2 PM=0.2 PS=1.
PU=0.5 PW=2.
or
CALL O9834 PA=45.005 PD=50.005 PB=2. PE=21. PH=0.2 PM=0.2 PS=1.
PU=0.5 PW=2.

NOTES:

1. Updating a tool offset with the PT= input is possible only if O9811 is used for the P2
data. Otherwise a T 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 CALL O9834 (without any inputs) is used, data is copied as follows:
from VS75 to VS70
VS76 VS71
VS77 VS72
VS78 VS73
VS79 VS74

Publication No. H-2000-6550


8-20 Additional cycles

Compulsory inputs
PA=a a= The angle of P2 with respect to P1 when measured from the X+ axis
(angles are between ±180°).

PD=d d= The minimum distance between P1 and P2.

PX=x x= The nominal incremental distance in the X axis.

PY=y y= The nominal incremental distance in the Y axis.

(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”.

Example 1: Measuring the incremental distance between two


holes
CALL O9810 PX=30. PY=50. Protected positioning move.
PF=3000.

CALL O9810 PZ=−10. Protected positioning move.

CALL O9814 PD=20. P1 20 mm (0.787 in) bore.

CALL O9834 Store the data.

CALL O9810 PZ=10. Protected positioning move.

CALL O9810 PX=80. Move to the new position.


PY=78.867

CALL O9810 PZ=−10. Protected positioning move.

CALL O9814 PD=30. P2 30 mm (1.181 in) bore.

and either this


CALL O9834 PX=50. Incremental distance measurement with 0.1 mm
PY=28.867 PM=0.1 (0.0039 in) true position tolerance.

or this
CALL O9834 PA=30.
PD=57.735 PM=0.1

Publication No. H-2000-6550


Additional cycles 8-21

Example 2: Measuring a surface to bore


CALL O9810 PX=10. PY=50. Protected positioning move.
PF=3000.

CALL O9810 PZ=−10. Protected positioning move.

CALL O9811 PX=0. P1 at X0 mm (0 in) position.

CALL O9834 Store the data.

CALL O9810 PZ=10. Protected positioning move.

CALL O9810 PX=−50. Move to the new position.

CALL O9810 PZ=−10. Protected positioning move.

CALL O9814 PD=20.5 P2 20.5 mm (0.807 in) bore.

CALL O9834 PX=−50. PH=.2 Measure the distance −50 mm (−1.97 in).

Publication No. H-2000-6550


8-22 Additional cycles

Determining feature-to-feature data in the Z plane (O9834)

P2
+PA=a
PZ=z
+PZ=z
P1

+PD=d
Z+
Y+
X+

NOTE:
Angles are in the range ±180°.
P1
Positive (+) angle: Counterclockwise direction.
+PA=a
Negative (−) angle: Clockwise direction.
−PZ=z
P2

−PD=d

Figure 8.13 Determining feature-to-feature data in the Z plane

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 VS75 to VS79 as normal.

Programming CALL O9834 without any inputs has the effect of copying the data from
these variables into variables VS70 to VS74 for P1.

Values for P2 are obtained by running a second measuring cycle which stores new data in
variables VS75 to VS79.

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 CALL O9834 with suitable


inputs after the second measuring cycle, to compare the data for P1 (in variables VS70 to
VS74) with the data for P2 (in variables VS75 to VS79).

Publication No. H-2000-6550


Additional cycles 8-23

Format
CALL O9834 PZ=z. [PE=e. PF=f. PH=h. PM=m. PS=s. PT=t. PU=u. PV=v. PW=w.]
or
CALL O9834 PA=a. PZ=z. [PB=b. PW=w.]
or
CALL O9834 PD=d. PZ=z. [PB=b. PW=w.]
or
CALL O9834 (with no inputs)

where [ ] denote optional inputs.

Examples: CALL O9834 PZ=50. PE=21. PF=0.8 PH=0.2 PM=0.2 PS=1. PT=20. PU=0.5
PV=0.5 PW=2.
or
CALL O9834 PA=45.005 PZ=50. PB=2. PW=2.
or
CALL O9834 PD=50.005 PZ=50. PB=2. PW=2.
or
CALL O9834 (with no inputs)

NOTES:

1. Updating a tool offset with the PT=t input is possible only if O9811 is used for the
P2 data. Also the PA=a and PZ=z and PD=d and PZ=z inputs cannot be used when
updating tool offsets as this suggests an angled surface and a T NOT ALLOWED
alarm results.

2. Angles. These are with respect to the XY plane. Use angles in the range ±180°.

3. When CALL O9834 (without any inputs) is used, data is copied as follows:
from VS75 to VS70
VS76 VS71
VS77 VS72
VS78 VS73
VS79 VS74

Inputs

PA=a and PZ=z, or PD=d and PZ=z inputs

1. The PD=+d/PD=−d values should be used to indicate the direction of P2 with


respect to P1.

2. Angles are between ±180°.

3. A positive PA=a (PA=+a) angle is in the counterclockwise direction.

Publication No. H-2000-6550


8-24 Additional cycles

PZ=z input only

The PZ=+z/PZ=−z values should be used to indicate the direction of P2 with respect to
P1.

Compulsory inputs
PZ=z z= The nominal incremental distance in the Z axis.
and
PA=a a= The angle of P2 with respect to P1 measured from the XY plane
(angles are between ±180°).

PZ=z z= The nominal incremental distance in the Z axis.


and
PD=d d= The minimum distance between P1 and P2 measured in the XY
plane.

PZ=z z= The nominal incremental distance in the Z axis.


or
(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”.

Example 1: Measuring the incremental distance between two


surfaces
CALL O9810 PX=30. PY=50. Protected positioning move.
PF=3000.

CALL O9810 PZ=30. Protected positioning move.

CALL O9811 PZ=20. P1 20 mm (0.787 in) surface.

CALL O9834 Store the data.

CALL O9810 PX=50. Move to the new position.

CALL O9811 PZ=15. P2 15 mm (0.591 in) surface.

CALL O9834 PZ=−5. PH=.1 The feature to feature is at −5 mm (−0.197 in).

Publication No. H-2000-6550


Additional cycles 8-25

Example 2: Measuring an angled surface


CALL O9810 PX=30. PY=50. Protected positioning move.
PF=3000.

CALL O9810 PZ=30. Protected positioning move.

CALL O9811 PZ=20. P1 at the 20 mm (0.787 in) position.

CALL O9834 Store the data.

CALL O9810 PX=57.474 Move to the new position.

CALL O9811 PZ=10. P2 at the 10 mm (0.394 in) position.

and either this


CALL O9834 PD=27.474 Measure the slope between points P2 and P1 with an
PZ=−10. PB=.5 angle tolerance of ±0.5°.

or this
CALL O9834 PA=−20. PZ=−10. Measure the slope of −20° (in the clockwise direction)
PB=.5 with an angle tolerance of ±0.5°.

Publication No. H-2000-6550


8-26 Additional cycles

Updating the statistical process control (SPC) tool offset (O9835)


PC=c

PC=c The run of measurements that are


+ Control limit out of limit prior to correction.

PV=v

PV=v

− Control limit

Figure 8.14 Updating the SPC tool offset

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 (PT=t input). A component
tolerance (PH=h input) can be used if required.

The SPC cycle should follow. An average value is accumulated until a specified
continuous run 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 PM=m Common Variable pair to 0 on the
parameter page.

Format
CALL O9835 PT=t PM=m [PV=v PC=c PF=f]

where [ ] denote optional inputs.

Example: CALL O9835 PT=20. PM=199. PV=0.25 PC=4. PF=0.8

Publication No. H-2000-6550


Additional cycles 8-27

Compulsory inputs
PM=m m= A Common Variable pair that is used for storing the average value and
counter.
m = Accumulated average value store location.
m+1 = Counter store location.

PT=t t= The tool offset number to be updated.

Optional inputs
PC=c c= The number of measurements that are out of tolerance before corrective
action is taken.
Default value: 3.

For other optional inputs, see Chapter 2, “Optional inputs”.

Example: Updating an SPC tool offset


From previous

CALL O9814 PD=50. PH=0.5 Measure a bore to 0.5 mm (0.0197 in) tolerance.

CALL O9835 PT=30. PM=31. PT=30. = The tool offset number for updating.
PV=0.1 PC=4. PM=31. = Spare Common Variable pair (31 and 32).
PV=0.1 = Control limit.
PC=4. = Run of measurements that are out of limit.

continue

Publication No. H-2000-6550


8-28 Additional cycles

Angle measurement in the X or Y plane (O9843)

NOTE: PD=d
Angles are in the range ±180°.
Positive (+) angle: Counterclockwise
direction.
Negative (−) angle: Clockwise direction.
PA=a

PD=d X+ (A0)

PY=y
Y+

X+
PX=x

Figure 8.15 Measuring an angled surface in the X or Y plane

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
CALL O9843 PX=x. PD=d. [PA=a. PB=b. PQ=q. PW=w. PZ=z.]
or
CALL O9843 PY=y. PD=d. [PA=a. PB=b. PQ=q. PW=w. PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9843 PX=50. PD=30. PA=45. PB=0.2 PQ=15. PW=1. PZ=10.

Publication No. H-2000-6550


Additional cycles 8-29

Compulsory inputs
PD=d d= The distance moved parallel to the X axis or Y axis between the two
measuring positions.

PX=x x= The mid-point position of the surface.


An PX=x input results in a cycle measuring in the X-axis direction.

PY=y y= The mid-point position of the surface.


A PY=y input results in a cycle measuring in the Y-axis direction.

NOTE: Do not mix the PX=x and PY=y inputs.

Optional inputs
PA=a 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°

PZ=z z= Z measuring height position. It is sometimes desirable to pre-position


above the feature to avoid clamps and obstacles. Using this input, the
cycle will position down to the PZ=z height, take the measurement and
retract for every measuring position.
Default value: no move.

For other optional inputs, see Chapter 2, “Optional inputs”.

Outputs
VS79 The surface angle measured from the X+ direction.

VS83 The measured height difference.

VS84 The surface angle error.

Alarms
For details of the alarms, see Chapter 9, “Alarms and messages”.

Publication No. H-2000-6550


8-30 Additional cycles

Example: Measuring an angled surface


30

45°

Y30
Y+

X+
X30

Figure 8.16 Example of an angled surface measurement

CALL O9810 PX=30. PY=50. PZ=100. Protected positioning move.


PF=3000.

CALL O9810 PZ=−15. Protected positioning move to the start


position.

CALL O9843 PY=30. PD=30. PA=45. Angle measurement.

CALL O9810 PZ=100. Retract to a safe position.

continue

G17

G11 X0. Y0. P=VS79 Rotate the co-ordinate system by the angle.

continue the machining program

NOTE: The Renishaw probe cycles cannot be used while co-ordinate rotation is in force,
i.e. cancel code G10.

Publication No. H-2000-6550


Alarms and messages 9-1

Chapter 9

Alarms and messages

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.

This chapter describes 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.

Contained in this chapter


General alarms................................................................................................................. 9-2

Messages ......................................................................................................................... 9-6

Publication No. H-2000-6550


9-2 Alarms and messages

General alarms
Format: VS88 flag
(OUT OF TOLERANCE) Updates the offset if 1
(OUT OF POSITION) the cycle start button is 2
(ANGLE OUT OF TOLERANCE) pressed to continue 4
(DIA OFFSET TOO LARGE) 5

(UPPER TOL EXCEEDED) No offset update if the 3


(EXCESS STOCK) cycle start button is 6
pressed to continue

Action: If message, press cycle start to continue.

If alarm, this is a reset condition. Restart the program from a safe position.

Format: 100 (PROBE OFF ERROR)

Cause: The probe stop cycle O9833 raised this error because it failed to switch the
probe off.

Action: Check that VS53 (probe on type) and VS54 (probe off type) are set correctly in
O9724 of RENSP.SSB. See Appendix A for details.

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.

Check that the probe is not faulty.

This is a reset condition. Restart the program from a safe position.

Format: 101 (PROBE START ERR)

Cause: The probe start cycle O9832 raised this error because it failed to switch the
probe on.

Action: Check that VS53 (probe on type) and VS54 (probe off type) are set correctly in
O9724 of RENSP.SSB. See Appendix A for details.

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.

Check that the probe is not faulty.

Edit the program and start again from a safe start position.

This is a reset condition.

Format: 103 (O9724 PROBE ON)

Cause: The probe start cycle O9832 raised this error because VS53 was not set
correctly in O9724 of RENSP.SSB.

Action: Check that VS53 (probe on type) is set correctly in O9724. See Appendix A for
details.

Publication No. H-2000-6550


Alarms and messages 9-3

Format: 104 (O9724 PROBE OFF)

Cause: The probe stop cycle O9833 raised this error because VS54 was not set
correctly in O9724 of RENSP.SSB.

Action: Check that VS54 (probe off type) is set correctly in O9724. See Appendix A for
details.

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 (XYZINPUT MISSING)
91 (VS70- VS79 MISSING)
91 (H NOT ALLOWED)
91 (M NOT ALLOWED)
91 (S NOT ALLOWED)
91 (T NOT ALLOWED)
91 (X0 NOT ALLOWED)
91 (Y0 NOT ALLOWED)
91 (ONLY WITH 9811)
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 OUT OF RANGE)

Action: Edit the program and start again from a safe start position.

This is a reset condition.

Publication No. H-2000-6550


9-4 Alarms and messages

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.

This is a reset condition.

Format: 87 (UNEXPECTED TOUCH)

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.

This is a reset condition.

Format: 88 (NO FEEDRATE)

Cause: This occurs only during a protected positioning cycle.

Action: Edit the program. Insert the PF=___ code input and start again from a safe
position.

This is a reset condition.

Format: 89 (NO TOOL LEN ACT)

Cause: G56 must be active before the cycle is called.

Action: Edit and start again from a safe position.

This is a reset condition.

Format: 92 (PROBE IN CONTACT)

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.

This could be due to swarf trapped around the probe eyelid.

Action: Clear the fault and start again from a safe start position.

This is a reset condition.

Publication No. H-2000-6550


Alarms and messages 9-5

Format: 93 (NO PROBE CONTACT)

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.

This is a reset condition.

Format: 102 (STAND OFF SMALL)

Cause: During probe calibration a trigger has taken place while the machine was
accelerating or decelerating, rendering the skip value invalid.

Action: Increase the PR=r or PQ=q inputs or the probe stand-off distance prior to
measurement.

This is a reset condition.

Format: 120 (M101 NOT ALLOWED)

Cause: The machine characteristics, calculated measuring feedrate and restricted


space around the GoProbe training part mean this calibration cannot be used.

Action: Please calibrate on a ring gauge or calibration sphere where the clearances are
greater.

This is a reset condition.

Format: 193 (RECALIBRATE)

Cause: Optimisation has been carried out, so the probe needs to be calibrated using the
new optimisation values.

Action: Calibrate the probe in X,Y and Z.

Publication No. H-2000-6550


9-6 Alarms and messages

Messages

Message: (CHECK GAUGING RESULTS SCREEN)

Cause: Optimisation results are displayed on the GAUGING RESULTS screen for
optimisation results (press DISPLAY CHANGE, select GAUGING RESULTS).

Publication No. H-2000-6550


Configuration 10-1

Chapter 10

Configuration

This chapter contains setting information and details about the program variables used in the
Inspection Plus software.

Contained in this chapter


General .......................................................................................................................... 10-2
Editing the settings program O9724............................................................................... 10-2
Setting VS60 (ALARM SETTINGS) ........................................................................ 10-2
Setting VS53 and VS54 (PROBE ON/OFF COMMANDS) ..................................... 10-3
Setting VS52 (REPORTER OUTPUT) .................................................................... 10-3
Prove-out mode feedrate ........................................................................................ 10-3
Setting the in-position checking tolerance (VS63) .................................................. 10-3
Adjusting the back-off factor (VSTOD[27]) ............................................................. 10-4
Adjusting the fast positioning feedrate (VSTOD[30]) .............................................. 10-4
Editing the basic measure program O9726 ................................................................... 10-4
Use of variables ............................................................................................................. 10-4
Local variables ........................................................................................................ 10-4
System variables ..................................................................................................... 10-5
Common retained variables .................................................................................... 10-6

Publication No. H-2000-6550


10-2 Configuration

General
In general, this software is self-configuring and, apart from selecting the probe on/off method,
will run “out of the box”. 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.

Editing the settings program O9724


This program is called at the beginning of each cycle to establish the necessary modal
information. The following setting adjustments can be made:

Setting VS60 (ALARM SETTINGS)


VS60=0 (ALARM SETTINGS) Write Flag/Flag Error bit to store.
Set to 0 for Flag and Alarm.
Set to 1 for Flag Only.

Using the “flag only” method

It is expected that the settings to enable “flag only” alarms will suit FMS machining cells and
Reporter output where the requirement is to run unmanned. The process error flag VS88 will
be set and it should be monitored after the relevant probe cycles for corrective action.

Example
CALL O9812 PX=30. PH=0.2 Set the tolerance on the measured size.

IF[VS88 EQ 1] GOTO N999 Test for an out-of-tolerance condition.

continue the part program

GOTO N1000

N999 CALL O5001 Pallet change. This changes the pallet to select the
next component for machining (details are machine-
dependent).

GOTO N1 Go to the start of the program.

N1000

Publication No. H-2000-6550


Configuration 10-3

Setting VS53 and VS54 (PROBE ON/OFF COMMANDS)

VS53=1 (PROBE ON COMMAND) 1=M127 ON, 2=SPIN ON,3=NO ON COMMAND/


DONT CHECK (used in programs O9832 and
O9833).

VS54=1 (PROBE OFF COMMAND) Change to: 1=M127 OFF, 2=SPIN OFF,
3=M367 OFF, 4=NO OFF COMMAND/DONT
CHECK (used in programs O9832 and O9833).

Setting VS52 (REPORTER OUTPUT)

VS52=0 (0=NO REPORTER OUTPUT, 1=REPORTER


OUTPUT).

Using Reporter

If VS52=1 and the PW command is added (with a 0.1 suffix e.g. PW=3.1) to O9832/O9833
and any measurement cycle, then the Inspection Plus measured data will be output to
Renishaw’s PC based Reporter software (Renishaw part number A-5999-4400).

Prove-out mode feedrate


For prove-out work, the positioning feedrate is reduced by 50% (i.e. =.5 factor) as standard,
but the amount in Z (VS33=VS33*.5) and XY (VS59=VS59*.5) can be modified by changing
the .5 factor.

VS33=VS33*.5
VS59=VS59*.5
N15

Setting the in-position checking tolerance (VS63)

NOTE: It is not usual to modify this setting.

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 IN CONTACT, NO
PROBE CONTACT or UNEXPECTED TOUCH alarm may result from this test.

Edit program O9724 as follows:

VS63 = .05 (POSITION ZONE MM)


VS63 = .002 (POSITION ZONE INCH)

Edit the metric (.05) and inch (.002) values as a pair to the required new tolerance.

Publication No. H-2000-6550


10-4 Configuration

Adjusting the back-off factor (VSTOD[27])

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.3 is installed by the software. The actual factor should normally be
between 0 and 1. Reduce the value to reduce the back-off distance.

Adjusting the fast positioning feedrate (VSTOD[30])

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.

Editing the basic measure program O9726


PV29=0(1-TOUCH*RETRIES) See note 1
PV32=.1(DWELL*SG*PROBE-SECONDS) See note 2
PV33=1.1(OPTIMISED BOF) See note 3

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 PV29 value.

Note 2 Dwell or wait between the fast first touch and second probing touch. For kinematic
probes (OMP40, OMP60 etc.) the value should be 0.1, and for RENGAGE probes
(OMP400, OMP600 etc.) the value should be 0.3.

Note 3 Optimisation calculates the back-off distance and further adjustment should not be
necessary. However, PV33 provides a further opportunity to increase or decrease
the back-off distance after the first probing touch.

Use of variables
Local variables
PA to PZ These are used within each program as required for calculation etc.

PV1 to PV99

Publication No. H-2000-6550


Configuration 10-5

System variables
VS1 to VS13 Used by O9731 for vector radius calculation.

VS33 Z fast positioning feedrate (in the units of the machine). This is read in
from the VSTOD[30] value and the units converted.

VS52 Controls output of results to Reporter.

VS53 Setting variable used in program O9724.

VS54 Setting variable used in program O9724.

VS56 Active tool offset amount.

VS57 Modal feedrate used in protected positioning subprogram O9810.

VS58 RADIUS TOO LARGE flag in cycles O9812, O9814, O9822 and O9823
(also used for a temporary ATAN store in program O9731).

VS59 XY fast positioning feedrate (in the units of the machine). This is read in
from the VSTOD[30] value and the units converted.

VS60 Setting variable used in program O9724.

VS61 Print option. The component number is incremented by 1 with each


program heading. To reset, state VS61 = 0.

VS62 Print option. The feature number is incremented by 1 with each print
program call. To reset, state VS62 = 0.

VS63 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 IN CONTACT or NO PROBE CONTACT alarm.

VS64 Stored X skip position at the end of the basic move cycle (O9726).

VS65 Stored Y skip position at the end of the basic move cycle (O9726).

VS66 Stored Z skip position at the end of the basic move cycle (O9726).

VS67 X average skip position at the end of the X diameter move cycle
(O9721).

VS68 Y average skip position at the end of the Y diameter move cycle
(O9722).

VS69 Inch/metric multiplier (1/25.4 [0.03937]/1.0 factor).

VS70 to VS74 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 VS75 to VS79.

VS75 to VS89 See Chapter 3, “Cycle outputs”, for information.

VS90 to VS99 Used by O9731, O9823, SupaTouch and O9825

Publication No. H-2000-6550


10-6 Configuration

Common retained variables


VSTOD[21] (XRAD) X calibration radius.

VSTOD[22] (YRAD) Y calibration radius.

VSTOD[23] (XOFF) X-axis stylus offset.

VSTOD[24] (YOFF) Y-axis stylus offset.

VSTOD[25]ST (R-ADJ) Adjustment used for recovery measuring feedrate.

VSTOD[26] (FLAG) Software status flag used for internal setting and monitoring
of the cycles.

VSTOD[27] Calculated probe delay (trigger filter + transmission delay) ST.


Back-off factor, if SupaTouch optimisation has not taken place.

VSTOD[28]ST Stopping distance factor (SDF).

VSTOD[29] Measuring feedrate (MFR).

VSTOD[30] Fast positioning federate (FPF).

VSTOD[31] (30°)
VSTOD[32] (60°)
VSTOD[33] (120°)
VSTOD[34] (150°) (VRAD) Vector calibration data storage.
VSTOD[35] (210°)
VSTOD[36] (240°)
VSTOD[37] (300°)
VSTOD[38] (330°)

VSTOD[39] (ZRAD) Z calibration radius used for 3D vector measuring.

VSTOD[40] (SRAD) Nominal stylus radius used for 3D vector measuring.

Publication No. H-2000-6550


General information 11-1

Chapter 11

General information

This chapter contains general information and reference material that is relevant to the
Inspection Plus software package.

Contained in this chapter


Tolerances ..................................................................................................................... 11-2

True position tolerances ................................................................................................ 11-3

Experience values PE=e................................................................................................ 11-3


Reason for using this option ................................................................................... 11-3

Print program (O9730) ................................................................................................... 11-4


Example of printing a cycle output.......................................................................... 11-4
Variables VS61 and VS62 ...................................................................................... 11-4

Using the Okuma gauging screen ................................................................................. 11-5

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

General probing applications ......................................................................................... 11-6


Example 1: Part identification ................................................................................. 11-6
Example 2: Probe measure every nth component ................................................. 11-7

Output flow (bore/boss and web/pocket cycles) ............................................................ 11-8

Publication No. H-2000-6550


11-2 General information

Tolerances
Inputs PU=u, PH=h and PV=v 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.

c = Area where the PF=f input is effective in percentage feedback. F (0 to 1) gives


0% to 100% feedback to the tool offset.
Example: PF=0.5 will feed back 50% as the error.
d = OUT OF TOLERANCE alarm occurs. The tolerance value that applies to the
size of the feature is defined by input PH=h.

e = PU=u upper tolerance. If this value is exceeded, no tool offset or work offset is
updated and the cycle stops with an alarm. This tolerance applies to both size
and position where applicable.

Figure 11.1 Size and tool offset update tolerances

Publication No. H-2000-6550


General information 11-3

True position tolerances


For a true position tolerance (PM=m input), see Figure 11.2 below.

Axis
Axis ofofdatum
datum Possible
Possible axes

True position
True position
Tolerance 0.1
Tolerance
(Mm input)
(Mm input)

Figure 11.2 Cylinders centred on true positions

Experience values PE=e


The measured size can be adjusted by an amount stored in a spare tool offset.

Example

Measure a 40 mm diameter and update tool offset 20.

CALL O9814 PD=40. PT=20. PE=21. The experience value stored in tool length offset
21 will be added to the measured size.

Reason for using this option


Component clamping forces in some applications can influence the measured size.
Therefore, an adjustment value to relate measurement to a traceable standard, such as a
co-ordinate measuring machine, is desirable. Thermal effects can also be compensated
for using this method.

Publication No. H-2000-6550


11-4 General information

Print program (O9730)


The print program (O9730) is called automatically by a cycle using the PW=w input.
Adding/omitting a 0.1 suffix will control how the data is processed.

Without a 0.1 suffix:

A formatted print report is generated as the cycle runs. The component number can be
incremented by cycle control (see input PW=w in Chapter 2, “Optional inputs”). However,
it must be reset external to the cycles when necessary (i.e. set VS61 = 1)

With a 0.1 suffix (and VS52 set to 1 in O9724):

Data is output to Renishaw’s Reporter App. Each measured feature should increment the
PW by 1 and use the 0.1 suffix .e.g. PW=1.1 for the first feature, PW=2.1 for the second,
PW=3.1 for the third, etc. PW=1.1 should also be commanded when turning the probe on
and off with O9832 and O9833 to establish communication with the Reporter app.

Example of printing a cycle output

COMPONENT NO 24 FEATURE NO 1

TOOL OFFSET H10


WORK OFFSET S4
SIZE X 100.1 ACTUAL 100.15 TOL 0.05 DEV 0.15

OUT OF TOLERANCE ERROR 0.1

COMPONENT NO 31 FEATURE NO 1

POSN R 79.0569 ACTUAL 79.0012 TOL TP 0.2000 DEV −0.0557


POSN X−45.0000 ACTUAL −45.1525 TOL TP 0.2000 DEV −0.1525
POSN Y−65.0000 ACTUAL −64.8263 TOL TP 0.2000 DEV 0.1737

+++++OUT OF POS+++++ ERROR TP 0.1311 RADIAL

Variables VS61 and VS62


When Renishaw non-contact tool setting (NCTS) software is used in conjunction with this
Inspection Plus software, you must be aware that variables VS61 and VS62 will be
overwritten by the NCTS software. These variables are used as counters in the
Inspection Plus software print program. Use alternative free variables instead of VS61
and VS62 and edit O9730 accordingly.

Alternatively, they can be set manually in part programs:

Example: VS61 = 1
VS62 = 1

Publication No. H-2000-6550


General information 11-5

Using the Okuma gauging screen


After every Renishaw macro is called, the results can be found on the Okuma gauging
screen. This is found by pressing soft key DISPLAY CHANGE, then GAUGING
RESULTS. When the Renishaw cycle is complete, the basic results are shown on this
screen.

See the Okuma manual for other print options regarding gauging data output to file. “Set
for print format” is found at the top of O9724 in RENSP.SSB.

Considerations when using vector cycles O9821, O9822 and


O9823
Vector cycles involve the mathematical operation of squared values. This can lead to
precision errors if large values are used. The following factors must be considered:

Use of 3-point bore/boss cycle (O9823)


The cycle may be used to establish the centre and diameter of a bore or external feature.
There is, however, a practical limitation to the use of the cycle. It is advisable to use the
largest distance between contacts that is practical. The minimum conditions to give
reliable data are as follows:

 168° total span.

 48° between any two points.

The software does not check the minimum condition inputs.

The accuracy of the result deteriorates if the minimum conditions are not followed.

Effect of vector calibration data on results


The vector calibration cycle establishes true calibration data at each 30° increment. A
small error due to the probe trigger characteristics may occur at intermediate angles
between the 30° calibration points. This error is small for standard machine tool probes
and standard styli but, to minimise any errors, linear interpolation is applied between the
calibration radii.

NOTE: For best accuracy, always use the standard bore/boss measuring cycle (O9814)
where possible.

Publication No. H-2000-6550


11-6 General information

General probing applications


Example 1: Part identification
If a group of components can be identified by a single feature, a probe can be used to
inspect that feature and decide which component is present. This is done by using data
from the output chart following a measuring program.

74 A
72 70 B
C

Each part surface is known to be within ±0.5

Figure 11.3 Part identification

CALL O9810 PZ=84. PF=3000. Protected positioning move to the start position.
CALL O9811 PZ=70. Single surface measurement (target C surface).
IF[VS77 GT 73.]GOTO N100 If the result is greater than 73, go to N100.
IF[VS77 GT 71.]GOTO N200 If the result is greater than 71, go to N200.
IF[VS77 GT 69.]GOTO N300 If the result is greater than 69, go to N300.
GOTO N400
N100(PROGRAM TO MACHINE A)
continue “A” component
GOTO N400
N200(PROGRAM TO MACHINE B)
continue “B” component
GOTO N400
N300(PROGRAM TO MACHINE C)
continue “C” component
N400
M30
%

Publication No. H-2000-6550


General information 11-7

Example 2: Probe measure every nth component


It is often a requirement to probe every nth component in the interests of reducing overall
cycle time.

The following programming method can be employed:

(PART PROGRAM)
VC1=0 Reset the counter.
VC2=5 Count limit.
N1
(START OF MACHINING)
conventional part programming
N32
(START OF PROBE ROUTINES)
IF[VC1 LT VC2]GOTO N33 If the counter is less than 5, go to N33.
T01 M06 (PART INSPECTION) Select the inspection probe.
probing routines
VC1=0 Reset the counter to zero.
N33
(CONTINUE MACHINING OR END)
VC1=VC1+1 Increment the counter.
rest of the machining program
GOTO N1 Return to PN=1.
M30
%

Publication No. H-2000-6550


11-8 General information

Output flow (bore/boss and web/pocket cycles)

Measure N10

Y If error flag N
VS89 NE 0 If PU
input

If VS89 Y N If size
If PE
NE 2 error
input

N11

Probe did Size adjust


not trigger experience N
If PH
- alarm input

Output variables
Flag VS88 = 3
VS75 to VS89 If size N
error

Probe If flag only Y


already N
If PW input VS60 and
triggered - 1=1
alarm Flag VS88 = 1

Upper
tolerance
Print data to MD1: exceeded –
RESULTS.TXT If flag only Y M00 stop
VS60 and
1=1

N10 END
If size N
error

Out of
tolerance –
M00 stop

N13

Publication No. H-2000-6550


General information 11-9

N13 N15 N19

N N N
If PM input If PT input If PS input

N If position If PV band N Work offset


error exceeded update

Y
Flag VS88 = 2 If PF input END

If flag only Y Set PF=1


VS88 = 1

If position N Update tool offset


error error × PF

Out of N
If radius is
position –
too large
M00 stop

N15 Flag VS88 = 5

If flag only Y
VS60 and
1=1

Out of
tolerance –
M00 stop

N19

Publication No. H-2000-6550


11-10 General information

This page is intentionally left blank.

Publication No. H-2000-6550


Features, cycles and limitations of the Inspection Plus software A-1

Appendix A

Features, cycles and limitations of the


Inspection Plus software

Contained in this appendix


Features of the Inspection Plus software ......................................................................... A-2

Cycles .............................................................................................................................. A-3


General ..................................................................................................................... A-4

Publication No. H-2000-6550


A-2 Features, cycles and limitations of the Inspection Plus software

Features of the Inspection Plus software


 Protected positioning.

 Measurement of internal and external features to determine both size and position.
This includes:

 Obtaining a printout of feature data.

 Applying tolerances to both size and position.

 Additional features for feedback of errors include:

 Experience values can be applied to the measured size.

 Percentage feedback of the error can be applied.

 Null band zone for no tool offset update. Calculation of feature-to-feature data.

 Measurement of external and internal corners for corner surfaces which may not be
parallel to an axis.

 Calibration of multiple probes.

 4th axis datum setting and tolerancing.

 Angular measurement of features.

 Software option to turn off the tolerance alarms and provide a flag-only alarm.
Suitable for Reporter, FMS and unmanned applications.

 Built-in stylus collision and false trigger protection for all cycles.

 Diagnostic and format error-checking routines for all cycles.

 Self-optimisation for optimum performance.

Publication No. H-2000-6550


Features, cycles and limitations of the Inspection Plus software A-3

Cycles
 Protected positioning.

 Calibration cycles (including calibrating on a sphere).

 Measurement:

 XYZ single surface.

 Web/pocket.

 Bore/boss (four measuring points).

 Internal and external corner find.

 5-point rectangle.

 Vectored measurement:

 3-point bore/boss.

 Angled web/pocket.

 Angled single surface.

 XYZ angled surface.

 Additional cycles:

 4th axis measurement.

 Bore/boss on a PCD.

 Stock allowance.

 Multiple probe.

 XY plane angle measurement.

 Feature-to-feature data.

Publication No. H-2000-6550


A-4 Features, cycles and limitations of the Inspection Plus software

General
 The probe cycles will not run if “mirror image” is active.

 Consider variable availability.

 Requires G31 skip function and custom macro.

 Requires Renishaw probing system installed as per Okuma factory installation


documentation.

Publication No. H-2000-6550


Alternative calibration cycles B-1

Appendix B

Alternative calibration cycles

These alternative calibration cycles are available to maintain backwards compatibility and
flexibility.

Contained in this appendix


Centring on a calibration feature (O9801 PK=0.) ............................................................. B-2

Calibrating the stylus X and Y offsets (O9801 PK=2.) ..................................................... B-4

Calibrating the stylus ball radius (O9801 PK=−3.) ........................................................... B-6

Publication No. H-2000-6550


B-2 Alternative calibration cycles

Centring on a calibration feature (O9801 PK=0.)

Z
Y

Figure B.1 Centring on a calibration feature

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.

Format
CALL O9801 PK=0. PD=d. PB=b. [PS=1. PZ=z.]

Example: CALL O9801 PK=0. PD=30. PZ=50. PB=6. PS=1.

Publication No. H-2000-6550


Alternative calibration cycles B-3

Compulsory inputs
PK=0. The mode for centring only.

PB=b b= The nominal diameter of the stylus ball.

PD=d d= The diameter of the feature.

Optional inputs
PZ=z z= The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, a bore cycle is assumed.

For optional input PS=s, see Chapter 2, “Optional inputs”.

Outputs
The spindle is centred on the reference feature.

Example
Centre on a ring gauge.

G90 G80 G40 G0 Preparatory codes for the machine.

G15 H1 X0. Y0. Start position.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−10. Protected positioning move.


PF=3000.

CALL O9801 PK=0. Measure moves to find the centre (includes 180° positioning).
PD=30.

CALL O9810 PZ=100. Protected positioning move.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Publication No. H-2000-6550


B-4 Alternative calibration cycles

Calibrating the stylus X and Y offsets (O9801 PK=2.)

1 2
VSTOD[24]

VSTOD[23]

PZ=z
3
Y

PD=d
X

Figure B.2 Calibrating the stylus X and Y offsets

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.

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
CALL O9801 PK=2. PB=b. PD=d. [PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9801 PK=2. PB=6. PD=50.005 PZ=50.

Publication No. H-2000-6550


Alternative calibration cycles B-5

Compulsory inputs
PK=2. The flag to set the stylus offsets.

PB=b b= The nominal diameter of the stylus ball.

PD=d d= The nominal size of the feature.

Optional inputs
PZ=z z= The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, a bore cycle is assumed.

Outputs
The following data is stored

VSTOD[23] X-axis stylus offset (XOFF)

VSTOD[24] Y-axis stylus offset (YOFF)

Example: Calibrating the stylus X, Y offset


This example describes a complete positioning and calibration program.

Set the exact X, Y and Z feature positions in a work offset (this example uses G15 H1).

G90 G80 G40 G0 Preparatory codes for the machine.

G15 H1 X0. Y0. Move to the centre of the feature.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−5. Protected positioning move into the hole.


PF=3000.

CALL O9801 PK=2. Calibrate in a 50 mm (1.97 in) diameter bored hole with a
PB=6. PD=50. 6 mm (0.236 in) diameter stylus.

CALL O9810 PZ=100. Protected positioning move retract to 100 mm (3.94 in).
PF=3000.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Publication No. H-2000-6550


B-6 Alternative calibration cycles

Calibrating the stylus ball radius (O9801 PK=−3.)

NOTE: It is possible to use PK=−3. (or PK=−4., not illustrated) to prevent the stylus offsets
from being set, but otherwise they perform the same operations as either PK=3. or PK=4.
shown in Chapter 5, “Probe calibration and SupaTouch optimisation”. If you intend using the
vector measuring cycles (O9821, O9822 or O9823) later, choose the PK=4., PK=−4. option
to include vector radii calibration.

VSTOD[21]

1 2
5 6

VSTOD[22]
PZ=z

Y PD=d

Figure B.3 Calibrating the stylus ball radius

Description
This cycle is used to calibrate the stylus radius values only, whereas using PK=3. 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.

Publication No. H-2000-6550


Alternative calibration cycles B-7

Format
CALL O9801 PK=−3. PB=b. PD=d. [PZ=z.]

where [ ] denote optional inputs.

Example: CALL O9801 PK=−3. PB=6. PD=50.005 PZ=50.

Compulsory inputs
PK=−3. Calibrate the radius of the stylus ball.

PB=b b= The nominal diameter of the stylus ball.

PD=d d= Diameter of the reference ring gauge.

Optional input
PZ=z 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:

VSTOD[21] X+, X−, stylus ball radius (XRAD)

VSTOD[22] Y+, Y−, stylus ball radius (YRAD)

Publication No. H-2000-6550


B-8 Alternative calibration cycles

Example: Calibrating the radius of a stylus ball


This example describes a complete positioning and calibration program.

Set the approximate X, Y, Z feature positions in a work offset (this example uses G15
H1).

G90 G80 G40 G00 Preparatory codes for the machine.

G15 H1 X0. Y0. Move to the centre of the feature.

G56 H1 Z100. Activate offset 1 and go to 100 mm (3.94 in) above.

CALL O9832 Switch on the probe (this includes M19).

CALL O9810 PZ=−5. Protected positioning move into the hole.


PF=3000.

CALL O9801 PK=−3. Calibrate in a 50 mm (1.97 in) diameter bored hole with a
PB=6. PD=50. 6 mm (0.236 in) diameter stylus.

CALL O9810 PZ=100. Protected positioning move retract to 100 mm (3.94 in).
PF=3000.

CALL O9833 Switch off the probe (when applicable).

G00 Z999 Move to Z limit.

M30 End of the program.

Publication No. H-2000-6550


Renishaw plc T +44 (0)1453 524524
New Mills, Wotton-under-Edge F +44 (0)1453 524901
Gloucestershire, GL12 8JR E uk@renishaw.com
United Kingdom www.renishaw.com

For worldwide contact details, visit


www.renishaw.com/contact

*H-2000-6550-0D*

You might also like