Sie sind auf Seite 1von 110

Programming guide

H-2000-6177-0B-A

Inspection software for lathes with


Siemens 810D, 828D and 840D controllers
© 1998–2015 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 number: H-2000-6177-0B-A

Issued: 08.2015
IMPORTANT – PLEASE READ CAREFULLY

RENISHAW PRODUCT LICENCE


Licensee: you, the person, firm or company accepting the terms of this Licence

Renishaw: Renishaw plc, New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR, United Kingdom

Product: the software, which is designed to operate on machine tool numeric controllers, supplied by
Renishaw for use with Renishaw’s machine tool probing systems

Licence to use: a non-exclusive licence to use the Product on a single machine tool only

By installing and/or using the Product you indicate your acceptance of the terms of this Licence.

Renishaw grants the Licensee a Licence to use the Product on condition the Licensee accepts the following
terms and conditions:

1. All rights in and title to the Product are and shall remain vested in Renishaw and its licensors.

2. Renishaw shall replace or repair the Product if it does not materially perform to specification under proper use
within 90 days of delivery. This warranty does not apply where the Product has been modified in any manner
that is not specifically described in the Product or in the installation or programming manuals supplied with the
Product, or where the Product is used with probing systems that have not been produced by Renishaw.
Except as stated in this paragraph, all warranties, conditions and terms implied by law are excluded. In
particular, no warranty is given that the Product is bug or error-free.

3. NOTE - LIMITATION OF LIABILITY IN CONNECTION WITH USE OF THE PRODUCT


Renishaw does not exclude liability for personal injury or death caused by Renishaw’s negligence.
Renishaw’s liability is limited to (a) the warranty contained in paragraph 2 and (b) direct losses up to a
maximum of £50,000.
Renishaw has no liability to the Licensee for any indirect, consequential or economic loss (including,
without limitation, loss of data, profits or goodwill).
The Product has been designed for use with Renishaw’s machine tool probing systems. Renishaw has
no liability for the results of using the Product with another manufacturer’s machine tool probing systems.
By accepting the terms of this Licence the Licensee agrees that this limitation of liability is reasonable.

4. The Licensee may not make any copies of the Product except as provided in this Licence or as permitted by
applicable law. The Licensee is authorised to make a backup copy of the Product for security purposes. The
Licensee must not remove any licence and copyright notices, labels or marks contained in the original and shall
ensure all copies contain such notices without modification.

5. If the Product contains electronic manuals the Licensee may print out the manuals in part or in full, provided
that the print outs or copies are not supplied to any third party that is not an employee or contractor for the
Licensee without Renishaw’s written permission

6. The Licensee shall not reverse engineer, decompile, or modify the Product or re-use any components
separately from the Product unless permitted by a specific instruction contained in the Product or the
programming or installation manuals supplied with the Product or by applicable law provided that in the latter
case, Licensee has first contacted Renishaw to request any information required to interface with Licensee’s
other software.

7. The Licensee shall not make the Product available to any third party in any manner whatsoever nor may this
Licence and the Product be transferred to a third party without Renishaw’s prior written agreement. Any
agreement by Renishaw is conditional on the permitted transferee agreeing to all terms of this Licence and the
Licensee not retaining any copies of the Product. Where the Licensee is a reseller of Renishaw’s machine
tool probing systems, Licensee may transfer the Product for ultimate use by an end user with Renishaw’s
machine tool probing systems.

8. Renishaw shall have the right to terminate this Licence immediately if the Licensee fails to comply with any of
these terms and conditions. The Licensee agrees upon receipt of notice of termination from Renishaw to
immediately return or destroy all copies of the Product in its possession or control.

9. This Licence is governed by English law and the parties submit to the exclusive jurisdiction of the English
courts.

Renishaw Product Licence (EN) – Issue 1: February 2007


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 Customer Support office (see www.renishaw.com/contact for
the address and telephone number). 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 disc(s) ............................................................
Interface type ........................................................... .........................................................................................
.........................................................................................
Tool setting probe type ............................................ Tool setting disc(s) .........................................................
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 ......................................................
Start/Error signal ...................................................... Other ...............................................................................
.. .......................................................................................
Tick box if Form 2 overleaf
ADDITIONAL INFORMATION has been filled in.

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


Customer's address ......................................................................... Date installed .........................................
..........................................................................................................
.......................................................................................................... Installation engineer ...............................
..........................................................................................................
Customer's tel. no ............................................................................ Date of training .......................................
Customer's contact name ................................................................
Form 2

SOFTWARE DEVIATION RECORD

Standard Renishaw kit no. Software disc nos.

Reason for deviation

Software no. and subroutine 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 – they 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 will 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.

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-6177


ii

This page is intentionally left blank.

Publication No. H-2000-6177


Contents iii

Contents

Before you begin


Before you begin ................................................................................................................. 1
Measurement values used in this manual .......................................................................... 2
Associated publications ...................................................................................................... 2
About the Inspection software ............................................................................................ 2
Machine tool controllers supported ..................................................................................... 2
Software kit no. A-4014-0137 ............................................................................................. 2
File1: Probing cycles.................................................................................................... 3
File2: C-axis cycles ...................................................................................................... 3
Subroutine memory requirements ...................................................................................... 3
Subroutine numbers and functions ..................................................................................... 3
Measurement errors............................................................................................................ 4
Renishaw customer services .............................................................................................. 5
Calling Renishaw ......................................................................................................... 5

Chapter 1 Installing the software


Installing the software ...................................................................................................... 1-2
Setting and adjusting the software................................................................................... 1-2

Chapter 2 Optional inputs


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

Chapter 3 Variable outputs


Variable outputs ............................................................................................................... 3-2

Chapter 4 Protected positioning cycle


Probe protected positioning (probe vertical or horizontal) – L9810 ................................. 4-2

Chapter 5 Calibrating the probe


Why calibrate a probe and stylus?................................................................................... 5-2
Single-sided calibration .................................................................................................... 5-2
Double-sided calibration .................................................................................................. 5-3
Calibrating the probe length............................................................................................. 5-3
Calibration cycles ............................................................................................................. 5-3
Calibrating the probe length (probe vertical) – L9801 ..................................................... 5-4
Calibrating the stylus Z tool offset double-sided (probe vertical) – L9802....................... 5-6
Calibrating the stylus ball radius double-sided (probe vertical) – L9803 ......................... 5-9

Publication No. H-2000-6177


iv Contents

Calibrating the stylus single-sided (probe vertical) – L9804 .......................................... 5-11


Calibrating the probe length (probe horizontal) – L9801 ............................................... 5-13
Calibrating the stylus X tool offset double-sided (probe horizontal) – L9802 ................ 5-15
Calibrating the stylus ball radius double-sided (probe horizontal) – L9803 ................... 5-18
Calibrating the stylus single-sided (probe horizontal) – L9804 ...................................... 5-20

Chapter 6 Standard measuring cycles


XZ single surface measurement (probe vertical) – L9811 ............................................... 6-2
Web/pocket measurement (probe vertical) – L9812........................................................ 6-5
XZ single surface measurement (probe horizontal) – L9811 .......................................... 6-9
Web/pocket measurement (probe horizontal) – L9812 ................................................. 6-12

Chapter 7 Additional cycles


Storing multi-stylus data (probe vertical) – L9830 ........................................................... 7-2
Loading multi-stylus data (probe vertical) – L9831 .......................................................... 7-4
Storing multi-stylus data (probe horizontal) – L9830 ....................................................... 7-6
Loading multi-stylus data (probe horizontal) – L9831...................................................... 7-8

Chapter 8 C-axis cycle


C-axis find (probe vertical) – L9850 ................................................................................. 8-2
C-axis find (probe horizontal) – L9850............................................................................. 8-4

Chapter 9 Alarms and error messages


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

Chapter 10 Settings, subroutines and variables


Customising the software .............................................................................................. 10-2
Editing the settings subroutine (L9724) .................................................................. 10-2
Alarm settings (RENC[20]) ..................................................................................... 10-3
Process alarms ....................................................................................................... 10-3
Use of subroutine variables ........................................................................................... 10-4
Local variables ........................................................................................................ 10-4
Common variables .................................................................................................. 10-4
Global probe variables ............................................................................................ 10-5

Publication No. H-2000-6177


Contents v

Chapter 11 General information


Tolerances ..................................................................................................................... 11-2
Experience values RENE[ ] ........................................................................................... 11-3
Reason for using this option ................................................................................... 11-3
Printing a subroutine output – an example .................................................................... 11-3

Appendix A Features, cycles and limitations


Features of the Inspection software................................................................................. A-2
Cycles .............................................................................................................................. A-2
Limitations ........................................................................................................................ A-2

Appendix B Tool offset systems used on Siemens lathes


Siemens lathe tool offsets ................................................................................................ B-2
Lathe plane selection (G17, G18, G19) ........................................................................... B-6
Example 1: Turning tool offset geometry (Tool Type 5xx) ............................................... B-8
Example 2: Fixed tool offset geometry (Tool Type 2xx) .................................................. B-9
Example 3: Driven tool offset geometry (Tool Type 1xx)............................................... B-10

Publication No. H-2000-6177


vi

This page is intentionally left blank.

Publication No. H-2000-6177


Before you begin 1

Before you begin


This programming guide contains detailed information on using the Inspection software
for programming, operating and controlling 2-axis lathes.

Comprising eleven self-contained chapters and two appendices, the manual is structured
to provide the information you require to use the Inspection software effectively.

 Chapter 1, “Installing the software”, describes how to install the Inspection software
on your machine.

 Chapter 2, “Optional inputs”, describes the optional inputs that are required by many
of the cycles.

 Chapter 3, “Variable outputs”, lists the optional outputs that are produced by many
of the cycles.

 Chapter 4, “Protected positioning cycle”, describes how to use the protected


positioning subroutine (L9810). When correctly used, this subroutine prevents
damage to the stylus in the event of the probe colliding with the workpiece.

 Chapter 5, “Calibrating the probe”, describes how to use the subroutines that are
provided for calibrating a probe. Cycles are provided for calibrating an inspection
probe when it is vertically mounted or horizontally mounted.

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


measuring cycles.

 Chapter 7, “Additional cycles”, describes how to use the two subroutine cycles that
are not described in previous chapters.

 Chapter 8, “C-axis cycle”, describes how to use the C-axis measuring cycle.

 Chapter 9, “Alarms and error messages”, describes the subroutine alarm numbers
and messages that are displayed on the screen of the controller when an error
occurs. An explanation of the meaning and possible cause of each alarm message
is provided, together with typical actions you must take to correct the fault causing
the message.

 Chapter 10, “Settings, subroutines and variables”, describes how to customise the
Inspection software on your machine. It also covers setting information and details
about the subroutine variables used in the software.

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


material that is relevant to the Inspection software package.

Publication No. H-2000-6177


