Beruflich Dokumente
Kultur Dokumente
H-2000-6177-0B-A
Disclaimer
Trade marks
Issued: 08.2015
IMPORTANT – PLEASE READ CAREFULLY
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.
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.
MACHINE DETAILS
Machine description ............................................................................................................................................
Machine type .......................................................................................................................................................
Controller .............................................................................................................................................................
Special control options ........................................................................................................................................
..............................................................................................................................................................................
..............................................................................................................................................................................
The software product for which these changes are authorised is subject to copyright.
A copy of the software amendments must be retained by the customer – they cannot be retained by
Renishaw plc.
Cautions i
Renishaw has no control over the exact program configuration of the controller with which
the software is to be used, nor of the mechanical layout of the machine. Therefore, it is
the responsibility of the person putting the software into operation to:
ensure that all machine safety guards are in position and are correctly working
before commencement of operation;
ensure that any manual overrides are disabled before commencement of operation;
verify that the program steps invoked by this software are compatible with the
controller for which they are intended;
ensure that any moves which the machine will be instructed to make under program
control 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.
Contents
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 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 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.
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).
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.
File 1
File 2
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”.
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).
A description of what happened and what you were doing when the problem
occurred.
Chapter 1
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.
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.
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.
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.
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.)
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.)
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”
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.
Variable outputs
Chapter 4
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.
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.
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
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.
Chapter 5
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.
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 X tool offset double-sided (probe horizontal) – L9802 ................ 5-15
Calibrating the stylus ball radius double-sided (probe horizontal) – L9803 ................... 5-18
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 it is suspected that the stylus has become distorted or that the probe has
crashed.
Calibrating single-sided.
Calibrating double-sided.
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.
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.
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).
The Renishaw calibration cycles are split into separate cycles for flexibility.
R20=t
Tool number
R24=x
Reference
diameter
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
Compulsory inputs
R24=x The exact size of the reference diameter.
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.
Z100. D1. Move to a safe plane and apply tool offset (edge D1).
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.
Compulsory inputs
R7=d The width of the reference feature.
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.
Outputs
The Z tool length offset will be updated to the centre of the stylus.
Set the correct work offset co-ordinates for the feature position (for example, using G54).
%_N_????_MPF
G54 D1 Select the work offset and tool offset edge D1.
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.
Compulsory input
R7=d The nominal size of the reference web or groove.
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.
Outputs
The following data will be stored:
Set the correct work offset co-ordinates for the feature position (for example, using G54).
%_N_????_MPF
G54 D1 Select the work offset and tool offset edge D1.
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
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
Compulsory inputs
R26=z The position of the reference surface.
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.
Set the correct work offset co-ordinates for the feature position (for example, using G54).
%_N_????_MPF
G54 D1 Select the work offset and tool offset edge D1.
R26=z
Reference surface
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
Compulsory inputs
R26=z The position of the reference surface.
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.
G54 D1 Select the work offset and tool offset edge D1.
G0 X100. Z100. D1 Move to a safe plane and apply tool offset (edge D1).
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
Compulsory inputs
R7=d The nominal size of the diametrical feature.
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.
Outputs
The X tool offset will be updated to the centre of the stylus.
Set the correct work offset co-ordinates for the feature position (for example, using G54).
%_N_????_MPF
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
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.
Outputs
The following data will be stored:
Set the correct work offset co-ordinates for the feature position (for example, using G54).
%_N_????_MPF
G54 D1 Select the work offset and tool offset edge D1.
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
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
Compulsory inputs
R24=x The diameter of the reference surface.
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.
Set the correct work offset co-ordinates for the feature position (for example, using G54).
%_N_????_MPF
G54 X75. Z50. D1 Select the work offset and tool offset edge D1.
Chapter 6
This chapter describes how to use the non-vector measuring cycles with vertically-
mounted and horizontally-mounted probes.
R24=x
R26=z
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.
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
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
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.
R3=1.
R3=2.
Chuck
7 5
6 4
2
continue
Tool 2 offset edge D3 (Z wear) and tool 4 offset edge D4 (X wear) will be updated.
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
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
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
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.
Optional inputs
See Chapter 2, “Optional inputs”.
Outputs
See Chapter 3, “Variable outputs”.
4 1
3 3
continue
The centre line of the feature in the X axis is stored in the work offset 02 (G55).
5 1
2
3
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).
R24=x
R26=z
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.
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
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.
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.
R3=2.
Chuck
1
7
5
4
6
2
continue
Tool 2 offset edge D5 (Z wear) and tool 4 offset edge D1 (X wear) will be updated.
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
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
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”.
2
1
R7=50. R26= Z−10. R19=2. Set input values for measure routine.
continue
The centre line of the feature in the X axis is stored in work offset 02 (G55).
3 2 1
continue
The centre line of the feature in the X axis is stored in work offset 02 (G55).
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.
Probe 1 Probe 2
R6=1. R6=2.
Calibration data Calibration data
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.
Probe 1 Probe 2
R6=1. R6=2.
Calibration data Calibration data
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.
continue
Probe 2
R6=2.
Calibration
data
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.
Probe 2
R6=2.
Calibration
data
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.
continue
Chapter 8
C-axis cycle
This chapter describes how to use the C-axis subroutine that is supplied as part of the
Inspection software.
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.
Format
R7=d [R24=x R17=q R18=r R11=h R19=s]
L9850
Compulsory input
R7=d The linear width of the feature
Optional inputs
R11=h Half the total positional tolerance.
R17=q The amount of scan past the nominal surface position (angle value).
R18=r The clearance move amount in C for an external feature only (angle
value).
Example: Bore
Bore size = 20.0
X position = X60.0
Z position = Z−40.0
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.
Format
R7=d [R26=z R17=q R18=r R11=h R19=s]
L9850
Compulsory input
R7=d The linear width of the feature.
Optional inputs
R11=h Half the total positional tolerance.
R17=q The amount of scan past the nominal surface position (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.
Example: Boss
Boss size = 20.0
X position = X60.0
Z position = Z−40.0
Chapter 9
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.
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
Action: Edit the program and start again from a safe start position.
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.
Action: Edit the program. Insert the R9=f code input and start again from a safe
position.
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.
Cause: This alarm occurs if the probe did not trigger during the move.
Action: Edit the program and start again from a safe start position.
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.
Cause: This alarm occurs if the settings in L9724 are set incorrectly.
Chapter 10
Probe axis
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.
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.
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).
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
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.
Common variables
RENC[0] Probe status flag.
0=N/O, 1=N/C
RENC[1] Radial or diametrical tool offset values (default 1).
RENC[14] The tool management system is in use, where “n” is the DUPLO
number (usually 1) in the tool buffer (default 1).
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[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[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.
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”.
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
RENP[7]=(1 or –1) Measuring input (MEPUS 0) used on I/O interface connector X121.
RENP[7]=(2 or –2) Measuring input (MEPUS 1) used on I/O interface connector X121.
Chapter 11
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.
---------------------------------------------------------------------------
COMPONENT NO 31 FEATURE NO 2
---------------------------------------------------------------------------
Appendix A
Measurement of internal and external features to determine both size and position.
This includes:
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.
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.
Appendix B
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.
Tool type
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.
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
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.
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.
200 Drill
230 Countersink
250 Reamer
710 3D_Probe
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.
SD 42940: TOOL_LENGTH_CONST
SD 42950: TOOL_LENGTH_TYPE
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.
Because the assignments for lathes and milling machines differ, the second setting data
SD42950 is used to indicate which system to adopt.
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.
SD 42940: TOOL_LENGTH_CONST=18
SD 42490: TOOL_LENGTH_TYPE=2
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.
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
Length 2
DP4 Geometry
DP13 Wear
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
Length 1
DP3 Geometry
DP12 Wear
Length 2
DP4 Geometry
DP13 Wear
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
*H-2000-6177-0B*