2 Before you begin

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 publications
When you are using the Inspection software, you may find it useful to refer to the following
Renishaw publications:

 Probe systems for machine tools (for Siemens 810D/840D controls) (Renishaw part
no. H-2000-6131).

 Probe software for machine tools data sheet (Renishaw part nos. H-2000-2289 and
H-2000-2298).

About the Inspection software


For a comprehensive description of the facilities provided by the Inspection software and
also the limitations of the software, refer to Appendix A, “Features, cycles and limitations”.

Machine tool controllers supported


This inspection probe software is suitable for use on the following Siemens machine tool
controllers with Siemens system software version 5 and higher.

 Siemens 810D

 Siemens 828D

 Siemens 840D

For controllers that are using previous versions of the system software, an earlier issue of
the kit is included on the CD in an ARCHIVE subdirectory.

Software kit no. A-4014-0137


This kit comprises the following item:

 CD assembly (one CD) – part no. A-4014-0138

The CD contains the following data:

Probing cycles File1 (40140558)

C-axis cycles File3 (40140559)

ReadMe.txt file (N-4014-0560)

Publication No. H-2000-6177


Before you begin 3

File1: Probing cycles


L9700 L9710 L9720 L9724 L9725 L9726 L9730
L9732 L9800 L9801 L9802 L9803 L9804 L9810
L9811 L9812 L9830 L9831

File2: C-axis cycles


L9550 L9551 L9850

Subroutine memory requirements


This section lists the amount of memory (in kilobytes) that is required by all subroutines
contained on the software CD. Before you load subroutines, first calculate the total amount of
memory required by the subroutines you wish to load. Next, check that the machine controller
has sufficient memory capacity for these subroutines.

File 1: total amount of memory = 25.1 KB.


File 2: total amount of memory = 4.93 KB.

Subroutine numbers and functions


Subroutine No. Function

File 1

L9700 Error messages 1.850


L9710 Basic measuring move 0.510
L9720 Diametrical move 1.250
L9724 Settings subroutine 1.000
L9725 Variable clear routine 0.100
L9726 XZ basic move 1.050
L9730 Write-to-file subroutine 5.330
L9732 Offset update subroutine 1.750
L9800 Clear global R parameters 0.120
L9801 Probe length calibration 0.740
L9802 Stylus offset (double-sided calibration) 1.050
L9803 Stylus ball radius (double-sided calibration) 1.120
L9804 Single-sided calibration 0.950
L9810 Protected positioning 0.475
L9811 XZ single surface measure 4.370
L9812 Web/pocket measure 2.580
L9830 Multi-stylus store 0.415
L9831 Multi-stylus load 0.415

Publication No. H-2000-6177


4 Before you begin

File 2

L9550 C-axis basic move 0.590


L9551 C-axis offset update 0.520
L9850 C-axis measure 3.820

NOTE: L9800 Clear global ‘R’ parameters

Subroutine L9800 is called at the end of every measuring and calibration subroutine
(L9800-series) to reset the global ‘R’ parameters, used as inputs, to a default value.

If global ‘R’ parameters R00 to R26 are used for other programming purposes outside this
inspection package, it is recommended that L9800 is called prior to setting them for the
next inspection routine. All examples in this programming guide show this being done.

Measurement errors
When you fit your Renishaw probe into the machine’s tool holder, the probe’s stylus may
not be in the correct theoretical position. An error may mean the stylus is either above or
below the cutting centre line. Take care to minimise this error, otherwise measurements
will be taken across a cord and will not be a true diametral or radial dimension.

The measuring cycles do not mathematically calculate on-centre errors. However, these
errors are usually small, particularly when the probe and stylus have been calibrated on a
diameter that is similar in size to the feature being measured. For a description of how to
calibrate a probe and stylus assembly, see Chapter 5, “Calibrating the probe”.

Publication No. H-2000-6177


Before you begin 5

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 provide the following information (as
applicable):

 The version of the product you are using (see the Equipment registration record
form).

 The type of hardware that you are using (see the Equipment registration record
form).

 The exact wording of any messages that appear 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-6177


6 Before you begin

This page is intentionally left blank.

Publication No. H-2000-6177


Installing the software 1-1

Chapter 1

Installing the software

This chapter describes how to load the Inspection software. It supplements the
information described in the installation manual titled Probe systems for machine tools (for
Siemens 810D/840D controls) (Renishaw part no. H-2000-6131) and the Readme file on
the CD.

Contained in this chapter


Installing the software ...................................................................................................... 1-2

Setting and adjusting the software ................................................................................... 1-2

Publication No. H-2000-6177


1-2 Installing the software

Installing the software


It is important that the software is installed to suit the configuration of the lathe.

On lathes where there is very limited slide movement past the spindle centre line, it will
only be possible to use the radial measuring cycle L9811 for measuring diameters and the
calibration routines L9801 and L9804 to calibrate the probe in the X axis. If there is
sufficient X axis movement, then the diameter measuring routine L9812 can be used for
measuring diameters, with the calibration routine L9803 used for calibrating the probe in
the X axis. The radial measuring routine L9812 can also be used in this situation for
measuring diameters if there is insufficient slide movement to reach the far side of a large
diameter.

Load the cycles from file 40140558 and 40140559 and then delete any unwanted programs,
depending on your machine configuration.

Calibration data is stored automatically when the calibration cycles are run.

Setting and adjusting the software


After installing the software, you will need to customise the settings. Chapter 10, “Settings,
subroutines and variables”, describes general software settings, customising the software,
and how to configure the option settings.

Publication No. H-2000-6177


Optional inputs 2-1

Chapter 2

Optional inputs

Many of the subroutines 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 required.

Details of each non-standard optional input that is required by a subroutine is provided in


the relevant subroutine description.

Contained in this chapter


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

Publication No. H-2000-6177


2-2 Optional inputs

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

R8=e Experience value.


Specify the number of a RENE series global parameter where an
adjustment value to the measured size is stored (see “Experience value
RENE [ ]” in Chapter 11, “General information”).
Example: R8=2. causes the experience value stored in global
parameter RENE[2] to be applied to the measured size.

R9=f This can be either 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: 1 (100%)

2. The feedrate that is used in protected positioning subroutine L9810


(see Chapter 4, “Protected positioning cycle”).
Example: R9=3000. sets a feedrate of 3000 mm/min.
(R9=120. sets a feedrate of 120 in/min.)

R11=h The tolerance value of a feature dimension being measured.


Example: For dimension 50.0 mm +0.4 mm −0 mm, the nominal
tolerance is 50.2 mm with R11=0.2.
(For dimension 1.968 in +0.016 in −0 in, the nominal
tolerance is 1.976 in with R11=0.008.)

R13=m The true position tolerance of a feature. This is a cylindrical zone about
the theoretical position.
Example: R13=0.1 sets a true position tolerance of 0.1 mm.
(R13=0.004 sets a true position tolerance of 0.004 in.)

R17=q This is 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: 5 mm (0.197 in) (incremental distance)
Example: R17=8. sets an overtravel distance of 8 mm.
(R17=0.3 sets an overtravel distance of 0.3 in.)

Publication No. H-2000-6177


Optional inputs 2-3

R18=r This is an incremental dimension that is used on external features, such


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

R18=−r This is similar to R18=r, except that the clearance is applied in the
opposite direction to force an internal boss or web cycle.
Default: 5 mm (0.200 in).
Example: R18=−10. sets a radial clearance of −10 mm.
(R18=−0.4 sets a radial clearance of −0.4 in.)

R19=s The number of the work offset to be updated.


The zero offset number will be updated.
R19=0. (G500)
R19=1. to R19=4. (G54 to G57)
R19=5. to R19=99. (G505 to G599)
R19=1000. (base zero offset)
Example: R19=3.

R20=t The tool and/or edge number that is to be updated.


Examples:
R20=20. updates tool number 20 and edge D1 by default.
R20=20.2 updates tool offset number 20 and edge D2.
R20=2. updates edge D2 if the RENTL=“toolname” option is used (see
below).

RENTL=“toolname”
For customers using the Tool Management / ShopTurn option, a tool name
rather than a tool number can be used. Note that the tool name must be
enclosed in inverted commas and be exactly the same word format as the
actual name.
Example: RENTL=“3D_Probe”

R21=u Upper tolerance limit.


If this value is exceeded, no tool offset or work offset is updated and the
cycle stops with an alarm. Where applicable, this tolerance applies to both
size and position.
Example: R21=2.0 to set the upper tolerance limit to 2 mm.
(R21=0.08 to set the upper tolerance limit to 0.08 in.)

Publication No. H-2000-6177


2-4 Optional inputs

R22=v Null band.


This is the tolerance zone where no tool offset adjustment occurs.
Default: 0.
Example: R22=0.5 for a tolerance zone of ±0.5 mm.
(R22=0.02 for a tolerance zone of ±0.02 in.)

R23=w Print the output data.


W1. Increment the feature number only.
W2. Increment the component number and reset the feature number.
Example: R23=1.

Publication No. H-2000-6177


Variable outputs 3-1

Chapter 3

Variable outputs

This chapter lists the variable outputs that may be produced by some of the subroutines.
You will be referred to this chapter from other chapters when a variable output is
produced.

Contained in this chapter


Variable outputs ............................................................................................................... 3-2

Publication No. H-2000-6177


3-2 Variable outputs

Variable outputs

Single surface Web/pocket C-axis measure

L9811 L9812 L9850

RENC[35] X position X position

RENC[37] Z position Z position

RENC[38] Size Size

RENC[39] C-axis position

RENC[40] X error X error

RENC[42] Z error Z error

RENC[43] Size error Size error

RENC[44] C-axis error

RENC[45] True position True position


error error

RENC[46] Metal condition Metal condition

RENC[47] Direction Direction


indicator indicator

RENC[48] Out of tolerance flag (0–5)

RENC[49] Probe error flag

Publication No. H-2000-6177


Protected positioning cycle 4-1

Chapter 4

Protected positioning cycle

As the 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 the protected
positioning cycle. If it is used correctly, the probe will stop moving in the event of a
collision.

Contained in this chapter


Probe protected positioning (probe vertical or horizontal) – L9810.................................. 4-2

Publication No. H-2000-6177


4-2 Protected positioning cycle

Probe protected positioning (probe vertical or horizontal) – L9810

Figure 4.1 Probe protected positioning

Description
It is important to protect the probe’s stylus against damage should it collide with an
obstacle as the probe moves around the workpiece. When this cycle is used, with either a
horizontally or vertically mounted probe, the machine will stop in the event of a collision
with the stylus.

Application
The probe is selected and moved to a safe plane. At this point the probe is made active.
It then moves to a measuring position using this subroutine call.

In the event of a collision the machine will stop. Either a PATH OBSTRUCTED alarm is
generated or error flag RENC[48] is set (see the R13=m input).

Format
R24=x and/or R26=z [R9=f R13=m]
L9810
where [ ] denote optional inputs.

Example: R24=100.0 R26=−50.0 R9=3000. R13=1.

Publication No. H-2000-6177


Protected positioning cycle 4-3

Compulsory inputs
R24=x The target diameter or radial position for the probe positioning move,
depending on the programming mode being used – DIAMON or
DIAMOF.

and/or

R26=z The target position for the probe positioning move.

Optional inputs
R9=f The modal feedrate for all protected positioning moves.
The feedrate will be modal to this subroutine and subsequent feedrate
calls are unnecessary unless a change of feedrate is required. The
maximum safe fast feedrate established during installation must not
be exceeded.

R13=1. This will set a probe trigger flag (but with no PATH OBSTRUCTED
alarm).
RENC[48]=0 No probe trigger.
RENC[48]=7 Probe triggered.

Example
Proprietary G-codes and M-codes.

T1 Select the probe.

M?? Switch on the probe.

D1 Select tool offset edge (D1).

L9800 Reset input variables.

R24=30. R26=−10. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move.

R24=20. R20=3. Set input variables for measure cycle.

L9811 Single surface measure.

M?? Switch off the probe.

Publication No. H-2000-6177


4-4 Protected positioning cycle

This page is intentionally left blank.

Publication No. H-2000-6177


Calibrating the probe 5-1

Chapter 5

Calibrating the probe

Before a probe and stylus are used, they must be calibrated correctly. Only when they
have been calibrated accurately can you achieve total quality control over your
manufacturing process.

This chapter explains why it is so important that the probe and stylus are calibrated and
then describes how to use the subroutines that are provided to calibrate them.

Contained in this chapter


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

Single-sided calibration .................................................................................................... 5-2

Double-sided calibration .................................................................................................. 5-3

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

Calibration cycles ............................................................................................................. 5-3

Calibrating the probe length (probe vertical) – L9801 ..................................................... 5-4

Calibrating the stylus Z tool offset double-sided (probe vertical) – L9802....................... 5-6

Calibrating the stylus ball radius double-sided (probe vertical) – L9803 ......................... 5-9

Calibrating the stylus single-sided (probe vertical) – L9804 .......................................... 5-11

Calibrating the probe length (probe horizontal) – L9801 ............................................... 5-13

Calibrating the stylus X tool offset double-sided (probe horizontal) – L9802 ................ 5-15

Calibrating the stylus ball radius double-sided (probe horizontal) – L9803 ................... 5-18

Calibrating the stylus single-sided (probe horizontal) – L9804 ...................................... 5-20

Publication No. H-2000-6177


5-2 Calibrating the probe

Why calibrate a probe and stylus?


When you fit a probe into the lathe tool holder it is not necessary for the probe’s stylus to
run true to the tool holder centre line. A small amount of run-out can be tolerated.
However, it is good practice to mechanically adjust the stylus so that it lies on the X-axis
centre line in the virtual Y axis. This helps reduce the effects of cosine errors when
measuring different diameters.

Calibrating the probe and stylus ensures that run-out is automatically accounted for.
Without calibration, run-out will lead to inaccurate results.

It is important that you calibrate the stylus of a Renishaw inspection probe in the following
circumstances:

 When a probe and stylus are to be used for the first time.

 When a new stylus is fitted to the 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 lathe.

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

 Calibrating single-sided.

 Calibrating double-sided.

 Calibrating the probe length.

Single-sided calibration
Single-sided calibration determines the error value for the stylus ball in relation to a
known surface. This value is stored in the tool wear offset and is used automatically in the
measuring cycles.

NOTE: Only one edge of the stylus is calibrated. Therefore, all subsequent measuring
cycles must use only this calibrated edge.

Publication No. H-2000-6177


Calibrating the probe 5-3

Double-sided calibration
Double-sided calibration determines the stylus offset and the radius of the stylus ball. The
offset is stored in the tool wear offset, while the radius is stored in a subroutine variable
RENP[0] or RENP[3]. Both values are used automatically in the measuring cycles.

NOTE: Both edges of the stylus are calibrated. Therefore, measuring cycles that use both
sides of the stylus can be used.

Calibrating the probe length


Calibrating a probe on a known reference surface determines the length of the probe,
based on the electronic trigger point. The stored value for length is different from the
physical length of the probe assembly.

Additionally, the operation can automatically compensate for machine and fixture height
errors by adjusting the length value of the probe that is stored.

Calibration cycles
Four calibration cycles are provided with the Inspection software. These cycles cater for
probes positioned either vertically or horizontally. They are to be used in conjunction with
one another for complete calibration of the probe. The purpose of each subroutine is
summarised below.

Subroutine L9801 Used to establish the length of the probe in the tool shank.

Subroutine L9802 Used to establish the stylus offset (for double-sided calibration
only).

Subroutine L9803 Used to establish the radius values of the stylus ball (for
double-sided calibration only).

Subroutine L9804 Used to establish the error value of the stylus ball (for single-
sided calibration only).

For complete calibration of a probe system, use the subroutines as follows:

 For double-sided calibration of a horizontally or vertically mounted probe, use


subroutines L9801, L9802 and L9803.

 For single-sided calibration of a horizontally or vertically mounted probe, use


subroutines L9801 and L9804.

The Renishaw calibration cycles are split into separate cycles for flexibility.

Publication No. H-2000-6177


5-4 Calibrating the probe (probe vertical)

Calibrating the probe length (probe vertical) – L9801

R20=t
Tool number

R24=x
Reference
diameter

Figure 5.1 Calibrating the probe length (probe vertical)

Description
The probe is positioned adjacent to an X-axis reference diameter. When the calibration
cycle is completed, the active tool offset is adjusted to the reference diameter size.

Application
An approximate tool offset must be loaded. The probe is positioned adjacent to the
reference diameter.

When the cycle is run, the surface is measured and the tool offset is reset to a new value.
The probe is then returned to the start position.

Format
R24=x R20=t or RENTL=“toolname”
L9801

Example: R24=50. R20=10.


L9801

Publication No. H-2000-6177


Calibrating the probe (probe vertical) 5-5

Compulsory inputs
R24=x The exact size of the reference diameter.

Without the Tool Management / ShopTurn option

R20=t The active tool number.


Example: R20=10.

With the Tool Management / ShopTurn option

RENTL=“toolname” Note that the tool name must be enclosed in inverted commas and
be exactly the same word format as the actual tool name.

Example: RENTL=“3D_Probe”

Outputs
The active tool offset (edge D) will be set.

Example: Probe length calibration


%_N_????_MPF

Proprietary G-codes and M-codes

T01 Select the probe.

M?? Switch on the probe.

G54 Select the work offset.

L9800 Reset input variables.

Z100. D1. Move to a safe plane and apply tool offset (edge D1).

R24=60. R26=−10. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move.

R24=50. R20=1. Set input variables for calibration routine.

L9801 Calibrate in the X direction.

R24=100. R26=100. Set input variables for protected positioning.

L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

Publication No. H-2000-6177


5-6 Calibrating the probe (probe vertical)

Calibrating the stylus Z tool offset double-sided (probe vertical) –


L9802

R18=r
A B

R24=x

R7=d R7=d

Figure 5.2 Calibrating the stylus Z tool offset double-sided (probe vertical)

Description
Before the cycle is run, the probe is positioned either above a pre-machined web (A) or
inside a pre-machined groove (B). When the cycle is completed, the tool offset is set to
the centre of the stylus in the Z axis.

Application
Pre-machine either a web or a groove with a suitable tool so that the exact centre of the
feature is known. Position the probe stylus to the centre of the web or groove with the
relevant tool offset active.

When the cycle is run, two measuring moves are made to determine the Z offset of the
stylus. The probe is then returned to the start position.

Format
R7=d R20=t or RENTL=“toolname” [R18=r R24=x]
L9802
where [ ] denote optional inputs.

Example: R7=50. R20=8. R24=50.


L9802

Publication No. H-2000-6177


Calibrating the probe (probe vertical) 5-7

Compulsory inputs
R7=d The width of the reference feature.

Without the Tool Management / ShopTurn option

R20=t The active tool number.


Example: R20=10.

With the Tool Management / ShopTurn option

RENTL=“toolname” Note that the tool name must be enclosed in inverted commas and
be exactly the same word format as the actual tool name.

Example: RENTL=“3D_Probe”

Optional input
R24=x The absolute X-axis diametrical measuring position when calibrating on
an external feature. If this is omitted, a groove cycle is assumed.

For the R18=r optional input, see Chapter 2, “Optional inputs”.

Outputs
The Z tool length offset will be updated to the centre of the stylus.

Example: Calibrating the stylus Z offset


Run a complete positioning and calibration program as follows.

Set the correct work offset co-ordinates for the feature position (for example, using G54).

%_N_????_MPF

T01 Select the probe.

M?? Switch on the probe.

G54 D1 Select the work offset and tool offset edge D1.

L9800 Reset input variables.

R26=−20. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move over the groove.

R24=40. Set input variables for protected positioning.

L9810 Protected positioning move into the groove.

Publication No. H-2000-6177


5-8 Calibrating the probe (probe vertical)

R20=1. R7=50. Set input variables for calibration routine.

L9802 Calibrate in a 50 mm (1.97 in) groove and update tool 1


offset D1.

R24=100. Set input variables for protected positioning.

L9810 Protected positioning move retract to 100 mm (3.94 in).

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


Calibrating the probe (probe vertical) 5-9

Calibrating the stylus ball radius double-sided (probe vertical) –


L9803

R18=r
A B

R24=x

R7=d R7=d

Figure 5.3 Calibrating the stylus ball radius double-sided (probe vertical)

Description
Before the cycle is run, the probe is positioned either above a pre-machined web (A) or
inside a pre-machined groove (B). When the cycle is completed, the radius values of the
stylus ball are stored.

Application
The probe to be calibrated is positioned either above the web or inside the groove of known
size with the relevant tool offset active. The position of the web or groove is not critical.

When the cycle is run, two moves are made to determine the radius values of the stylus
ball. The probe is then returned to the start position.

Format
R7=d [R18=r R24=x]
L9803
where [ ] denote optional inputs.

Example: R7=50.005 R24=50.


L9803

Compulsory input
R7=d The nominal size of the reference web or groove.

Publication No. H-2000-6177


5-10 Calibrating the probe (probe vertical)

Optional input
R24=x The absolute X axis diametrical measuring position when calibrating on
an external feature. If this is omitted, a groove cycle is assumed.

For the R18=r optional input, see Chapter 2, “Optional inputs”.

Outputs
The following data will be stored:

RENP[3] Stylus ball radius in Z.

Example: Calibrating the radius of a stylus ball


Run a complete positioning and calibration program as follows.

Set the correct work offset co-ordinates for the feature position (for example, using G54).

%_N_????_MPF

T01 Select the probe.

M?? Switch on the probe.

G54 D1 Select the work offset and tool offset edge D1.

L9800 Reset input variables.

R26=−20 R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move over the groove.

R24=40. Set input variables for protected positioning.

L9810 Protected positioning move into the groove.

R7=50.001 Set input variables for calibration routine.

L9803 Calibrate in a 50.001 mm (1.9685 in) groove.

R24=100. Set input variables for protected positioning.

L9810 Protected positioning move retract to X100 mm (3.94 in).

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


Calibrating the probe (probe vertical) 5-11

Calibrating the stylus single-sided (probe vertical) – L9804

NOTE: When this method is used for calibrating a stylus, only the calibrated edge of the
stylus must be used in subsequent measuring cycles.

A B

OR

R26=z Reference surface

Figure 5.4 Calibrating the stylus single-sided (probe vertical)

Description
Before the cycle is run, the probe is positioned adjacent to a Z-axis reference surface.
When the cycle is completed, the active probe tool offset is adjusted to the reference
surface.

Application
An approximate tool offset is loaded. The probe is positioned 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 is then returned to the start position.

Format
R26=z R20=t or RENTL=“toolname”
L9804

Example: R26=0. R20=8.


L9804

Publication No. H-2000-6177


5-12 Calibrating the probe (probe vertical)

Compulsory inputs
R26=z The position of the reference surface.

Without the Tool Management / ShopTurn option

R20=t The active tool number.


Example: R20=10.

With the Tool Management / ShopTurn option

RENTL=“toolname” Note that the tool name must be enclosed in inverted commas and
be exactly the same word format as the actual tool name.

Example: RENTL=“3D_Probe”
Outputs
The Z tool offset will be updated to the edge of the stylus.

Example: Single-sided stylus calibration


Run a complete positioning and calibration program as follows.

Set the correct work offset co-ordinates for the feature position (for example, using G54).

%_N_????_MPF

T=“3D_Probe” Select the probe.

M?? Switch on the probe.

G54 D1 Select the work offset and tool offset edge D1.

L9800 Reset input variables.

R26=10. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move.

R24=40. Set input variables for protected positioning.

L9810 Protected positioning move.

R26=0 RENTL=“3D_Probe” Set input variables for calibration routine.

L9804 Calibrate in the −Z direction.

R24=100. Set input variables for protected positioning.

L9810 Protected positioning move retract to X100 mm (3.94 in).

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


Calibrating the probe (probe horizontal) 5-13

Calibrating the probe length (probe horizontal) – L9801


R20=t
Tool number

R26=z Reference surface

R26=z
Reference surface

Figure 5.5 Calibrating the probe length (probe horizontal)

Description
The probe is positioned adjacent to a Z-axis reference surface for calibration. When the
cycle is completed, the active probe tool offset is adjusted to the reference surface.

Application
An approximate tool offset must be loaded. The probe should be positioned 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 is then returned to the start position.

Format
R26=z R20=t or RENTL=“toolname”
L9801

Example: R26=−10. R20=15.


L9801

Publication No. H-2000-6177


5-14 Calibrating the probe (probe horizontal)

Compulsory inputs
R26=z The position of the reference surface.

Without the Tool Management / ShopTurn option

R20=t The active tool number.


Example: R20=10.

With the Tool Management / ShopTurn option

RENTL=“toolname” Note that the tool name must be enclosed in inverted commas and
be exactly the same word format as the actual tool name.

Example: RENTL=“3D_Probe”

Outputs
The active tool offset (edge D) will be set.

Example: Probe length calibration


%_N_????_MPF

T01 Select the probe.

M?? Switch on the probe.

G54 D1 Select the work offset and tool offset edge D1.

L9800 Reset input variables.

G0 X100. Z100. D1 Move to a safe plane and apply tool offset (edge D1).

R24=60. R26=−10. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move.

R26=−20. R20=1. Set input variables for calibration routine.

L9801 Calibrate in the −Z direction.

R24=100. R26=100. Set input variables for protected positioning.

L9810 Protected positioning move to a safe plane.

M?? Switch off the probe.

Publication No. H-2000-6177


Calibrating the probe (probe horizontal) 5-15

Calibrating the stylus X tool offset double-sided (probe


horizontal) – L9802
R18=r
R26=z

B A

R7=d
R7=d

R18=r
A

R7=d

R26=z

Figure 5.6 Calibrating the stylus X tool offset double-sided (probe horizontal)

Description
Before the cycle is run, the probe is positioned in front of the diameter (A) or inside the
bore (B) at the centre point of the feature. When this cycle is completed, the tool offset is
set to the centre of the stylus in the X axis.

Application
Pre-machine either a hole with a suitable boring bar or a diameter with a turning tool.
Position the probe stylus to the centre of the feature being used with the relevant tool
offset active.

When the cycle is run, two measuring moves are made to determine the X offset of the
stylus. The probe is then returned to the start position.

Format
R7=d R20=t or RENTL=“toolname” [R18=r R26=z]
L9802

where [ ] denote optional inputs.

Example: R7=50. R20=8. R18=6. R26=−5.


L9802

Publication No. H-2000-6177


5-16 Calibrating the probe (probe horizontal)

Compulsory inputs
R7=d The nominal size of the diametrical feature.

Without the Tool Management / ShopTurn option

R20=t The active tool number.


Example: R20=8.

With the Tool Management / ShopTurn option

RENTL=“toolname” Note that the tool name must be enclosed in inverted commas and
be exactly the same word format as the actual tool name.

Example: RENTL=“3D_Probe”

Optional input
R26=z The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, a pocket/bore cycle is assumed.

For the R18=r optional input, see Chapter 2, “Optional inputs”.

Outputs
The X tool offset will be updated to the centre of the stylus.

Example: Calibrating the stylus X offset


Run a complete positioning and calibration program as follows.

Set the correct work offset co-ordinates for the feature position (for example, using G54).

%_N_????_MPF

T01 Select the probe.

M?? Switch on the probe.

G54 D1 Select work offset and tool offset edge D1.

L9800 Reset input variables.

R24=0. R26=10. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move over the hole.

R26=−5. Set input variables for protected positioning.

L9810 Protected positioning move into the hole.

Publication No. H-2000-6177


Calibrating the probe (probe horizontal) 5-17

R7=50.025 R20=1. Set input variables for calibration routine.

L9802 Calibrate in a 50 mm (1.97 in) diameter bored hole and


update tool offset 1.

R26=100. Set input variables for protected positioning.

L9810 Protected positioning move, retract to Z100 mm (3.94 in).

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


5-18 Calibrating the probe (probe horizontal)

Calibrating the stylus ball radius double-sided (probe horizontal)


– L9803
R18=r
R26=z

B A
R7=d
R7=d

R18=r
A

R7=d

R26=z

Figure 5.7 Calibrating the stylus ball radius double-sided (probe horizontal)

Description
Before the cycle is run, the probe is positioned either in front of the diameter (A) or inside
the bore (B). When the cycle is completed, the stylus radius is set.

Application
Pre-machine either a hole with a suitable boring bar or a diameter with a turning tool.
Position the probe as described above. The size of the feature must be known.

When the cycle is run, two measuring moves are made to determine the X radius values
of the stylus ball. The probe is then returned to the start position.

Format
R7=d [R18=r R26=z]
L9803

where [ ] denote optional inputs.

Example: R7=50.005 R26=−5.0


L9803

Publication No. H-2000-6177


Calibrating the probe (probe horizontal) 5-19

Compulsory input
R7=d The nominal size of the feature.

Optional input
R26=z The absolute Z-axis measuring position when calibrating on an external
feature. If this is omitted, a ring gauge cycle is assumed.

For the R18=r optional input, see Chapter 2, “Optional inputs”.

Outputs
The following data will be stored:

RENP[0] Stylus ball radius in X (XRAD).

Example: Calibrating the radius of the stylus ball


Run a complete positioning and calibration program as follows.

Set the correct work offset co-ordinates for the feature position (for example, using G54).

%_N_????_MPF

T01 Select the probe.

M?? Switch on the probe.

G54 D1 Select the work offset and tool offset edge D1.

L9800 Reset input variables.

R24=0. R26=5. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move over the hole.

R26=−5. Set input variables for protected positioning.

L9810 Protected positioning move into the hole.

R7=50.001 Set input variables for calibration routine.

L9803 Calibrate in a 50.001 mm (1.9685 in) diameter feature.

R26=100. Set input variables for protected positioning.

L9810 Protected positioning move retract to Z100 mm (3.94 in).

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


5-20 Calibrating the probe (probe horizontal)

Calibrating the stylus single-sided (probe horizontal) – L9804

NOTE: When this method is used for calibrating a stylus, only the calibrated edge of the
stylus must be used in subsequent measuring cycles.

A B

OR

R24=x

R24=x

Figure 5.8 Calibrating the stylus single-sided (probe horizontal)

Description
Before the cycle is run, the probe is positioned either above a diameter (A) or inside a
diameter (B). When the cycle is completed, the edge of the stylus is updated to the tool
offset.

Application
Pre-machine either a hole with a suitable boring bar or a diameter with a turning tool.
Position the probe as described above and run the cycle.

When the cycle is run, a measuring move is made to determine the X offset of the stylus.
The probe is then returned to the start position.

Format
R24=x R20=t or RENTL=“toolname”
L9804

Example: R24=50.005 R20=8.


L9804

Publication No. H-2000-6177


Calibrating the probe (probe horizontal) 5-21

Compulsory inputs
R24=x The diameter of the reference surface.

Without the Tool Management / ShopTurn option

R20=t The active tool number.


Example: R20=8.

With the Tool Management / ShopTurn option

RENTL=“toolname” Note that the tool name must be enclosed in inverted commas and
be exactly the same word format as the actual tool name.

Example: RENTL=“3D_Probe”

Outputs
The X tool offset will be updated to the edge of the stylus.

Example: Single-sided stylus calibration


Run a complete positioning and calibration program as follows.

Set the correct work offset co-ordinates for the feature position (for example, using G54).

%_N_????_MPF

T=“3D_Probe” Select the probe.

M?? Switch on the probe.

G54 X75. Z50. D1 Select the work offset and tool offset edge D1.

L9800 Reset input variables.

R24=50. R26=−6. R9=3000. Set input variables for protected positioning.

L9810 Protected positioning move.

R24=40. RENTL=“3D_Probe” Set input variables for calibration routine.

L9804 Calibrate against a 40 mm (1.57 in) diameter and


update tool offset edge D1 of tool named “3D_Probe”.

R24=100. Set input variables for protected positioning.

L9810 Protected positioning move, retract to X100 mm.

M?? Switch off the probe.

M30 End of program.

Publication No. H-2000-6177


5-22 Calibrating the probe (probe horizontal)

This page is intentionally left blank.

Publication No. H-2000-6177


Standard measuring cycles 6-1

Chapter 6

Standard measuring cycles

This chapter describes how to use the non-vector measuring cycles with vertically-
mounted and horizontally-mounted probes.

Contained in this chapter


XZ single surface measurement (probe vertical) – L9811 ............................................... 6-2

Web/pocket measurement (probe vertical) – L9812........................................................ 6-5

XZ single surface measurement (probe horizontal) – L9811 ........................................... 6-9

Web/pocket measurement (probe horizontal) – L9812 ................................................. 6-12

Publication No. H-2000-6177


6-2 Standard measuring cycles (probe vertical)

XZ single surface measurement (probe vertical) – L9811

R24=x

R26=z

Figure 6.1 Measurement of a single surface (probe vertical)

Description
This cycle measures a surface to establish the size or position.

Application
The probe, with its tool offset active, should be positioned adjacent to the surface.
The cycle measures the surface and returns to the start position.

There are two possibilities, as follows:

1. The surface can be treated as a size, where the tool offset is updated in conjunction
with the R20=t or RENTL=“toolname” input and the R11=h input.

2. The surface can be treated as a reference surface position, for the purpose of
adjusting a work offset using the R19=s and R13=m inputs.

Format
R24=x or R26=z [R3=c R8=e R9=f R11=h R4=i R13=m R17=q R19=s R20=t or
RENTL=“toolname” R21=u R22=v R23=w]
L9811

where [ ] denote optional inputs.

Example: R24=50. R3=1. R8=1. R11=0.2 R4=0.5 R17=10. R19=1. R20=1. R21=0.5
R22=0.25 R23=2.
L9811

Compulsory inputs
R24=x The size of the target surface.

or

R26=z The position of the target surface.

Publication No. H-2000-6177


Standard measuring cycles (probe vertical) 6-3

Optional inputs
Inputs R3=c and R4=i are used with the reference touch option. This option eliminates
thermal growth errors from within the probe results, helping to maintain measuring
accuracy.

R3=c c=1. Takes the error from the reference diameter and stores it in RENC[34].
c=2. Takes the error stored in RENC[34] and adds it to the results of the
measured diameter.

R4=i This is the maximum tolerance used with the R3=c input.

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

R3=1.

R3=2.

Chuck

Figure 6.2 Reference touch option

Example: X and Z single surface measurement

7 5

6 4
2

Figure 6.3 Probe movements

Publication No. H-2000-6177


6-4 Standard measuring cycles (probe vertical)

T???? Select the probe.

M?? Switch on the probe.

L9800 Reset input variables.

R24=50. R26=10. R9=3000. Set input variables for protected positioning.

1. L9810 Protected positioning move to the start position.

R24=15. Set input variables for protected positioning.

2. L9810 Protected positioning move.

R26=0. R20=2.3 Set input variables for measure routine.

3. L9811 Single surface measure.

R24=80. Set input variables for protected positioning.

4. L9810 Protected positioning move.

R26=−6. Set input variables for protected positioning.

5. L9810 Protected positioning move.

R24=40. R20=4. Set input variables for measure routine.

6. L9811 Single surface measure.

R24=100. R26=10. Set input variables for protected positioning.

7. L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

continue

Tool 2 offset edge D3 (Z wear) and tool 4 offset edge D4 (X wear) will be updated.

Publication No. H-2000-6177


Standard measuring cycles (probe vertical) 6-5

Web/pocket measurement (probe vertical) – L9812

NOTE: This cycle must not be used unless double-sided calibration has taken place.

R24=x

R18=r
R7=d
R7=d

R24=x

R18=−r
R7=d

Figure 6.4 Measurement of a web or pocket feature (probe vertical)

Description
This cycle measures a web or pocket feature. It uses two measuring moves along the
Z axis.

Application
Position the probe to the expected centre line of the feature and at a suitable position in
the X axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.

Format
R7=d [R8=e R9=f R11=h R13=m R17=q R19=s R20=t or RENTL=“toolname” R21=u
R22=v R23=w]
L9812

or

Publication No. H-2000-6177


6-6 Standard measuring cycles (probe vertical)

R7=d R24=x [R8=e R9=f R11=h R13=m R17=q R18=r R19=s R20=t or
RENTL=“toolname” R21=u R22=v R23=w]
L9812

where [ ] denote optional inputs.

Example: R7=100. R24=50. R8=1. R9=0.8 R11=0.2 R13=0.2 R17=10. R18=10. R19=1.
R20=20. R21=0.5 R22=0.5 R23=2.
L9812

Compulsory inputs
R24=x The absolute X-axis position when measuring a web feature. If this is
omitted, a pocket cycle is assumed.

R7=d The nominal size of the feature in the Z axis.

Optional inputs
See Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Variable outputs”.

Example 1: Measuring a web

4 1

3 3

Figure 6.5 Probe movements

Publication No. H-2000-6177


Standard measuring cycles (probe vertical) 6-7

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=60. R26=20. R9=3000. Set input variables for protected positioning.

1. L9810 Protected positioning move.

R26=0. Set input variables for protected positioning.

2. L9810 Protected positioning move.

R7=10. R24=40. R19=2. Set input variables for measure routine.

3. L9812 Measure a 10 mm (1.968 in) wide web.

R24=100. R26=100. Set input variables for protected positioning.

4 L9810 Protected positioning move to safe plane.

continue

The centre line of the feature in the X axis is stored in the work offset 02 (G55).

Example 2: Measuring a pocket (referred datum)

5 1

2
3

Figure 6.6 Probe movements

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=100. R26=20. R9=3000. Set input variables for protected positioning.

Publication No. H-2000-6177


6-8 Standard measuring cycles (probe vertical)

1. L9810 Protected positioning move.

R26=−20. Set input variables for protected positioning.

2. L9810 Protected positioning move.

R24=40. Set input variables for protected positioning.

3. L9810 Protected positioning move.

R7=10. R19=2. Set input variables for measure routine.

4. L9812 Measure a 10 mm (1.181 in) wide pocket.

R24=100. R26=100. Set input variables for protected positioning.

5. L9810 Protected positioning move to a safe plane.

continue

The error of the centre line is referred to the datum point Z0 and the revised Z0 position is
set in work offset 02 (G55).

Publication No. H-2000-6177


Standard measuring cycles (probe horizontal) 6-9

XZ single surface measurement (probe horizontal) – L9811

R24=x

R26=z

Figure 6.7 Measurement of a single surface (probe horizontal)

Description
This cycle measures a surface to establish the size or position.

Application
The probe, with the tool offset active, should be positioned adjacent to the surface.
The cycle measures the surface and returns to the start position.

There are two possibilities, as follows:

1. The surface can be treated as a size, where the tool offset is updated in conjunction
with the R20=t and the R11=h input.

2. The surface can be treated as a reference surface position, for the purpose of
adjusting a work offset using the R19=s and R13=m inputs.

Format
R24=x or R26=z [R3=c R8=e R9=f R11=h R4=i R17=q R19=s R21=u R22=v R23=w
R20=t or RENTL=“toolname”]
L9811

where [ ] denote optional inputs.

Example: R24=50. R3=1. R8=90. R9=0.8 R11=0.2 R4=0.5 R17=10. R19=1. R20=20.
R21=0.5 R22=0.5 R23=2.
L9811

Compulsory inputs
R24=x The size of the target surface.
or
R26=z The position of the target surface.

Publication No. H-2000-6177


6-10 Standard measuring cycles (probe horizontal)

Optional inputs
Inputs R3=c and R4=i are used with the reference touch option. This option eliminates
thermal growth errors from within the probe results, helping to maintain measuring
accuracy.

R3=c c=1. Takes the error from the reference diameter and stores it in RENC[34].
c=2. Takes the error stored in RENC[34] and adds it to the results of the
measured diameter.

R4=i This is the maximum tolerance used with the R3=c input.

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


R3=1.

R3=2.
Chuck

Figure 6.8 Reference touch option

Example: X and Z single surface measurement

1
7
5

4
6
2

Figure 6.9 Probe movements

Publication No. H-2000-6177


Standard measuring cycles (probe horizontal) 6-11

T???? Select the probe.

M?? Switch on the probe.

L9800 Reset input variables.

R24=50. R26=10. R9=3000. Set input variables for protected positioning.

1. L9810 Protected positioning move to the start position.

R24=15. Set input variables for protected positioning.

2. L9810 Protected positioning move.

R26=0. R20=2.5 Set input variables for measure routine (update


tool 2, offset edge D5 in Z axis).

3. L9811 Single surface measure.

R24=80. Set input variables for protected positioning.

4. L9810 Protected positioning move.

R26=−6. Set input variables for protected positioning.

5. L9810 Protected positioning move.

R24=40. R20=4. Set input variables for measure routine.

6. L9811 Single surface measure.

R24=100. R26=10. Set input variables for protected positioning.

7. L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

continue

Tool 2 offset edge D5 (Z wear) and tool 4 offset edge D1 (X wear) will be updated.

Publication No. H-2000-6177


6-12 Standard measuring cycles (probe horizontal)

Web/pocket measurement (probe horizontal) – L9812

NOTE: This cycle must not be used unless double-sided calibration has taken place.

R26=z

R18=r

R7=d R7=d

R26=z
R18=−r

R7=d

Figure 6.10 Measurement of a web or pocket feature (probe horizontal)

Description
This cycle measures a web or pocket feature. It uses two measuring moves along the
X axis.

Application
Position the probe to the expected centre line of the feature and at a suitable position in
the Z axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.

Format
R7=d [R8=e R9=f R11=h R13=m R17=q R18=r R19=s R20=t or RENTL=“toolname”
R21=u R22=v R23=w]
L9812

or

R7=d R26=z [R8=e R9=f R11=h R13=m R17=q R18=r R19=s R21=u R22=v R23=w
R20=t or RENTL=“toolname”]
L9812

Publication No. H-2000-6177


Standard measuring cycles (probe horizontal) 6-13

where [ ] denote optional inputs.

Example: R7=50. R26=100. R8=2. R9=0.8 R11=0.2 R13=0.2 R17=10. R18=10. R19=1.
RENTL=“10_MILL” R21=0.5 R22=0.5 R23=2.
L9812

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

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

Optional inputs
See Chapter 2, “Optional inputs”.

Outputs
See Chapter 3, “Variable outputs”.

Example 1: Measuring a web


3
4

2
1

Figure 6.11 Probe movements

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=0. R26=0. R9=3000. Set input values for protected positioning.

1. L9810 Protected positioning move.

R7=50. R26= Z−10. R19=2. Set input values for measure routine.

2 to 7. L9812 Measure a 50 mm (1.968 in) wide web.

Publication No. H-2000-6177


6-14 Standard measuring cycles (probe horizontal)

R26=10. Set input values for protected positioning.

L9810 Protected positioning move.

M?? Switch off the probe.

continue

The centre line of the feature in the X axis is stored in work offset 02 (G55).

Example 2: Measuring a pocket

3 2 1

Figure 6.12 Probe movements

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R26=0. R9=3000. Set input values for protected positioning.

1. L9810 Protected positioning move.

R26=−10. Set input values for protected positioning.

2. L9810 Protected positioning move.

R7=30. R19=2. Set input values for measure routine.

3. L9812 Measure a 30 mm (1.181 in) wide pocket.

R26=10. Set input values for protected positioning.

L9810 Protected positioning move.

M?? Switch off the probe.

continue

The centre line of the feature in the X axis is stored in work offset 02 (G55).

Publication No. H-2000-6177


Additional cycles 7-1

Chapter 7

Additional cycles

The Inspection software contains two subroutine cycles that cannot be described under
the headings used in previous chapters (see chapters 4 to 6 inclusive). This chapter
describes how to use these cycles.

Contained in this chapter


Storing multi-stylus data (probe vertical) – L9830 ............................................................ 7-2

Loading multi-stylus data (probe vertical) – L9831 .......................................................... 7-4

Storing multi-stylus data (probe horizontal) – L9830........................................................ 7-6

Loading multi-stylus data (probe horizontal) – L9831 ...................................................... 7-8

Publication No. H-2000-6177


7-2 Additional cycles (probe vertical)

Storing multi-stylus data (probe vertical) – L9830

Probe 1 Probe 2

R6=1. R6=2.
Calibration data Calibration data

Figure 7.1 Storing multi-stylus data (probe vertical)

Description
The subroutine is used to store the stylus calibration data that is established during the
calibration cycles. The data is stored in the calibration data global variables (RENP[x]).

Stored data for each probe can be recalled using subroutine L9831.

Application
Calibrate the stylus using subroutines L9802 and L9803. Run subroutine L9830 to store
the calibration data RENP[3]. The values are recalled when subroutine L9831 is run.

Format
R6=k
L9630

Example: R6=2.
L9830

Compulsory input
R6=k This is the multi-stylus probe number that is used for storing calibration
data.
The active calibration data is stored in the subroutine variables shown in
the following table.

Active data R6=1. R6=2.

Ball Z radius RENP[3] RENP[4] RENP[5]

Publication No. H-2000-6177


Additional cycles (probe vertical) 7-3

Example: Multi-stylus store R6=1.


%_N_????_MPF

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=50. R9=3000. Set input parameters for protected positioning.

L9810 Protected positioning move in X.

R26=−30. Set input parameters for protected positioning.

L9810 Protected positioning move in Z.

R24=25. Set input parameters for protected positioning.

L9810 Protected positioning move in X.

R7=50.001 Set input parameters for the calibration routine.

L9803 Calibrate in the reference feature.

R6=1. Set input parameters for the store data routine.

L9830 Store calibration values for multi-stylus in variable RENP[4].

R24=100. Set input parameters for protected positioning.

L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


7-4 Additional cycles (probe vertical)

Loading multi-stylus data (probe vertical) – L9831

Probe 1 Probe 2

R6=1. R6=2.
Calibration data Calibration data

Figure 7.2 Loading multi-stylus data (probe vertical)

Description
This subroutine is used (in conjunction with L9830) to load stored calibration data for a
specific probe and stylus configuration into the active calibration variable range. It must be
run before using the probe and stylus.

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

Format
R6=k
L9831

Example: R6=1.
L9831

Compulsory input
R6=k This is the multi-stylus probe number that is used for loading stored data.
For a specific probe/stylus configuration, the R6=k input number must be
the same as that used when storing the data with L9830.

Active data R6=1. R6=2.

Ball Z radius RENP[3] RENP[4] RENP[5]

Publication No. H-2000-6177


Additional cycles (probe vertical) 7-5

Example: Multi-stylus load R6=1.


%_N_????_MPF

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=50. R26=−30. R9=3000. Set input parameters for protected positioning.

L9810 Protected positioning move to start position.

R6=1. Set input parameters for loading calibration values.

L9831 Load calibration values from RENP[4].

R7=30. R24=40. Set input parameters for the measure routine.

L9812 Measure a 30 mm (1.181 in) wide web feature.

R24=100. R26=100. Set input parameters for protected positioning.

L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

continue

Publication No. H-2000-6177


7-6 Additional cycles (probe horizontal)

Storing multi-stylus data (probe horizontal) – L9830


Probe 1
R6=1.
Calibration
data

Probe 2
R6=2.
Calibration
data

Figure 7.3 Storing multi-stylus data (probe horizontal)

Description
This subroutine is used to store stylus calibration data that is established during the
calibration cycles. The data is stored in the calibration data global variables (RENP[x]).

Stored data for each probe can be recalled using subroutine L9831.

Application
Calibrate the stylus using subroutine L9802 and L9803. Run subroutine L9830 to store the
calibration data RENP[0]. The values are recalled when subroutine L9831 is run.

Format
R6=1.
L9830

Example: R6=1.
L9830

Compulsory input
R6=k This is the multi-stylus probe number that is used for storing calibration
data.
The active calibration data is stored in the subroutine variables shown in
the following table.

Active data R6=1. R6=2.

Ball X radius RENP[0] RENP[1] RENP[2]

Publication No. H-2000-6177


Additional cycles (probe horizontal) 7-7

Example: Multi-stylus store R6=2.


%_N_????_MPF

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=0. R26=5. R9=3000. Set input parameters for protected positioning.

L9810 Protected positioning move to machine centre line.

R26=−10. Set input parameters for protected positioning.

L9810 Protected positioning move in Z.

R7=50.025 Set input parameters for the calibration routine.

L9803 Calibrate in the reference feature (ring gauge).

R6=2. Set input parameters for the store data routine.

L9830 Store calibration values for multi-stylus in variable RENP[2].

R26=100. Set input parameters for protected positioning.

L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

M30 End of the program.

Publication No. H-2000-6177


7-8 Additional cycles (probe horizontal)

Loading multi-stylus data (probe horizontal) – L9831


Probe 1
R6=1.
Calibration
data

Probe 2
R6=2.
Calibration
data

Figure 7.4 Loading multi-stylus data (probe horizontal)

Description
This subroutine is used (in conjunction with L9830) 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.

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

Format
R6=k
L9831

Example: R6=1.
L9831

Compulsory input
R6=k This is the multi-stylus probe number that is used for loading stored data.
For a specific probe/stylus configuration, the Kk input number must be
the same as that used when storing the data with L9830.
The active calibration data is stored in the subroutine variables shown in
the following table.

Active data R6=1. R6=2.

Ball X radius RENP[0] RENP[1] RENP[2]

Publication No. H-2000-6177


Additional cycles (probe horizontal) 7-9

Example: Multi-stylus load K1.


%_N_????_MPF

T?? Select the probe.

G54 D1 Set work offset and probe offset (D1 is default).

M?? Switch on the probe.

L9800 Reset input variables.

R24=50. R26=−30. R9=3000. Set input parameters for protected positioning.

L9810 Protected positioning move to start position.

R6=1. Set input parameters for loading calibration values.

L9831 Load calibration values from RENP[1].

R7=30. R24=40. Set input parameters for the measure routine.

L9812 Measure a 30 mm (1.181 in) wide web feature.

R24=100. R26=100. Set input parameters for protected positioning.

L9810 Protected positioning move to safe plane.

M?? Switch off the probe.

continue

Publication No. H-2000-6177


7-10 Additional cycles (probe horizontal)

This page is intentionally left blank.

Publication No. H-2000-6177


C-axis cycle 8-1

Chapter 8

C-axis cycle

This chapter describes how to use the C-axis subroutine that is supplied as part of the
Inspection software.

Contained in this chapter


C-axis find (probe vertical) – L9850 ................................................................................. 8-2

C-axis find (probe horizontal) – L9850 ............................................................................. 8-4

Publication No. H-2000-6177


8-2 C-axis cycle (probe vertical)

C-axis find (probe vertical) – L9850

Figure 8.1 C-axis find (probe vertical)

Description
This cycle will take two readings by moving the C axis. The results can be used to update
a work shift.

Application
The stylus must be programmed to a start position that is either above an external feature
or inside an internal feature. The C axis must be engaged before calling up the cycle.

The inclusion of an R24=x input indicates that an external feature is to be used.

Format
R7=d [R24=x R17=q R18=r R11=h R19=s]
L9850

where [ ] denote optional inputs.

Example: R7=20. R24=10. R17=10. R18=10. R11=0.2 R19=1.


L9850

Compulsory input
R7=d The linear width of the feature

Publication No. H-2000-6177


C-axis cycles (probe vertical) 8-3

Optional inputs
R11=h Half the total positional tolerance.

R17=q The amount of scan past the nominal surface position (angle value).

Default: 5 mm converted into an angle.

R18=r The clearance move amount in C for an external feature only (angle
value).

Default: 5 mm plus the ball radius converted into an angle.

R24=x The absolute X position at which a reading is taken when measuring an


external feature.

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

Example: Bore
Bore size = 20.0
X position = X60.0
Z position = Z−40.0

X100. Z20. C0. Move to the safe position.

L9800 Reset input variables.

R26=−40. R9=3000. Set input parameters for protected positioning.

L9810 Position over the bore.

R24=60. R9=1000. Set input parameters for protected positioning.

L9810 Position into the bore.

R7=20. Set input parameters for measure routine.

L9850 Measure the bore.

R24=100. Set input parameters for protected positioning.

L9810 Move out of the bore.

R26=20. Set input parameters for protected positioning.

L9810 Move to the start position.

Publication No. H-2000-6177


8-4 C-axis cycle (probe horizontal)

C-axis find (probe horizontal) – L9850

Figure 8.2 C-axis find (probe horizontal)

Description
This cycle will take two readings by moving the C axis. The results can be used to update
a work shift.

Application
The stylus must be programmed to a start position that is either above an external feature
or inside an internal feature. The C axis must be engaged before calling up the cycle.

The inclusion of an R26=z input indicates that an external feature is to be used.

Format
R7=d [R26=z R17=q R18=r R11=h R19=s]
L9850

where [ ] denote optional inputs.

Example: R7=20. R26=10. R17=10. R18=10. R11=0.2 R19=1.


L9850

Compulsory input
R7=d The linear width of the feature.

Publication No. H-2000-6177


C-axis cycle (probe horizontal) 8-5

Optional inputs
R11=h Half the total positional tolerance.

R17=q The amount of scan past the nominal surface position (angle value).

Default: 5 mm converted to angle value.

R18=r The clearance move amount in C for an external feature only (angle
value).
Default: 5 mm plus the ball radius converted into an angle.

R26=z The absolute Z position at which a reading is taken when measuring an


external feature.

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

Example: Boss
Boss size = 20.0
X position = X60.0
Z position = Z−40.0

X100. Z20. C0. Move to the safe position.

L9800 Reset input variables.

R24=60. R9=3000. Set input parameters for protected positioning.

L9810 Position over the boss.

R26=−30. R9=1000. Set input parameters for protected positioning.

L9810 Move to 10 mm above the boss.

R7=20. R26=−45. R19=1. Set input parameters for measure routine.

L9850 Measure the boss, update G54.

Publication No. H-2000-6177


8-6 C-axis cycle (probe horizontal)

This page is intentionally left blank.

Publication No. H-2000-6177


Alarms and error messages 9-1

Chapter 9

Alarms and error messages

When an error occurs during use of the Inspection software, an alarm number or
message is generated. This is displayed on the screen of the control.

This chapter describes the meaning and likely cause of each alarm message that may be
displayed. It then describes typical actions you should take to clear the fault.

Contained in this chapter


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

Publication No. H-2000-6177


9-2 Alarms and error messages

General alarms
Format:

RENC[48] flag
OUT OF TOLERANCE Updates the offset if the cycle 1
OUT OF POSITION start button is pressed to 2
DIA OFFSET TOO LARGE continue. 5

UPPER TOL EXCEEDED No offset update if the cycle 3


start button is pressed to
continue.

Action Press cycle start to continue.

Format: FORMAT ERROR


R6 INPUT MISSING
R6 INPUT OUT OF RANGE
R20/TOOLNAME INPUT MISSING
R24/R26 INPUT MISSING
R24 INPUT MISSING
R26 INPUT MISSING
R24/R26 INPUT MIXED
R19/R11 INPUT MIXED
R19/R20 INPUT MIXED
R20/R13 INPUT MIXED

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

This is a reset condition.

Format: PATH OBSTRUCTED

Cause: The probe has made contact with an obstruction. This alarm 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: NO FEED RATE

Cause: This alarm occurs only during a protected positioning cycle.

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

This is a reset condition.

Publication No. H-2000-6177


Alarms and error messages 9-3

Format: PROBE OPEN

Cause: This alarm occurs if the probe is already triggered before a 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.

Format: PROBE FAIL

Cause: This alarm occurs if the probe did not trigger during the move.

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: C POSITION ERROR

Cause: The positional error of the feature exceeds the tolerance value (R11=h).

Action: Reload the component and start again from a safe start position.

This is a reset condition.

Format: PROBE AXIS NOT DEFINED

Cause: This alarm occurs if the settings in L9724 are set incorrectly.

Action: Edit the program L9724 with correct values.

Publication No. H-2000-6177


9-4 Alarms and error messages

This page is intentionally left blank.

Publication No. H-2000-6177


Settings, subroutines and variables 10-1

Chapter 10

Settings, subroutines and variables

Contained in this chapter


Customising the software............................................................................................... 10-2
Editing the settings subroutine (L9724) .................................................................. 10-2
Alarm settings (RENC[20]) ..................................................................................... 10-3
Process alarms ....................................................................................................... 10-3

Use of subroutine variables ........................................................................................... 10-4


Local variables ........................................................................................................ 10-4
Common variables .................................................................................................. 10-4
Global probe variables ............................................................................................ 10-5

Publication No. H-2000-6177


10-2 Settings, subroutines and variables

Customising the software

Editing the settings subroutine (L9724)


The settings subroutine (L9724) is called at the beginning of each top-level subroutine to
establish the necessary modal information. If the default values are not suitable, you will
need to change the values during installation by editing this subroutine.

The following options of subroutine L9724 will need to be set:

 Tolerance alarms or flag only (FMS type application)

 Tool offset type (radial or diametrical values)

 Probe axis

 Measuring input number

The examples in this chapter are for general guidance only. Note that the exact
programming format may not suit either your machine set-up or recommended method as
specified by your machine builder.

RENC[20]=1 or 4 This parameter is used to select the type of error


message handling (see options below).

RENP[8]=1 or 3 Probe tool axis (1=X, 3=Z).

RENC[14]=n The tool management system is in use, where “n”


is the DUPLO number (usually 1) in the tool buffer.

Default: 1

RENC[19]=5000 ; FAST FEED MM The fast feedrate of the cycles can be adjusted by
RENC[19]=200 ; FAST FEED INCH this variable to suit the machine characteristics
and should be optimised.

RENC[15]=100 ; MEAS FEED MM The measure feedrate of the cycles can be


RENC[15]=4 ; MEAS FEED INCH adjusted by this variable. Because the final
measure touch is over a very small distance,
changing this will have no effect on cycle time.

RENP[7]=1 or -1 Measuring input number used.


2 or -2

NOTES:

1. All probe axis positioning moves are at the RENC[19]*.6 value (3000 mm/min as
standard).

2. All other positioning moves are at the RENC[19] value (5000 mm/min as standard).

Publication No. H-2000-6177


Settings, subroutines and variables 10-3

Alarm settings (RENC[20])


Using RENC[20], the software can be set to operate in either of the following modes:

 Stop the machine at the end of the measuring cycle with an alarm message and set
the alarm flag RENC[48].

 Set the alarm flag RENC[48] only, allowing the process to continue.

RENC[20]=1 If one of the conditions listed below in “Process alarms” occurs, the
cycle stops with an alarm message and flag RENC[48] is set as
appropriate. Otherwise, flag RENC[48]=0 is set and the cycle
continues.

RENC[20]=4 If one of the conditions listed below in “Process alarms” occurs, flag
RENC[48] is set as appropriate but the cycle does not stop.
Otherwise, flag RENC[48]=0 is set and the cycle continues.

Process alarms
Out of tolerance RENC[48]=1

Out of position RENC[48]=2

Upper tolerance exceeded RENC[48]=3

Diameter offset too large RENC[48]=5

NOTE: If you need to be able to switch this option on and off during the program, the
following line in subroutine O9724 may be deleted during installation. RENC[20] can then
be programmed.

RENC[20]=0(SELECT ALARM METHOD).

Publication No. H-2000-6177


10-4 Settings, subroutines and variables

Use of subroutine variables


Local variables
_REN[0] to _REN[32] These are used within each subroutine as necessary for
calculations etc.

Common variables
RENC[0] Probe status flag.
0=N/O, 1=N/C
RENC[1] Radial or diametrical tool offset values (default 1).

RENC[8] Radius or diameter programming. This is detected automatically by the


software.

RENC[9] Target position for C-axis cycles.

RENC[12] Report number – Write to file.

RENC[13] File limit for reports – Write to file.

RENC[14] The tool management system is in use, where “n” is the DUPLO
number (usually 1) in the tool buffer (default 1).

RENC[15 ] Final probing feedrate.This is set in subroutine L9724 at a default


value of 100 mm/min (4 in/min).

RENC[17] Modal feedrate value used in the protected positioning subroutine


(L9810).

RENC[18] RADIUS TOO LARGE flag in subroutine L9812.

RENC[19] Fast feedrate value. This is set in subroutine L9724 at a default value
of 5000 mm/min (200 in/min).

RENC[20] Flag or alarm selection (see “Alarm settings (RENC[20]” earlier in this
chapter).

RENC[21] Write to file option. The component number is incremented by 1 with


each heading program (R23=2). To reset, state RENC[21]=0.

RENC[22] Write to file option. The feature number is incremented by 1 with each write
to file subroutine call program (R23=1). To reset, state RENC[22]=0.

RENC[24] Stored X skip position at the end of the basic move subroutine L9726.

RENC[25] Stored skip for C-axis cycles.

RENC[26] Stored Z skip position at the end of the basic move subroutine L9726.

RENC[27] Average skip position at the end of the diametrical move subroutine
L9720.

Publication No. H-2000-6177


Settings, subroutines and variables 10-5

RENC[29] Inch/metric multiplier (0.04/1.0).

RENC[30] to
RENC[33] Not used by this software.

RENC[34] Error store when using the R3=1. input subroutine L9811.

RENC[35] to
RENC[49] See Chapter 2, “Variable outputs”.

Global probe variables

RENP[0] (XRAD) X calibration radius (probe horizontal).

RENP[1] Multi-stylus storage K1 (probe horizontal).

RENP[2] Multi-stylus storage K2 (probe horizontal).

RENP[3] (ZRAD) Z calibration radius (probe vertical).

RENP[4] Multi-stylus storage K1 (probe vertical).

RENP[5] Multi-stylus storage K2 (probe vertical).

RENP[6] Basic move control factor (see Figure 10.1). This is used to control the
back-off distance in the basic move before the final gauge move.
It should be fine-tuned on installation to suit the machine.
A default value of 0.5 is installed by the software. The actual factor
should normally be between 0 and 1.0. Reduce the value to reduce the
back-off distance.
(a) (c)

(b)

X
RENP[6]
(Basic move
control factor)

1 2 3

Move 1: Fast feed to find the surface a = Fast feed


Move 2: Recover from the surface b = Gauge feed (30 mm/min)
Move 3: Gauge feed 30 mm/min (1.2 in/min) c = Return

Figure 10.1 Basic move control factor

Publication No. H-2000-6177


10-6 Settings, subroutines and variables

RENP[7]=(1 or –1) Measuring input (MEPUS 0) used on I/O interface connector X121.

RENP[7]=1 configured for the N/O input.

RENP[7]=−1 configured for the N/C input.

RENP[7]=(2 or –2) Measuring input (MEPUS 1) used on I/O interface connector X121.

RENP[7]=2 configured for the N/O input.

RENP[7]=−2 configured for the N/C input.

RENP[8]=1 or 3 Probe tool axis.


1=X, 3=Z

Publication No. H-2000-6177


General information 11-1

Chapter 11

General information

Contained in this chapter


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

Experience values RENE[ ] ............................................................................................ 11-3


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

Printing a subroutine output – an example .................................................................... 11-3

Publication No. H-2000-6177


11-2 General information

Tolerances
R21=u, R11=h and R22=v apply to size and tool offset updates only.

R21=u

R11=h
c d e

R22=v
a
b

a = Nominal size.
b = Null band. This is the tolerance zone where no tool offset adjustment occurs.
c = Area where the R9=f input is effective in percentage feedback. R9=0. to R9=1.
gives 0% to 100% feedback to the tool offset.
d = OUT OF TOLERANCE alarm occurs. The tolerance value that applies to the
size of the feature is defined by input R11=h.
e = R21=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-6177


General information 11-3

Experience values RENE[ ]


The measured size can be adjusted by an amount stored in RENE[ ] global variables.
Twenty of these global variables are usually available: RENE[0] to RENE[19].

Example: Measure a 40 mm diameter and update tool offset 20

R7=40. R20=20. R8=15. An experience value stored in RENE[15] will


L9812 be applied to the measured size.

NOTE: The experience value is always 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 by this means.

Printing a subroutine output – an example


--------------------------------------------------------------------------
COMPONENT NO 31 FEATURE NO 1
--------------------------------------------------------------------------

POSN R79.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

ANG -124.6952 ACTUAL -124.8578 DEV -0.1626

---------------------------------------------------------------------------
COMPONENT NO 31 FEATURE NO 2
---------------------------------------------------------------------------

SIZE D71.0000 ACTUAL 71.9072 TOL 0.1000 DEV 0.9072

+++++OUT OF TOL+++++ ERROR 0.8072

POSN X-135.0000 ACTUAL -135.3279 DEV -0.3279


POSN Y-65.0000 ACTUAL -63.8201 DEV 1.1799

Publication No. H-2000-6177


11-4 General information

This page is intentionally left blank.

Publication No. H-2000-6177


Features, cycles and limitations A-1

Appendix A

Features, cycles and limitations

Contained in this appendix


Features of the Inspection software ................................................................................. A-2

Cycles .............................................................................................................................. A-2

Limitations ........................................................................................................................ A-2

Publication No. H-2000-6177


A-2 Features, cycles and limitations

Features of the Inspection software


 Protected positioning.

 Measurement of internal and external features to determine both size and position.
This includes:

 Obtaining an output (file) of the 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.

 Calibration of multiple styli.

 Software option to turn off the tolerance alarms and provide a flag-only alarm.
Suitable for FMS and unmanned applications.

 Built-in stylus collision and false trigger protection for all cycles.

 Diagnostic and format error-checking routines for all cycles.

Cycles
 Protected positioning.

 Measurement:

 XZ single surface.

 Web/pocket.

 C-axis find.

 Multi-stylus calibration.

Limitations
 The probe cycles will not run if ‘mirror image’ is active.

 Consider subroutine variable availability.

Publication No. H-2000-6177


Co-ordinate systems used on lathes B-1

Appendix B

Tool offset systems used on Siemens lathes

Contained in this chapter


Siemens lathe tool offsets ................................................................................................ B-2

Lathe plane selection (G17, G18, G19) ........................................................................... B-6

Example 1: Turning tool offset geometry (Tool Type 5xx) ............................................... B-8

Example 2: Fixed tool offset geometry (Tool Type 2xx) .................................................. B-9

Example 3: Driven tool offset geometry (Tool Type 1xx) ............................................... B-10

CAUTION: While the examples described in this chapter are commonly used, you must
be aware that they might not be suitable for your machine. Care must be taken that the
tool offset updating is being done correctly before running part program cycles after
probing and updating the tool offsets.

Publication No. H-2000-6177


B-2 Co-ordinate systems used on lathes

Siemens lathe tool offsets


A simplified description of the Siemens 810/840D tool offsets is as follows:

 Tool identification with tool numbers from 0 to 32000

 Up to a maximum of nine cutting edges (D1 to D9) for each tool

 Cutting edges described with up to 25 tool parameters, including:

 Tool type

 Tool vector (for turning tools)

 Length geometry and wear

 Radial/diametrical geometry and wear

 Base/adaptor dimension in both axes

 Cutter radius geometry and wear

 Tool nose radius (for turning tools)

The length and diametrical/radial dimensions are referred to in the Siemens tool tables as
lengths 1, 2 and 3 which equate to the X, Y and Z axes on standard milling machines.

For turning tools on lathe applications (2 axis) lengths 1 and 2 equate to the X and Z axes
respectively. For fixed drills/reamers etc. and milling tools, length 1 normally applies to the
Z axis, although this will depend, in the case of the powered milling tools, on the
orientation of the tooling heads, i.e. whether they point along the Z axis or the X axis.

The lengths 1, 2 and 3, geometry, wear and base parameters are designated as DP
numbers in the Siemens programming language, where the “base” can refer to fixed
dimensions such as turret widths, packing blocks etc.

Publication No. H-2000-6177


Co-ordinate systems used on lathes B-3

The format is $TC_DPx(T,D) where “x” is a number allocated to the specific parameter,
“T” is the tool number and “D” the edge number.

Tool parameter
STC_DP(x) Meaning Notes

1 Tool type See next table

2 Tool edge position (vector) Turn tools only

3 Tool length compensation – length 1 – geometry

4 Tool length compensation – length 2 – geometry

5 Tool length compensation – length 3 – geometry

6 Tool radius compensation – radius 1 – geometry

12 Tool length compensation – length 1 – wear

13 Tool length compensation – length 2 – wear

14 Tool length compensation – length 3 – wear

15 Tool radius compensation – radius 1 – wear

21 Base/adaptor dimension – length 1

22 Base/adaptor dimension – length 2

23 Base/adaptor dimension – length 3

24 Free cutting angle Turn tools only

Tool type (tool parameter)


Siemens allocate tools into five groups or categories.

 Milling tools

 Drilling tools

 Grinding tools

 Turning tools

 Special tools

Milling tools are defined as any tools that, on a lathe, are independently driven and do not
depend on the main spindle rotation to provide the cutting action.

These are Type 100 tools and are subdivided into sub-types as indicated in the table
below.

Drilling tools are tools that require the rotation of the main lathe spindle to provide the
cutting action. They must therefore always be positioned on the main spindle centre line
before they can be fed in to the workpiece. These are Type 200 tools.

Publication No. H-2000-6177


B-4 Co-ordinate systems used on lathes

Grinding tools (Type 400) are not applicable to lathe applications.

Turning tools are, again, tools that depend on the main spindle rotation to provide the
cutting action and include external cutting tools, internal boring bars, screw cutting tools,
part off tools etc. These are classed as Type 500 tool.

Special tools (Type 700) include bar stops, slotting saws and probes. Renishaw probes
are normally designated as Tool Type 710 – 3D probes.

It should be noted that some of the Siemens documentation refers to probes as being in
the Tool Type 500 group when used on lathes. The reason for this is so that they can be
allocated a tool vector number, the same as turning tools, to allow for the probe being set
in different orientations on lathes and mill/turn type machines. The tool vectors used will
only be the four cardinal axis vectors 5, 6, 7 or 8.

The use of the Tool Type 500 group for probes on lathes is probably to do with how
Siemens have written their own probing cycles. For the present, the Renishaw cycles do
not use the tool vector information. As far as tool offsets are concerned, probes are
treated the same as turning tools in the Renishaw probing routines so there should not be
any problem if probes are only able to be classified as Tool Type 500 on any particular
installation.

The following table shows the general allocation of tools in the Siemens Tool Type
system.

Publication No. H-2000-6177


Co-ordinate systems used on lathes B-5

Tool type Tool description

Type 100 – Milling tools

100 Milling tools to DIN66215

110 Ball end mill

120 End mill

121 End mill with corner radius

130 Angle head cutter

131 Angle head cutter with corner radius

140 Face mill

145 Thread mill

150 Side mill

Type 200 – Drilling tools

200 Drill

205 Solid bit

210 Drilling rod

220 Centre drill

230 Countersink

240 Tap – coarse thread

241 Tap – fine thread

250 Reamer

Type 500 – Turning tools

500 Roughing tool

510 Finishing tool

520 Recessing tool

530 Part off tool

540 Screw cutting tool

580 Oriented probe

Type 700 – Special tools

700 Slitting tool

710 3D_Probe

Publication No. H-2000-6177


B-6 Co-ordinate systems used on lathes

Lathe plane selection (G17, G18, G19)


Programming of the working plane is normally required for the computation of tool offsets
and tool/cutter radius compensation.

The default setting on a conventional lathe without any power tooling option is the G18
(XZ) plane, although Siemens programming manuals indicate that the G17 (XY) plane
needs to be programmed when using any form of fixed drilling tool on the spindle centre
line for producing a hole or feature. On a lathe with powered tooling options (mill/turn
machine) where the G17/G18/G19 plane needs to be switched to address the correct
orientation of the tooling, the Siemens control normally switches the axis in which length
1, and the related lengths, are active.

The above illustrations, copied from the Siemens documentation, show the relevant
working planes used on a lathe and also how the length 1 of a milling cutter is switched
around depending on the plane selected in a part program.

There is an option on the Siemens controls to stop this switching from happening so that,
on a lathe, length 1 is always in the X axis. This would normally be done on the more
basic budget type lathes such as those fitted with a Siemens 802D controller, which do
not have powered tooling adaptors fitted or a spindle C axis.

Two setting data parameters are involved:

 SD 42940: TOOL_LENGTH_CONST

 SD 42950: TOOL_LENGTH_TYPE

SD 42940 Tool length and plane change

If this setting data is set to a 0 (zero), then the tool lengths 1, 2 and 3 will switch around,
as per the assignments shown in the top right-hand graphic, when the plane select
commands G17, G18 or G19 are programmed.

Alternatively the setting data can be set to 17, 18 or 19 (positive or negative values). This
will fix the assignments of the tool lengths according to the setting data number used.

Publication No. H-2000-6177


Co-ordinate systems used on lathes B-7

Because the assignments for lathes and milling machines differ, the second setting data
SD42950 is used to indicate which system to adopt.

SD 42950 Length compensation for tool type

The default value for this setting data is 0 (zero). To differentiate between lathes and
milling machines, if the SD42940 setting data is set to a value other than 0 (zero), the SD
42950 must be set to a 1 or 2.

 A value of 1 means that the length assignments are always as for milling tools.

 A value of 2 means that the length assignments are always as for turning tools.

A typical example for a lathe will be:

SD 42940: TOOL_LENGTH_CONST=18

SD 42490: TOOL_LENGTH_TYPE=2

Publication No. H-2000-6177


B-8 Co-ordinate systems used on lathes

Example 1: Turning tool offset geometry (Tool Type 5xx)


Boring tool
Length 2
DP4 Geometry
DP13 Wear

Length 1
DP3 Geometry
DP12 Wear

Turning tool

Length 1
DP3 Geometry
DP12 Wear

Length 2
DP4 Geometry
DP13 Wear

Generally speaking, all Siemens lathe applications should use the above configuration, as
turning is always done in the G18 (XZ) plane.

Publication No. H-2000-6177


Co-ordinate systems used on lathes B-9

Example 2: Fixed tool offset geometry (Tool Type 2xx)

Length 1
DP3 Geometry
DP12 Wear

If the setting data parameters SD 42940 and SD 42950 are set to their defaults of 0 (zero),
then the above configuration should apply.

If the setting data parameters SD 42940 and SD 42950 are set to the same as the example
shown on page B-7:
SD 42940: TOOL_LENGTH_CONST=18
SD 42490: TOOL_LENGTH_TYPE=2

then the configuration shown below should apply.

Length 2
DP4 Geometry
DP13 Wear

Publication No. H-2000-6177


B-10 Co-ordinate systems used on lathes

Example 3: Driven tool offset geometry (Tool Type 1xx)

Length 2
DP4 Geometry
DP13 Wear

Length 1
DP3 Geometry
DP12 Wear

If the setting data parameters SD 42940 and SD 42950 are set to their defaults of 0
(zero), then the above configuration should apply. Depending on the configuration of the
driven tool block design, the centre line of the cutter may not be on the machine’s X axis
zero line so there will then be a length 2 component.

If the setting data parameters SD 42940 and SD 42950 are set to the same as the
example shown on page B-7:

SD 42940: TOOL_LENGTH_CONST=18
SD 42490: TOOL_LENGTH_TYPE=2

then the configuration shown below should apply.

Length 1
DP3 Geometry
DP12 Wear

Length 2
DP4 Geometry
DP13 Wear

Publication No. H-2000-6177


Co-ordinate systems used on lathes B-11

Similarly, with a vertically orientated driven tool block, the length 1 and length 2 allocations
will switch around, depending on the setting data parameter settings.

Setting data parameters SD 42940 and SD 42950 are set to their defaults of 0 (zero).

Length 2
DP4 Geometry
DP13 Wear

Length 1
DP3 Geometry
DP12 Wear

Alternatively:

Length 2
DP4 Geometry
DP13 Wear

Length 1
DP3 Geometry
DP12 Wear

Publication No. H-2000-6177


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-6177-0B*

Das könnte Ihnen auch gefallen