Renishaw en
Renishaw en
H-2000-6031-0C-A
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
Considerable effort has been made to ensure that the contents of this document are free from
inaccuracies and omissions. However, Renishaw makes no warranties with respect to the contents of
this document and specifically disclaims any implied warranties. Renishaw reserves the right to make
changes to this document and to the product described herein without obligation to notify any person of
such changes.
Trademarks
All brand names and product names used in this document are trade names, service marks,
trademarks, or registered trademarks of their respective owners.
07.1995
Revised:
03.1997
03.2002
04.2003
Form 1
MACHINE DETAILS
Machine description...........................................................................................................................
Machine type.................................................................................................................................
Controller.............................................................................................................................
Special control options.................................................................................................................................
..................................................................................................................................
..................................................................................................................................
RENISHAW HARDWARE
RENISHAW SOFTWARE
Inspection probe type .......................................
Inspection disk(s).....................................................
.....................................................................................
.....................................................................................
.....................................................................................
.........................................................................................
SPECIAL SWITCHING M CODES (OR OTHER) WHERE APPLICABLE
Dual systems only
Switch (Spin) probe on ....................................
Other ..........................................................................
.......................................................................................
ADDITIONAL INFORMATION
Form 2
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
ensure that all machine safety guards are in position and are correctly working
before commencement of operation;
ensure that any manual overrides are disabled before commencement of operation;
verify that the program steps invoked by this software are compatible with the
controller for which they are intended;
ensure that any moves which the machine will be instructed to make under program
control would not cause the machine to inflict damage upon itself or upon any
person in the vicinity;
be thoroughly familiar with the machine tool and its controller and know the location
of all emergency stop switches.
II
Table of contents
III
Table of contents
Before you begin
Before you begin................................................................................................................. 1
Measurement values used in this manual .......................................................................... 1
List of associated publications ............................................................................................ 2
About the Inspection Plus software .................................................................................... 2
Software kit ......................................................................................................................... 2
Floppy disk assembly A-4012-0518 ............................................................................ 2
Macro memory requirements .............................................................................................. 3
File 40120519 .............................................................................................................. 3
File 40120520 .............................................................................................................. 4
File 40120521 .............................................................................................................. 4
File 40120727 .............................................................................................................. 5
Renishaw customer services .............................................................................................. 5
Calling a Renishaw subsidiary office ........................................................................... 5
Using the software with multi-buffer options ....................................................................... 6
Fanuc 15M-A02B-0094-J986 ...................................................................................... 6
Chapter 1
Getting started
Chapter 2
IV
Table of contents
Chapter 3
Optional inputs
Chapter 4
Variable outputs
Chapter 5
Chapter 6
Calibration cycles
Chapter 7
Measuring cycles
Chapter 8
Table of contents
Chapter 9
Additional cycles
VI
Table of contents
Appendix D Tolerances
Tolerances .......................................................................................................................D-2
True position tolerances ..................................................................................................D-3
Table of contents
VII
VIII
Table of contents
Chapter 1 explains why your probe must be calibrated before you start using it.
Chapter 2 describes how to install and customise the Inspection Plus software on
your machine.
Chapter 3 provides a complete list of the optional inputs that are required by some
of the macro cycles.
Chapter 4 provides a complete list of the optional outputs that are produced by
some of the macro cycles.
Chapter 5 describes how to use the protected positioning macro (O9810). When
correctly used, this macro prevents damage to the probe stylus in the event of the
probe colliding with the workpiece.
Chapter 6 describes how to use the four macros that are provided for calibrating a
probe.
Chapter 8 describes how to use the three vector measuring cycle macros.
Chapter 9 describes how to use the macro cycles that have not been described in
previous chapters.
Chapter 10 describes the macro alarm numbers or messages that may be displayed
on the screen of the machine tool controller when an error occurs. An explanation of
the meaning and possible cause of each alarm message is provided, together with
typical actions you must take to correct the fault causing the message.
Probe systems Installation manual for machine tools (Renishaw part no.
H-2000-6040).
Probe software for machine tools Data sheet (Renishaw part no. H-2000-2289).
Software kit
Inspection Plus software Renishaw part no. A-4012-0516
This comprises the following item:
(File 40120519)
(File 40120520)
(File 40120521)
(File 40120727)
O9722
O9803
O9723
O9810
O9724
O9811
O9726
O9812
O9727
O9814
O9731
O9732
O9801
O9804
O9843
O9815
O9816
O9817
O9818
O9821
O9822
O9833
O9835
O9836
O9823
O9820
O9830
O9831
O9832
File 40120519
The total amount of memory required for all macros in this file is 14.8 Kb. The memory
requirements for each macro are as follows:
Macro number
Function
Memory
(Kbytes)
O9721
O9722
O9723
O9724
O9726
O9727
X diameter move
Y diameter move
Active tool offset macro
Settings macro
X,Y,Z, basic move
Vector diameter move
0.594
0.578
0.156
0.371
1.526
0.510
O9731
O9732
O9801
O9802
O9803
O9810
O9811
O9812
O9814
0.658
2.160
0.387
0.463
0.677
0.429
2.487
2.109
1.673
File 40120520
The total amount of memory required for all macros in this file is 26.0 Kb. The memory
requirements for each macro are as follows:
Macro number
Function
Memory
(Kbytes)
O9730
O9804
O9815
O9816
O9817
O9818
O9821
O9822
O9823
O9834
O9843
Print macro
Vector stylus ball radius calibration
Internal measure
External measure
4th axis X measure
4th axis Y measure
Angled single surface measure
Angled web/pocket
3-point bore/boss
Feature-to-feature measure
XY plane angle measure
3.771
0.991
2.813
2.941
1.448
1.440
1.983
2.452
2.839
3.893
1.401
File 40120521
The total amount of memory required for all macros in this file is 7.5 Kb. The memory
requirements for each macro are as follows:
Macro number
Function
Memory
(Kbytes)
O9819
O9820
O9830
O9831
O9832
O9833
Bore/boss on PCD
Stock allowance
Multi-stylus store
Multi-stylus load
Spin on macro
Spin off macro
1.715
2.445
0.453
0.453
0.387
0.381
O9835
O9836
0.515
1.159
File 40120727
The total amount of memory required for all macros in this file is 1.68 Kb. The memory
requirements for each macro are as follows:
Macro number
Function
Memory
(Kbytes)
O9726
1.680
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.
NOTE: Your machine controller may have a similar option available and turned on.
Please check your controller documentation before proceeding.
Fanuc 15M-A02B-0094-J986
With this control the G5.1 command is used to limit read ahead.
Example
G5.1 P1
G65P9810Z10.
G65P9814D50.Z-10.
G65P9810Z100.
G5.1
Getting started
1-1
Chapter 1
Getting started
Before you start to use the Inspection Plus software, take time to read this chapter. It will
provide you with a basic understanding of the importance of accurately calibrating the
probe you intend to use for measuring. Only when the probe is accurately calibrated can
you achieve total quality control over your manufacturing process.
1-2
Getting started
If it is suspected that the stylus has become distorted or that the probe has crashed.
If repeatability of relocation of the probe shank is poor. In this case, the probe may
need to be recalibrated each time it is selected.
Getting started
1-3
NOTE: The stored radii values are based on the true electronic trigger points. These
values are different from the physical sizes.
Calibration cycles
Four calibration cycles are provided with the Inspection Plus software. These may be
used in conjunction with one another for complete calibration of the probe. The four
macros are summarised below. For further details, see Chapter 6, "Calibration cycles".
Macro O9801
Macro O9802
Macro O9803
This is used to establish the stylus ball radius values. It is suitable for all
measuring cycles except O9821, O9822 and O9823.
Macro O9804
This is used to establish the vector stylus ball radius values. It is suitable
for all measuring cycles, including O9821, O9822 and O9823.
For complete calibration of a probe system, you must use macros O9801, O9802, and
either O9803 or O9804.
The calibration cycles are split into separate cycles for flexibility. If, however, the
calibration feature is accurately known for both size and position, e.g. a ring gauge where
the size is known, and the position is accurately found using a dial test indicator (DTI), it is
then possible for you to write a program which completes the full calibration procedure in
one operation by calling all of the above macros.
1-4
Getting started
2-1
Chapter 2
This chapter describes how to load and customise the Inspection Plus software. It
supplements the information described in the "Software installation" section of the manual
titled "Probe systems Installation manual for machine tools" (Renishaw part no.
H-2000-6040).
2-2
First, refer to Appendix B, "Features, cycles and limitations of the Inspection Plus
software" to determine whether the Inspection Plus software is suitable for your
needs.
2.
Decide which cycles you require before proceeding (see the section titled "Macro
memory requirements" in the preliminary part of this manual titled "Before you
begin").
3.
(2)
(3)
4.
5.
Appendix I, "Use of macro variables", for a description of the use of macro variables;
and
2-3
For small and medium size machines, i.e. machines having less than 1000 mm (40 in) of
axis travel, the standard feedrates as supplied are normally acceptable. This macro may
be deleted by the operator after optimisation is completed.
The examples in this document are for general guidance only. Please note that the exact
programming format may not suit either your machine set or recommended method as
specified by your machine builder.
2-4
Optional inputs
3-1
Chapter 3
Optional inputs
This chapter lists and describes the optional inputs that may be applied to some of the
macros. You will be referred to this chapter from other chapters when an optional input is
required.
Further information regarding optional inputs is described in the appendices to this
manual.
3-2
Optional inputs
Optional inputs
The examples described below assume that the controller has been configured for metric
values, i.e. millimetres. The equivalent imperial measurement values, i.e. inches, are
shown in brackets.
Bb
b=
Ee
e=
Experience value.
Specify the number of a spare tool offset where an adjustment value to
the measured size is stored (see Appendix E, "Experience value Ee").
Example: E21. causes the experience value stored in tool offset 21 to be
applied to the measured size.
Ff
f=
Hh
h=
Ii
Jj
Kk
i=
j=
k=
Mm
m=
Optional inputs
q=
3-3
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 = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Also used in the optimisation macro (O9836) (see Chapter 9, "Additional
cycles", for details).
Example: Q8. sets an overtravel distance of 8 mm.
(Q.3 sets an overtravel distance of 0.3 in.)
Rr
r=
R-r
-r=
Similar to Rr, 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: R-10. sets a radial clearance of -10 mm.
(R-.4 sets a radial clearance of -0.4 in.)
Ss
s=
Tt
t=
Uu
u=
3-4
Optional inputs
Vv
v=
Null band. This is the tolerance zone where no tool offset adjustment
occurs.
Default = 0
Example: V.5 for a tolerance zone of 0.5 mm.
(V.02 for a tolerance zone of 0.02 in.)
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Example: W1.
Variable outputs
4-1
Chapter 4
Variable outputs
This chapter lists the variable outputs that may be produced by some of the macros. You
will be referred to this chapter from other chapters when a variable output is produced.
4-2
Variable outputs
Web/
pocket
Bore/boss
Internal
corner
External
corner
4th axis
X/Y angle
measure
G65P9817/18
G65P9843
4th angle
Angle
G65P9811
G65P9812 G65P9814
G65P9815
G65P9816
# 135
X position
X position
X position
X position
X position
# 136
Y position
Y position
Y position
Y position
Y position
# 137
Z position
# 138
Size
Size
Size
X surface
angle
X surface
angle
# 139
# 140
X error
X error
X error
X error
X error
# 141
Y error
Y error
Y error
Y error
Y error
# 142
Z error
Y surface
angle
Y surface
angle
# 143
Size error
Y angle error
Y angle
error
Height error
Height error
X angle error
X angle
error
Angle error
Angle error
True
position
error
True
position
error
Size error
Size error
# 144
# 145
True
position
error
True
position
error
True
position
error
# 146
Metal
condition
Metal
condition
Metal
condition
# 147
Direction
indicator
# 148
# 149
Variable outputs
Stock
allowance
Angled single
surface
Angled
web/pocket
3-point
bore/boss
Feature to
feature
G65P9819
G65P9820
G65P9821
G65P9822
G65P9823
G65P9834
# 135
X position
X position
from start
X position
X position
X incremental
distance
# 136
Y position
Y position
from start
Y position
Y position
Y incremental
distance
# 137
PCD
# 138
Size
# 139
Angle
# 140
X error
X error
X error
X error
X error
# 141
Y error
Y error
Y error
Y error
Y error
# 142
PCD error
# 143
Size error
# 144
Angle error
Maximum
value
# 145
True
position
error
Minimum
value
True position
error
# 146
Metal
condition
Variation
(stock)
Metal condition
# 147
Hole
number
Z incremental
distance
Size
from start
Size
Minimum
distance
Angle
Z error
Size error
Size error
Size error
Minimum
distance error
Angle error
Metal
condition
Direction
indicator
# 148
# 149
Size
Metal
condition
Metal
condition
4-3
4-4
Variable outputs
5-1
Chapter 5
When 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 macro O9810 to
set up the protected positioning of the probe. After it is correctly set, the probe will stop
moving in the event of a collision
5-2
Description
It is important when moving around the workpiece to protect the probe stylus against
collision. When this cycle is used the machine will stop in the event of a collision.
Application
Select the probe and move to a safe plane. The probe should be made active at this point
and then it can be moved to a measuring position using this macro call. In the event of a
collision, the machine will stop and either a PATH OBSTRUCTED alarm will result, or an
error flag #148 will be set (see Mm input).
Format
G65 P9810 Xx Yy Zz [Ff Mm]
where [ ] denotes optional inputs
Example: G65P9810 Z10. F0.8 M0.2
5-3
Compulsory inputs
Xx
Yy
Zz
x=
y=
z=
Optional inputs
Ff
f=
The modal feedrate for all protected positioning moves. The feedrate will
be modal to this macro and subsequent feedrate calls are unnecessary
unless a change of feedrate is required. The maximum safe fast feedrate
established during installation should not be exceeded.
Mm
m=1.0 Will set a probe trigger flag (no PATH OBSTRUCTED alarm)
#148 = 0 (no probe trigger)
#148 = 7 (probe triggered)
Example
G1G54X20.Y50.
G43H20Z100.
G65P9832
G65P9810Z10.F3000
G65P9811Z0S1
5-4
6-1
Chapter 6
Before a probe is used, it is important that you calibrate it correctly. This chapter
describes the four macros you should use for calibrating a probe. If you need to know
more about calibrating a probe, you will find helpful information contained in Chapter 1,
"Getting started".
6-2
Macro O9802
Macro O9803
This is used to establish the stylus ball radius values. It is suitable for
all measuring cycles except for O9821, O9822 and O9823.
Macro O9804
For complete calibration of a probe system, you must use macros O9801, O9802, and
either O9803 or O9804. Examples of full calibration procedures are described in the
sections "Example 1 Full calibration in an internal feature" and "Example 2 Full
calibration on an external feature" at the end of this chapter.
The Renishaw calibration cycles are split into separate cycles for flexibility. If, however,
the calibration feature is accurately known for both size and position, e.g. a ring gauge
where the size is known, and the position is accurately found using a dial test indicator, it
is then possible for you to write a program which completes the full calibration procedure
in one operation by calling all of the above macros.
6-3
Tt Tool offset
Zz Ref. height
Z
Y
X
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
Load an approximate tool offset. 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 returned to the start position.
Format
G65 P9801 Zz Tt
Example: G65 P9801 Z50. T20
6-4
Compulsory inputs
Tt
t=
Zz
z=
Outputs
The active tool offset will be set.
Example
Set X, Y, Z values in work offset G54
O 0001
G90G80G40G0
G54X0Y0
Start position.
G43H1Z100.
G65P9832
G65P9810Z10.F3000
G65P9801Z0T1
Datum Z direction.
G65P9810Z100.
G65P9833
G28Z100.
Reference return.
H00
Cancel offset.
M30
End of program.
NOTE: The tool offset must be active. The active tool offset H word number must be the
same as the T input number (see above)
6-5
2
#502
Zz
Dd
Figure 6.2 Calibrating the stylus X and Y offsets
Description
The probe is positioned inside a pre-machined hole at a suitable height for calibration.
When this cycle is completed the stylus offset amounts in the X and Y axes are stored.
Application
Pre-machine a hole with a suitable boring bar, so that the exact centre of the hole is
known. Position the probe to be calibrated inside the hole, and the spindle on the known
centre position with the spindle orientation active. When the cycle is run, four measuring
moves are made in order to determine the X offset, and Y offset of the stylus. The probe
is then returned to the start position.
Format
G65 P9802 Dd [Zz]
where [ ] denotes optional inputs
Example: G65 P9802 D50.005 Z50.
Compulsory input
Dd
d=
6-6
Optional input
Zz
z=
Outputs
The following data will be stored:
#502 = X-axis stylus offset
#503 = Y-axis stylus offset
G65P9832
G65P9802D50.
G65P9833
M30
End of program.
G54X0Y0
G43H1Z100.
G65P9832
G65P9810Z-5.F3000
G65P9802D50.
G65P9810Z100.F3000
G65P9833
G28Z100.
Reference return.
H00
M30
End of program
6-7
6-8
#500
1
#501
5
Y
Zz
Dd
Figure 6.3 Calibrating the stylus ball radius
Description
The probe is positioned inside a calibrated ring gauge at a suitable height for calibration.
When this cycle is completed the stylus ball radius values are stored.
Application
Clamp a calibrated ring gauge on the machine table at an approximately known position.
Position the probe to be calibrated inside the ring gauge on the approximate centre
position, with spindle orientation active. When the cycle is run, six moves are made in
order to determine the stylus ball radius values. The probe is then returned to the start
position.
Format
G65 P9803 Dd [Zz Ss]
where [ ] denote optional inputs
Example: G65 P9803 D50.005 Z50. S1.
6-9
Compulsory input
Dd
d=
Optional inputs
Ss
s=
Zz
z=
Outputs
The following data will be stored as shown:
#500 = X+, X-, stylus ball radius
(XRAD)
(YRAD)
G65P9832
G65P9803D50.001
G65P9833
M30
End of program.
6-10
G54X0Y0
G43H1Z100.
G65P9832
G65P9810Z-5.F3000
G65P9803D50.001
G65P9810Z100.F3000
G65P9833
G28Z100.
Reference return.
H00
M30
End of program.
6-11
4
#500
#501
1
Zz
Dd
Description
The probe is positioned inside a calibrated ring gauge at a suitable height for calibration.
When the cycle is completed the stylus ball radius values are stored. A total of 12
calibration radii at 30 degree intervals are established.
Application
Clamp a calibrated ring gauge on the machine table at an approximately known position.
The probe to be calibrated is positioned inside the ring gauge on the approximate centre
position, with spindle orientation active. When the cycle is run, 14 moves are made in
order to determine the stylus ball radius values. The probe is then returned to the start
position.
6-12
Format
G65 P9804 Dd [Zz Ss]
where [ ] denote optional inputs
Example: G65 P9804 D50.005 Z50. S1.
Compulsory inputs
Dd
d=
Optional inputs
Ss
s=
Zz
z=
Outputs
The following data will be stored as shown (as O9803):
#500 = X+, X-, stylus ball radius
#501 = Y+, Y-, stylus ball radius
(XRAD)
(YRAD)
(VRAD)
(VRAD)
(VRAD)
(VRAD)
(VRAD)
(VRAD)
(VRAD)
(VRAD)
6-13
G65P9832
G65P9804D50.001
G65P9833
M30
End of program.
G54X0Y0
G43H1Z100.
G65P9832
G65P9810Z-5.F3000
G65P9804D50.001
G65P9810Z100.F3000
G65P9833
G28Z100.
Reference return.
H00
M30
End of program.
6-14
1
2
12
11
10
7
4
5
8 and 9
Figure 6.5 Full calibration in an internal feature
O0006
G90G80G40G0
1.
G54X35.Y0
2.
G43H1Z100.
3.
G65P9832
4.
G65P9810Z30.F3000
5.
G65P9801Z20.006T1
6.
G65P9810X0Y0
7.
G65P9810Z5.
8.
G65P9802D50.
9.
G65P9804D50.001
10. G65P9810Z100.F3000
11. G65P9833
12. G28Z100.
Reference return.
H00
M30
End of program
6-15
6-16
1
2
3
11
10
7 and 8
9
6
5
1.
G54X135.Y100.
2.
G43H1Z100.
3.
G65P9832
4.
G65P9810Z30.F3000
5.
G65P9801Z0.T1
6.
G65P9810X100.Y100.
7.
G65P9802D50.001Z10.
6-17
8.
G65P9804D50.001Z10.
9.
G65P9810Z100.F3000
10. G65P9833
11. G28Z100.
Reference return.
H00
M30
End of program
6-18
Measuring cycles
7-1
Chapter 7
Measuring cycles
This chapter describes how to use the non-vector measuring cycles. The probe stylus ball
radius must be calibrated using either macro O9803 or O9804 (see Chapter 6,
"Calibrating the probe") before using the macros described here.
7-2
Measuring cycles
X,Y
Description
This cycle measures a surface to establish the size or position.
Application
The probe should be positioned with its tool offset active 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 Tt and the Hh input.
2.
The surface can be treated as a reference surface position, for the purpose of
adjusting a work offset using the Ss and Mm inputs.
Format
G65 P9811 Xx or Yy or Zz [Ee Ff Hh Mm Qq Ss Tt Uu Vv Ww]
where [ ] denotes optional inputs
Example: G65P9811X50.E0.005F0.8H0.2M.2Q10.S1.T20. U.5V.5W2.
Measuring cycles
7-3
Compulsory inputs
Xx
or
Yy
or
Zz
x=
y=
z=
Optional inputs
Hh
h=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe will then travel beyond the expected position when
it searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis and 10 mm (0.394 in) in the X and
Y axes.
Ss
s=
Tt
t=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
For optional inputs Ee, Ff, Uu, and Vv, see Chapter 3, "Optional inputs".
7-4
Measuring cycles
1.
T01M06
2.
G54X-40.Y20.
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z-8.F3000
6.
G65P9811X-50.T10.
7.
G65P9810Z10.
8.
G65P9810X-60.
9.
G65P9811Z0T11
2
3
12
11
10
9
8
7
6
Z
Y
X
Figure 7.2
Probe movements
10. G65P9810Z100.
11. G65P9833
12. G28Z100.
Reference return.
continue
The tool radius offset (10) is updated by the error of surface position.
Measuring cycles
7-5
Z0
Zz
Z0
Rr
Xx, Yy
Xx, Yy
Z0
Zz
Z
Y
X
R-r
Xx, Yy
Description
This cycle measures a web or pocket feature. It uses two measuring moves along the X Y
axis.
Application
Position the probe to the expected centre-line of the feature and a suitable position in the
Z-axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.
7-6
Measuring cycles
Format
G65 P9812 Xx [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
or
G65 P9812 Yy [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
or
G65 P9812 Xx Zz [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
or
G65 P9812 Yy Zz [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
where [ ] denote optional inputs.
Example: G65P9812 X50. Z100. E0.005 F0.8 H0.2 M.2 Q10. R10. S1. T20. U.5 V.5 W2.
Compulsory inputs
Xx
or
Yy
x=
y=
Zz
z=
Optional inputs
Hh
h=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe will then travel beyond the expected position when
it searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Rr
r=
R-r
-r=
Similar to Rr, except that the clearance is applied in the opposite direction
to force an internal web cycle.
Default = 5 mm (0.200 in).
Measuring cycles
Ss
s=
Tt
t=
Ww
w=
Print data
7-7
Outputs
See Chapter 4, "Variable outputs".
T01M06
2.
G54X0Y0
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z10.F3000
6.
G65P9812X50.Z-10.S2
7.
G65P9810Z100.
8.
G65P9833
Figure 7.4
Probe movements
9.
G28Z100.
Reference return.
1
9
3
4
Z
Y
continue
The feature centre-line in the X-axis is stored in the work offset 02 (G55).
7-8
Measuring cycles
2
9
8
3
4
5
1.
T01M06
2.
G54X100.Y50.
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
6.
G65P9812X30.S2
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return.
G55
Z
Y
X
Figure 7.5
Probe movements
continue
The error of centre-line is referred to the datum point X0 and the revised X0 position is set
in work offset 02 (G55).
Measuring cycles
7-9
Z0
Zz
Z0.0
Rr
Dd dia
Dd dia
Z0
Zz
Z
Y
X
R-r
Dd dia
Description
This cycle measures a bore or boss feature. It uses four measuring moves along the X Y
axis.
Application
Position the probe to the expected centre-line of the feature and a suitable position in the
Z-axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.
7-10
Measuring cycles
Format
G65 P9814 Dd [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
or
G65 P9814 Dd Zz [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
where [ ] denotes optional inputs
Example: G65 P9814 D50.005 Z100. E0.005 F0.8 H0.2 M.2 Q10. R10. S1. T20.
U.5 V.5 W2.
Compulsory inputs
Dd
d=
Zz
z=
Optional inputs
Hh
h=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe will then travel beyond the expected position when
it searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Rr
r=
R-r
-r=
This is similar to Rr, except that the clearance is applied in the opposite
direction to force an internal boss cycle.
Default = 5 mm (0.200 in).
Ss
s=
Measuring cycles
Tt
t=
Ww
w=
Print data
7-11
Outputs
See Chapter 4, "Variable outputs".
1.
T01M06
2.
G54X0Y0
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z10.F3000
6.
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return.
2
9
8
7
3
4
5
6
G55
Z
Y
X
Figure 7.7
Probe movements
continue
The feature centre-line in the X and Y-axis is stored in the work offset 02 (G55).
7-12
Measuring cycles
1.
T01M06
2.
G54X100.0Y100.
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z-10.F3000
6.
G65P9814D30.S2
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return
3
4
8
7
6
G55
Z
Y
X
Figure 7.8
Probe movements
continue
The error of centre-line is referred to the datum point X0, Y0 and the revised X0, Y0
position is set in work offset 02 (G55).
Measuring cycles
7-13
X
Figure 7.9 Finding an internal corner position
Description
This cycle is used to establish the corner position of a feature.
NOTE: A true corner intersection can be found, even if the corner is not 90 degrees
Application
The probe must be positioned with its tool offset active at a start position as shown in the
figure above. The probe measures the Y-axis surface first and then measures the X-axis
surface. The probe then returns to the start position.
Errors occurring during the cycle return the probe to the start position.
NOTE: If the I and J inputs are missing, only two gauging moves occur. The corner
feature is assumed to be parallel to the axes.
If either I or J is missing, then three gauging moves occur and the corner feature is
assumed to be 90 degrees.
7-14
Measuring cycles
Format
G65 P9815 Xx Yy [Bb Ii Jj Mm Qq Ss Uu Ww]
where [ ] denote optional inputs
Example: G65 P9815 X100. Y100. B2. I10. J10. M.2 Q10. S1. U.5 W2.
NOTE: If inputs I and J are used, they must be stated in this order.
Compulsory inputs
Xx
x=
Yy
y=
Optional inputs
Bb
b=
Angle tolerance.
This applies to both X and Y surfaces. It is equal to half the total
tolerance, e.g. 0.25 degrees = B.25 tolerance.
Ii
i=
Jj
j=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe will then travel beyond the expected position when
it searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Ss
s=
Measuring cycles
Ww
w=
7-15
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Outputs
The feature measurements will be stored in variables #135 to #149 (see variable chart).
W2.
W1
Feature number +1
Corner positions
Tolerance if used
Error in the X-axis
Error in the Y-axis
Work offset number if used
Ss
The work offset stated will be set such that the nominal X Y positions will be
corrected.
Mm)
Uu )
NOTE: #139 is the angle of the X surface and is measured from the X+ axis
direction.
#142 is the angle of the Y surface and is also measured from the X+ axis direction.
7-16
Measuring cycles
2
9
1.
T01M06
2.
G54X10.0Y10.
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z-5.F3000
6.
G65P9815X20.Y20.I10.J10.
Corner find.
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return.
11
Z
Y
X
Figure 7.10
Probe movements
10. G17
Select plane.
11. G68X#135Y#136R#139
continue machining
12. G69
Measuring cycles
7-17
NOTE:
The start point establishes
the distance to the first
measuring position
Yy
b
Jj
Moves:
a and b are equal
c and d are equal
Xx
Figure 7.11 Finding an external corner
Description
This cycle is used to establish the corner position of a feature.
NOTE: A true corner intersection can be found, even if the corner is not 90 degrees.
Application
The probe must be positioned with its tool offset active at a start position as shown in the
diagram. The probe measures the Y-axis surface first and then measures the X-axis
surface. The probe then returns to the start position.
Errors occurring during the cycle return the probe to the start position.
NOTE: If the I and J inputs are missing, only two gauging moves occur. The corner
feature is assumed to be parallel to the axes.
If either I or J is missing, then three gauging moves occur and the corner feature is
assumed to be 90 degrees.
7-18
Measuring cycles
Format
G65 P9816 Xx Yy [Bb Ii Jj Mm Qq Ss Uu Ww]
where [ ] denote optional inputs
Example: G65 P9816 X100. Y100. B2. I10. J10. M.2 Q10. S1. U.5 W2.
NOTE: If inputs I and J are used, they must be stated in this order.
Compulsory inputs
Xx
x=
Yy
y=
Optional inputs
Bb
b=
Angle tolerance.
This applies to both X and Y surfaces. It is equal to half the total
tolerance, e.g. 0.25 degrees = B.25 tolerance.
Ii
i=
Jj
j=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe will then travel beyond the expected position when
it searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Ss
s=
Measuring cycles
Ww
w=
7-19
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Outputs
The feature measurements will be stored in variables #135 to #149 (see Chapter 4,
"Variable outputs").
W2.
W1.
Feature number +1
Corner positions
Tolerance if used
Error in the X-axis
Error in the Y-axis
Work offset number if used
Ss
The work offset stated will be set such that the nominal X Y positions will be
corrected.
Mm)
Uu )
NOTE: #139 is the angle of the X surface and is measured from the X+ axis direction.
#142 is the angle of the Y surface and is also measured from the X+ axis direction.
7-20
Measuring cycles
1.
T01M06
2.
G54X-10.Y-10.
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z-5.F3000
6.
G65P9816X0Y0I10.J10.
Corner find.
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return.
11
Z
Y
X
Figure 7.12
Probe movements
10. G17
Select plane.
11. G68X#135Y#136R#139
continue machining
12. G69
8-1
Chapter 8
This chapter describes how to use the vector measuring cycles. The probe stylus ball
radius must be calibrated using macro O9804 (see Chapter 6, "Calibrating the probe")
before using the macros described here. Do not use macro O9803 to calibrate the probe
stylus.
8-2
NOTE:
Angles in the range 180 degrees
+Aa angles (counter-clockwise)
Dd
Y
90
Aa
X
180
-90
Description
This cycle measures a surface feature using one vectored measuring move along the X Y
axis.
Application
Position the probe to the expected reference point of the feature and a suitable position in
the Z-axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.
Format
G65 P9821 Aa Dd [Ee Ff Hh Mm Qq Ss Tt Uu Vv Ww]
where [ ] denotes optional inputs
Example: G65 P9821 A45.005 D50.005 E0.005 F0.8 H0.2 M0.2 Q10. S1.
T20. U.5 V.5 W2.
8-3
Compulsory inputs
Aa
a=
Dd
d=
Optional inputs
Hh
h=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe then travels beyond the expected position when it
searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.4 in) in the X and Y
axes.
Ss
s=
Tt
t=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
For optional inputs Ee, Ff, Uu, and Vv, see Chapter 3, "Optional inputs".
Outputs
See Chapter 4, "Variable outputs".
8-4
50.0
Y
45
X
1.
T01M06
2.
G54X-40.Y20.
Start position.
3.
G43H1Z100.
4.
G65P9832
5.
G65P9810Z-8.F3000
6.
G65P9821A45.D50.T10
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return.
4
8
5
7
6
Z
Y
X
Figure 8.3
Probe movements
The tool radius offset (10) is updated by the error of surface position.
8-5
Aa
Aa
0
180
A-a
Dd
Y+
Aa
X+
NOTE:
Angles in the range 180 degrees
+Aa angles (counter-clockwise)
Aa
Description
This cycle measures a web or pocket feature using two vectored measuring moves along
the X Y axis.
Application
Position the probe to the expected centre line of the feature and a suitable position in the
Z-axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.
8-6
Format
G65 P9822 Aa Dd [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
or
G65 P9822 Aa Dd Zz [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
where [ ] denotes optional inputs
Example: G65 P9822 A45.005 D50.005 Z50. E0.005 F0.8 H0.2 M0.2 Q10. R10. S1.
T20. U.5 V.5 W2.
Compulsory inputs
Aa
a=
Dd
d=
Zz
z=
Optional inputs
Hh
h=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe then travels beyond the expected position when it
searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Rr
r=
R-r
-r=
This is similar to Rr, except that the clearance is applied in the opposite
direction to force an internal web cycle.
Default = 5 mm (0.200 in).
Ss
s=
Tt
t=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
For optional inputs Ee, Ff, Uu, and Vv, see Chapter 3, "Optional inputs".
Outputs
See Chapter 4, "Variable outputs".
8-7
8-8
-10
30
2
9
3
4
1.
T01M06
2.
G54X0Y0
Start position.
3.
G43H1Z100.0
4.
G65 P9832
5.
G65P9810Z10.F3000
6.
G65P9822A30.D50.Z-10.S2
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return
7
6
Z
Y
X
Figure 8.6
Probe movements
continue
The feature centre line in the X-axis is stored in the work offset S02 (G55).
8-9
90
Bb
Aa
180
Cc
Rr
-90
Dd
NOTE:
Angles in the range 180 degrees
+Aa angles (counter-clockwise)
R-r
Figure 8.7 3-point bore or boss measurement
Description
This cycle measures a bore or boss feature using three vectored measuring moves along
the X Y axis.
Application
Position the probe to the expected centre line of the feature and a suitable position in the
Z-axis with the probe and probe offset active. Run the cycle with suitable inputs as
described.
8-10
Format
G65 P9823 Aa Bb Cc Dd [Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww]
or
G65 P9823 Aa Bb Cc Dd Zz [Ee Ff Hh Mm Qq Rr Ss Tt Uu VvWw]
where [ ] denotes optional inputs
Example: G65 P9823 A45.005 B150.0 C35.005 D50.005 Z50. E.005 F0.8 H0.2 M0.2
Q10. R10. S1. T20. U.5 V.5W2.
Compulsory inputs
Aa
a=
The first angle for vector measurement, measured from the X+ axis
direction.
Bb
b=
The second angle for vector measurement, measured from the X+ axis
direction.
Cc
c=
The third angle for vector measurement, measured from the X+ axis
direction.
Dd
d=
Zz
z=
Optional inputs
Hh
h=
Mm
m=
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe then travels beyond the expected position when it
searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X and
Y axes.
Rr
r=
8-11
R-r
-r=
This is similar to Rr, except that the clearance is applied in the opposite
direction to force an internal boss cycle.
Default = 5 mm (0.200 in).
Ss
s=
Tt
t=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
For optional inputs Ee, Ff, Uu, and Vv, see Chapter 3, "Optional inputs".
Outputs
See Chapter 4, "Variable outputs".
8-12
1.
T01M06
2.
G54X100.Y100.
Start position
3.
G43H1Z100.
4.
G65 P9832
5.
G65P9810Z-10.F3000
Protected positioning.
6.
G65P9823D30.A30.B150.C-90.S2
7.
G65P9810Z100.
8.
G65P9833
9.
G28Z100.
Reference return
4
8
5
Z
Y
X
Figure 8.8
Probe movements
continue
The error of centre line is referred to the datum point X0,Y0 and the revised
X0,Y0 position is set in work offset 02 (G55).
Additional cycles
9-1
Chapter 9
Additional cycles
The Inspection Plus software contains a number of macro cycles that cannot be
categorised under the headings used in previous chapters of this manual (Chapters 5 to 8
inclusive). This chapter describes how to use these cycles.
9-2
Additional cycles
NOTE:
Angle correction to 4th axis
+ (positive) counter-clockwise
(negative) clockwise
X0 (BO)
Z+
Zz
X+
Description
The purpose of this macro is to find the slope of a surface between two points Z1 and Z2
to allow the 4th axis to be rotated to compensate for the surface error.
Application
The 4th axis must be positioned to the expected angular position of the feature (i.e.
surface normal to the Z axis). If the Ss input is used, the work offset register is adjusted by
the error amount.
NOTE: It is normally necessary on most machines to re-state the work offset and move
to the angular position after the cycle to make the new work offset active.
Format
G65 P9817 Xx Zz [Qq Bb Ss Ww]
where [ ] denotes optional inputs.
Example: G65 P9817 X100. Z50. Q10. B2. S1. W2.
Additional cycles
9-3
Compulsory inputs
Xx
x=
Zz
z=
Optional inputs
Bb
b=
Set a tolerance on the angular position of the feature. It is equal to half the
total tolerances, e.g. component dimension 45 degrees (0.25 degrees)
the 4th axis would be positioned to 45 degrees and B.25 tolerance.
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe then travels beyond the expected position when it
searches for a surface.
Default = 10 mm (0.4 in).
Ss
s=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Outputs
#143
#144
#139
NOTE: Different machines and application may require the 4th axis system
variable number to be changed. It will be achieved by editing macro O9817 when
the macro is installed to suit your machine.
Edit as follows:
#3 = 4 (4th axis number) change axis number as required (see the Fanuc macro
section for axis numbers)
9-4
Additional cycles
1.
T01M06
2.
G43H1Z200.
3.
G65P9832
4.
G0B45.
5.
G65P9810X0Y0Z20.F3000
6.
G65P9817X50.Z10.B5.
7.
G65P9810Z200.
8.
G65P99833
9.
G28Z200.
Reference return.
2
8
BO
45
Z
C
Y
A
X
Figure 9.2
Probe movements
continue
Additional cycles
9-5
NOTE:
Angle correction to 4th axis
+ (positive) counter-clockwise
(negative) clockwise
Y0 (BO)
Z+
Zz
Y+
Figure 9.3 4th axis Y measurement
Description
The purpose of this macro is to find the slope of a surface between two points Z1 and Z2
to allow the 4th axis to be rotated to compensate for the surface error.
Application
The 4th axis must be positioned to the expected angular position of the feature (i.e.
surface normal to the Z axis). If the Ss input is used, the work offset register is adjusted by
the error amount.
NOTE: It is normally necessary on most machines to re-state the work offset and move to
the angular position after the cycle to make the new work offset active.
Format
G65 P9818 Yy Zz [Qq Bb Ss Ww]
where [ ] denotes optional inputs
Example: G65 P9818 Y100. Z50. Q10. B2. S1. W2.
9-6
Additional cycles
Compulsory inputs
Yy
y=
Zz
z=
Optional inputs
Bb
b=
Set a tolerance on the angular position of the feature. It is equal to half the
total tolerances, e.g. component dimension 45 degrees .25 degrees the
4th axis would be positioned to 45 degrees and B.25 tolerance.
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe then travels beyond the expected position when it
searches for a surface.
Default = 10 mm (0.4 in).
Ss
s=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Outputs
#143
#144
#139
NOTE: Different machines and application may require the 4th axis system
variable number to be changed. It is achieved by editing macro O9818 when the
macro is installed to suit your machine.
Edit as follows:
#3 = 4 (4th axis number) change axis number as required (see Fanuc macro
section for axis numbers)
Additional cycles
9-7
1.
T01M06
2.
G43H1Z200.
3.
G65P9832
4.
G0A45.
5.
G65P9810X0Y0Z20.F3000
6.
G65P9818Y50.Z10.S1.B5.
7.
G65P9810Z200.
8.
G65P9833
9.
G28Z200.
Reference return.
1
2
45
AO
Y
X
Figure 9.4
Probe movements
continue
9-8
Additional cycles
90
Aa
180
Kk
Kk
Dd
-90
Cc P.C.D.
Zz
Zz
Description
The macro measures a series of bores or bosses on a pitch circle diameter (PCD). All
probe moves occur automatically and return to the start position at the centre of the PCD.
Application
1.
The probe is positioned at the centre of the PCD above the component. The probe
moves to all bore/boss features and measures each feature automatically. The
probe then returns to the PCD centre at the end of the cycle.
2.
The macro makes use of the bore/boss macro which is nested within the moves.
This means that the macro nesting level is four deep, which means that this macro
cannot be nested inside a customer macro.
3.
If a 'probe open' condition occurs during any of the moves between bore/boss
features, a PATH OBSTRUCTED alarm occurs and the probe stays in position
instead of returning to the start position as is usual. This is done for safety reasons
because the return path to centre-line of the PCD may be obstructed.
Additional cycles
9-9
Format
Boss: G65 P9819 Cc Dd Zz [Aa Bb Ee Hh Mm Qq Rr Uu Ww]
or
Bore: G65 P9819 Cc Dd Kk [Aa Bb Ee Hh Mm Qq Rr Uu Ww]
where [ ] denotes optional inputs.
Example: G65 P9819 C28.003 D50.005 K11. A45.005 B2. E0.005 H0.2 M0.2
Q10. R10. U.5 W2.
Compulsory inputs
Cc
c=
Dd
d=
Kk
k=
Zz
z=
Optional inputs
Aa
a=
Bb
b=
Hh
h=
Mm
m=
The true position tolerance of the bore or boss. A cylindrical zone about
the theoretical position.
q=
The probe overtravel distance for use when the default values are
unsuitable. The probe then travels beyond the expected position when it
searches for a surface.
Default = 4 mm (0.16 in) in the Z-axis, and 10 mm (0.394 in) in the X,Y
axis.
Rr
r=
9-10
Additional cycles
R-r
-r=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Outputs
The feature measurements will be stored in variables #135 to #149 (see Chapter 4,
"Variable outputs").
W2.0
W1.
XY absolute position, angle position and pitch circle diameter of each feature.
Feature number.
u=
When the upper tolerance is exceeded, the macro continues to the end
and print data is output for each feature. If #120 is set, the UPPER
TOLERANCE EXCEEDED alarm occurs and #119 = 2 is set. Otherwise
the flag #119 = 2 is set only. The program continues.
Additional cycles
9-11
P(6 max)
P1
P(6 max)
P1
P2
P(6 max)
P1
P2
Description
The cycle measures either an X or Y or Z surface at defined positions to establish the
maximum and minimum stock condition of the surface.
Application
The probe should be positioned above the surface at the first measuring position. The
cycle measures the surface at this position (P1). Additional points P2 to P6 maximum are
measured as defined, depending on the number of sets of I, J, or K inputs.
NOTES:
1.
If setting a work offset, the surface position will be at the minimum measured position
and the stock value is seen in #146.
2.
If NOT setting a work offset, the nominal position is assumed and the maximum and
minimum values are seen in #144 and #145.
9-12
Additional cycles
Format
X-surface measure
G65 P9820 Xx Jj Kk [Ss Uu]
or
Y-surface measure
G65 P9820 Yy Ii Kk [Ss Uu]
or
Z-surface measure
G65 P9820 Zz Ii Jj [Ss Uu]
Compulsory inputs
Xx
or
Yy
or
Zz
x, y, z =
I1 (P2) to
I5 (P6)
i=
j=
k=
or
J1 (P2) to
J5 (P6)
or
K1 (P2) to
K5 (P6)
Additional cycles
9-13
Optional inputs
Uu
Ss
u=
s=
1.
Uu input only
The upper tolerance metal condition, e.g., surface at
30.00 +2.0/-0.0
G65P9820Z30.0U2.0IiJj
2.
Uu and Ss input.
The maximum stock allowance.
The work offset number which will be set. This will be set to the minimum
metal position #145.
The work offset number will be updated.
S1 to S6 (G54 to G59)
S0 (external work offset).
S101 to S148 (G54.1 P1 to G54.1P48) additional offsets option.
New work offset = active work offset + error.
New external offset = external offset + error.
Outputs
1.
Uu input only
2.
#144
#145
#146
Uu INPUT ONLY
Upper tolerance exceeded
Uu
Excess stock
#195
#194
Uu
#195
#196
#194
Nominal
position
Nominal
Work
offset set position
to this
position
9-14
Additional cycles
P3
P2
P1
X50.0
Y50.0
Z0
P1 at X55 Y55
P2 at X155 Y55
P3 at X55 Y155
Figure 9.8 Checking a Z surface for stock variation
G65P9820Z0I155.J55.I55.J155.U2.
continue machining
Additional cycles
9-15
Y50.0
P2
Z50.0
P1
X
P1 at Y55. Z45.
P2 at Y105. Z45.
P3 at Y180. Z45.
P3
G65P9820 X20.J105.K45.J180.K45.S2
9-16
Additional cycles
Probe 2
K2
Calibration data
K1
Calibration data
Description
The macro is used to store probe stylus calibration data that has been established during
the calibration cycles. It is stored in a spare set of macro variables. This macro must be
used in conjunction with macro O9831 to recall relevant calibration data for each probe.
Application
Calibrate the stylus using macro O9802 and O9803. Run macro O9830 to store the
calibration data #500 to #503. The values are recalled when macro O9831 is run.
It is also possible to store calibration data for vector cycles, by the use of the optional
input.
Additional cycles
9-17
Format
G65 P9830 Kk
Example:
G65P9830K11.
Compulsory input
Kk
k=
K1
K2
K3
K4
Store location
XRAD
YRAD
XOFF
YOFF
XRAD
YRAD
XOFF
YOFF
#500
#500
#500
#500
#501
#501
#501
#501
#502
#502
#502
#502
#503
#503
#503
#503
#518
#522
#526
#530
#519
#523
#527
#531
#520
#524
#528
#532
#521
#525
#529
#533
9-18
Additional cycles
Store location
RAD
RAD
RAD
RAD
K11
#510
#514
#511
#515
#512
#516
#513
#517
#534
#538
#535
#539
#536
#540
#537
#541
K12
#510
#514
#511
#515
#512
#516
#513
#517
#542
#546
#543
#547
#544
#548
#545
#549
When the additional macro option is installed, K13 and K14 can be used.
K13
#510
#514
#511
#515
#512
#516
#513
#517
#550
#554
#551
#555
#552
#556
#553
#557
K14
#510
#514
#511
#515
#512
#516
#513
#517
#558
#562
#559
#563
#560
#564
#561
#565
NOTE: Spare macro variable locations, where data can be stored, are dependent on the
machine options available, and the variables that are already used by your programs.
G54X0Y0
G43H1Z100.
G65P9832
G65P9810Z-5.F3000
G65P9803D50.001
G65P9830K1
G65P9810Z100.
G65P9833
G28Z100.
Reference return.
Additional cycles
H00
Cancel offset.
M30
End of program
9-19
9-20
Additional cycles
Probe 2
K2
Calibration data
K1
Calibration data
Description
This macro is used in conjunction with O9830. It is used to recall stored calibration data to
the active calibration variable range prior to using a particular probe stylus configuration.
Application
The program must be run immediately before any measuring cycle to select the correct
probe calibration data. The Kk input determines the data to be recalled.
Format
G65 P9831 Kk
Example:
G65P9831K11.
Additional cycles
9-21
Compulsory input
Kk
k=
The multi-stylus probe number for data recall. The Kk input number
should always be the same as that used to store the data using O9830 for
a given stylus.
K1
K2
K3
K4
Store location
XRAD
YRAD
XOFF
YOFF
XRAD
YRAD
XOFF
YOFF
#500
#500
#500
#500
#501
#501
#501
#501
#502
#502
#502
#502
#503
#503
#503
#503
#518
#522
#526
#530
#519
#523
#527
#531
#520
#524
#528
#532
#521
#525
#529
#533
Store location
RAD
RAD
RAD
RAD
K11
#510
#514
#511
#515
#512
#516
#513
#517
#534
#538
#535
#539
#536
#540
#537
#541
K12
#510
#514
#511
#515
#512
#516
#513
#517
#542
#546
#543
#547
#544
#548
#545
#549
When the additional macro option is installed, K13 and K14 can be used.
K13
#510
#514
#511
#515
#512
#516
#513
#517
#550
#554
#551
#555
#552
#556
#553
#557
K14
#510
#514
#511
#515
#512
#516
#513
#517
#558
#562
#559
#563
#560
#564
#561
#565
NOTE: Spare macro variable locations, where data can be stored, are dependent on the
machine options available, and the variables that are already used by your programs.
9-22
Additional cycles
G54X100.Y100.
Start position.
G43H1Z100.
G65P9832
G65P9810Z-10.F3000
G65P9831K1
G65P9814D30.S2
G65P9810Z10.
G65P9810X350.
G43H2Z-10.
Activate offset 2.
G65P9831K2
G65P9814D130.S2
G65P9810Z100.
G65P9833
G28Z100.
Reference return.
continue
Additional cycles
9-23
Format
M98P9832
Example
G43H20Z100.
G65P9832
9-24
Additional cycles
Format
M98P9833
Example:
G65P9810Z100.
G65P9833
G91
G28Z0
Retract
continue
Additional cycles
9-25
Dd
P2
Yy
Aa
P1
Xx
Description
This is a no-movement macro that is used after two measuring cycles to determine
feature-to-feature data.
Application
Data for P1 and P2 must already be stored in variables #130 to #134 and #135 to #147 for
P2, by running suitable measuring cycles.
NOTE: The order P1 and P2 is important, because the data calculated is that of P2 with
respect to P1.
Values for P1 are obtained by programming G65 P9834 without any inputs after the first
measuring cycle.
Values for P2 are obtained by running a second measuring cycle the feature-to-feature
data is established by programming G65 P9834 with suitable inputs after the second
measuring cycle.
9-26
Additional cycles
Format
G65 P9834 Xx [Ee Ff Hh Mm Ss Tt Uu Vv Ww]
or
G65 P9834 Yy [Ee Ff Hh Mm Ss Tt Uu Vv Ww]
or
G65 P9834 Xx Yy [Bb Ee Hh Mm Ss Uu Ww]
or
G65 P9834 Aa Dd [Bb Ee Hh Mm Ss Uu Ww]
or
G65 P9834 (with no inputs).
where [ ] denotes optional inputs
Examples: G65P9834X100.E0.005F0.8H0.2M0.2S1.T20.U.5V.5W2.
or
G65P9834Y100.E0.005F0.8H0.2M0.2S1.T20. U.5V.5W2.
or
G65P9834X100.Y100.B2.E0.005H0.2M0.2S1. U.5W2.
or
G65P9834A45.005D50.005B2.E0.005H0.2 M0.2S1.U.5W2.
NOTES: 1. Updating a tool offset with T input is only possible if either O9811 or O9821 is
used for P2 data. Otherwise an alarm (T INPUT NOT ALLOWED) results.
2. This cycle cannot be used in conjunction with the web/pocket cycle macro
O9812.
3. Angles. The XY plane is with respect to the X+ axis direction. Use angles in
the range 180 degrees.
4. When G65P9834 (without any inputs) is used, then the following data is
stored:
from #135 to #130
#136
#131
#137
#132
#138
#133
#139
#134
Additional cycles
9-27
Compulsory inputs
Xx
x=
Yy
y=
Aa
a=
Dd
d=
(No inputs)
This is used to store output data of the last cycle for P1 data.
Optional inputs
Bb
b=
Hh
h=
Mm
m=
Ss
s=
Tt
t=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
For optional inputs Ee, Ff, Uu and Vv, see Chapter 3, "Optional inputs".
9-28
Additional cycles
Example 1
1 2
3
7
8
6
1.
G65P9810X30.Y50.F3000
2.
G65P9810Z-10.
3.
G65P9814D20.
4.
G65P9834
Store data.
5.
G65P9810Z10.
6.
G65P9810X80.Y78.867
7.
G65P9810Z-10.
8.
G65P9814D30.
9 and 10
4 and 5
Z
Y
Figure 9.13
Probe movements
9.
G65P9834X50.Y28.867M.1
or this
9.
G65P9834A30.D57.735M.1
8 and 9
6
7
5
3 and 4
1.
G65P9810X10.Y50.F3000
2.
G65P9810Z-10.
3.
G65P9811X0.
P1 at X0 mm (0 in) position.
4.
G65P9834
Store data.
5.
G65P9810Z10.
6.
G65P9810X-50.
7.
G65P9810Z-10.
8.
G65P9814D20.5
9.
G65P9834X-50.H.2
Z
Y
X
Figure 9.14
Probe movements
Additional cycles
9-29
P2
+Aa
+Zz
Zz
P1
+Dd
Zz
Z+
Y+
P2
-Zz
+Aa
X+
P1
-Dd
Description
This is a no-movement macro that is used after two measuring cycles to determine
feature-to-feature data.
Application
Data for P1 and P2 must already be stored in variables #130 to #134 and #135 to #147 for
P2, by running suitable measuring cycles.
NOTE: The order P1 and P2 is important, because the data calculated is that of P2 with
respect to P1.
Values for P1 are obtained by programming G65 P9834 without any inputs after the first
measuring cycle.
Values for P2 are obtained by running a second measuring cycle, and the feature-tofeature data is established by programming G65 P9834 with suitable inputs after the
second measuring cycle.
9-30
Additional cycles
Format
G65 P9834 Zz [Ee Ff Hh Mm Ss Tt Uu Vv Ww]
or
G65 P9834 Aa Zz [Bb Ww]
or
G65 P9834 Dd Zz [Bb Ww]
or
G65 P9834 (with no inputs)
where [ ] denotes optional inputs
Examples: G65P9834Z50.E0.005F0.8H0.2M0.2S1.T20. U.5V.5W2.
or
G65P9834A45.005Z50.B2.W2.
or
G65P9834D50.005Z50.B2.W2.
or
G65P9834 (with no inputs)
NOTES:
1. Updating a tool offset with T input is only possible if O9811 is used for P2
data. Otherwise an alarm (T INPUT NOT ALLOWED) results.
2. Angles. These are with respect to the XY. Use angles in the range 180
degrees.
3. When G65P9834 (without any inputs) is used, then the following data is
stored:
from #135 to
#130
#136
#131
#137
#132
#138
#133
#139
#134
Inputs
Aa Zz or Dd Zz inputs
1.
+Dd/-Dd values should be used to indicate the direction of P2 with respect to P1.
2.
3.
Zz only input
+Zz/-Zz values should be used to indicate the direction of P2 with respect to P1.
Additional cycles
9-31
Compulsory inputs
Aa
a=
Zz
z=
Dd
d=
Zz
z=
or
or
(No inputs)
This is used to store output data of the last cycle for P1 data.
Optional inputs
Bb
b=
Hh
h=
Mm
m=
Ss
s=
Tt
t=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
For optional inputs Ee, Ff, Uu and Vv, see Chapter 3, "Optional inputs".
9-32
Additional cycles
G65P9810X30.Y50.F3000
2.
G65P9810Z30.
3.
G65P9811Z20.
4.
G65P9834
Store data.
5.
G65P9810X50.
6.
G65P9811Z15.
7.
G65P9834Z-5.H.1
1
2
5
3 and 4
6 and 7
Z
Y
X
Figure 9.16
Probe movements
G65P9810X30.Y50.F3000
2.
G65P9810Z30.
3.
G65P9811Z20.
4.
G65P9834
Store data.
5.
G65P9810X77.474
6.
G65P9811Z10.
1
2
5
3 and 4
6 and 7
Z
Y
X
Figure 9.17
Probe movements
G65P9834D27.474Z-10.B.5
or this
7.
G65P9834A-20.Z-10.B.5
Additional cycles
9-33
+
x
x x
Vv
xx
x
Nominal size
Vv
Description
This macro can be used in conjunction with measuring cycles to control tool offset
updates. It offers the possibility of providing an update based on the average value of a
sample of measurements.
Application
A measuring cycle should be run, but with no tool offset update (Tt input). A component
tolerance (Hh input) can be used if required. The SPC macro should follow. An average
value is accumulated until a specified continuous run of values are outside the control
limit. At this point the tool offset is updated, based on the average value.
IMPORTANT:
Set the Mm store tool offsets to 0 on the offset page prior to use.
Format
G65P9835 Tt Mm [Vv Cc Ff Zz]
where [ ] denotes optional inputs
Example: G65P9835T20.M0.2V0.25C4F0.8Z1.
9-34
Additional cycles
Compulsory inputs
Tt
t=
Mm
m=
Spare tool offset pair for storing average value and counter.
m
m+1
Optional inputs
Cc
c=
Ff
f=
Vv
v=
Zz
z=
NOTE: This input is only necessary when using type 'C' tool offset option.
Additional cycles
9-35
(c)
Z
#506
x
Qq
NOTE: For small and medium machines the default values for feedrate and back-off
distance are adequate. Therefore it is not essential to run this macro in every case.
Description
This macro is used to establish the optimum maximum feedrate and back-off distance
values for the probing cycles.
Application
1.
The probe should be made active. At this stage the spin-on macro for the optical
probe may not be functioning. Therefore, use the MDI mode and spin the probe at
S500, then stop the spindle.
2.
Position the probe stylus within 2 mm (0.08 in) of the surface. Call this macro within a
small program, and run the cycle.
The probe moves towards the Z surface at 30 mm/min. (1.2 in). The cycle continues to
retract and find the surface several times to establish the optimum values.
At the end, the cycle returns to the start position.
9-36
Additional cycles
NOTE: The repeat surface finding moves get progressively faster until the maximum
overtravel is reached. Also, the retract position off the surface increases. It is important,
therefore, that you allow for adequate Z axis movement, e.g., 60 mm (2.4 in).
The fast feed value in #119 must be loaded into the setting macro O9724. See
Appendix C, "Settings macro details", for details.
2.
The back-off distance in #118 must be transferred into variable #506. This is possible
in manual data input mode. The variable is to be found on the common retained
variable page.
Format
G65 P9836 Qq
Example: G65P9836Q10.
Optional input
Qq
q=
Diagnostic alarms
See Chapter 10, "Macro alarms", for details.
NOTE: Feedrates. All the feedrates within the software are related, and are dependent on
the fast feedrate #119 value, with the exception of the gauging move. This is always at
30 mm/min (1.2 in/min). It should also be noted that the back-off distance #506 can be
affected by changing the feedrate #119. Running this macro will establish compatible
setting data.
Additional cycles
Feedrates
Feedrates are internally calculated as shown:
Basic move macro O9726
Z axis fast approach
Gauge move
XY axis positioning
Example
Write a small program to run this macro.
Position the probe at approx. 2 mm (0.08 in) above a surface, with the probe active.
%
O5036
G40G80G90
H00
G65P9836Q6.0
M30
%
9-37
9-38
Additional cycles
Aa
Dd
X+ (AO)
Yy
Y+
X+
Xx
Description
This cycle measures an X axis or Y axis surface at two positions to establish the angular
position of the surface.
Application
The probe stylus must be positioned adjacent to the surface and at the required Z axis
position to provide a suitable start position. The cycle makes two measurements,
symmetrically about the start position, to establish the surface angle.
Format
G65 P9843 Xx Dd [Aa Bb Qq Ww]
or
G65 P9843 Yy Dd [Aa Bb Qq Ww]
where [ ] denotes optional inputs
Example: G65P9843 X50.D30.A45.H.2Q15.W1.
Additional cycles
9-39
Compulsory inputs
Dd
d=
The distance moved parallel to the X axis or Y axis between the two
measuring positions.
Xx
x=
Yy
y=
Optional inputs
Aa
a=
The nominal angle of the surface measured from the X+ axis direction
positive angles (counter-clockwise). Specify angles between 90 degrees
of the default value.
Defaults: X axis measuring 90 degrees.
Y axis measuring 0 degrees.
Bb
b=
q=
Ww
w=
Print data
1. = Increment the feature number only.
2. = Increment the component number, and reset the feature number.
Outputs
#139
#143
#144
Alarms
Refer to Chapter 10, "Macro alarm list", for details of the macro alarms.
9-40
Additional cycles
Example
30.0
45
Y30.0
Y+
X+
X30.0
G65P9810 Z-15.
G65P9843Y30.D30.A45.
Angle measure.
G65P9810 Z100.
continue
G17
G68G90X0Y0 R[#139]
NOTE: The Renishaw probe cycles cannot be used while co-ordinate rotation is in force,
i.e. cancel code G69.
10-1
Chapter 10
When an error occurs during use of the Inspection Plus software, an alarm number or
message is generated. This may be displayed on the screen of the controller. This
chapter describes:
The meaning and likely cause of each alarm message that may be displayed on the
screen of a Mazak M32 controller. It then describes typical actions that you should
take to clear the fault.
The meaning and likely cause of each alarm message that is associated with the
optimisation macro (O9836). It then describes typical actions that you should take to
clear the fault.
10-2
1 (OUT OF TOL)
1 (OUT OF POS)
1 (ANGLE OUT OF TOL)
1 DIA OFFSET TOO LARGE
#148 flag
1
2
4
5
3
6
Action
Check the following:
The spin-off cycle may fail if the spindle speed of S500 is not achieved. Check that the
spindle speed override is not active.
Possible faulty probe.
Press cycle start to continue
NOTE: Fanuc 0M or 6M Alarms will be a reset condition. Restart the program from a
safe position.
10-3
Format
#3000 =
Action
Check the following:
The spin-on cycle may fail if the spindle speed of S500 is not achieved. Check that the
spindle speed override is not active.
Possible faulty probe.
This is a reset condition. Edit the program and start again from a safe start position.
Format
#3000 =
91
(MESSAGE)
91
(FORMAT ERROR)
91
91
91
91
91
91
91
91
91
91
91
(A
(B
(C
(D
(I
(J
(K
(X
(Y
(Z
(XYZ
91 (DATA
91
91
91
91
91
(X0
(Y0
(H
(T
(IJK
91
91
91
91
91
91
91
(XY
(XY
(ZK
(SH
(ST
(TM
(XYZ
INPUT MIXED)
INPUT MIXED)
INPUT MIXED)
INPUT MIXED)
INPUT MIXED)
INPUT MIXED)
INPUT MIXED)
91 (K
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
INPUT MISSING)
10-4
Action
Edit the program. This is a reset condition. Edit the program and start again from a safe
start position.
Format
#3000 =
86(PATH OBSTRUCTED)
Action
Edit the program. This is a reset condition. Clear the obstruction and start again from a
safe position.
Format
#3000 =
Action
Edit the program. This is a reset condition. Insert the F___ code input, and start again
from a safe position.
Format
#3000 =
Action
Edit the program. This is a reset condition. G43 or G44 must be active before the cycle is
called. Edit and start again from a safe position.
Format
#3000 =
92(PROBE OPEN)
Action
Clear the fault. This is a reset condition. Clear the fault and start again from a safe start
position. 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.
Format
#3000 =
93(PROBE FAIL)
10-5
Action
Edit the program. This is a reset condition. Edit the program and start again from a safe
start position. The surface was not found or the probe has failed.
This indicates that the machine skip signal is high prior to the probe move. Check that the
probe is active and that the interface is not in error. Check wiring. Check that the interface
output relay is configured correctly, i.e. N/C or N/O. Is the stylus in contact with a surface?
A possible reseat problem.
Action
Clear the fault
Format
#3000 =
The skip signal was not activated during the move. Check the wiring. Check probe
operation and interface LED outputs to confirm operation when the stylus is manually
deflected. Also relay output voltage to skip when the probe is triggered.
Action
Edit the program
Format
#3000 =
The tool length offset must be set to zero by programming H00 prior to calling the macro.
This permits the safe operation of jogging the stylus into a start position before running the
macro.
Action
Edit the program
10-6
Format
#3000 =
This is the end of the optimisation cycle. The values in #118 and #119 can be installed
(see "Optimising a probing cycle (O9836)" in Chapter 9, "Additional cycles" for details).
Action
Install setting values
Example job
A-1
Appendix A
Example job
A-2
Example job
Introduction
The component shown in Figure A.1 is to be machined on two faces by rotating the
component about the machine A axis on the 4th axis unit.
0
face
X+
Machined
lower left
pad
Y+
'A' axis
270
face
Motorised
arm base
Fixture
Y
X
Figure A.1 Motorised arm base General view
The following probe operations are carried out:
The probe is used initially on the 0 degree face to level up the component using an A
axis work offset shift.
The component datum is then set in the X, Y, and Z axis for machining.
During machining of this face, the side face of the lower left pad is machined as a
datum for the 270 degree face machining (Ref. Y axis datum).
The probe is also used on the 270 degree face to set the Y, Z axis component datum.
Nominal work offset data is entered in G54 and G55 before the machining operation.
Example job
A-3
Probe operations
%
O5866
(M-2116-0031-01-D)
(MOTORISED ARM-BASE)
(TAPE NO - T5866)
(*)
(PROBE TO FIND CENTRE)
G17G94
G90G40G80
N10M00
(COMPONENT SET UP PROBING)
(LOAD NOMINAL WORK OFFSETS)
/T30
/G91G28Z0A0
Retract
/G28A0
Position A axis
/G90
Absolute co-ordinates
6
'A'
16
NOTE:
The machine Z-axis is initially
aligned with the 0-degree face
3
4
11
10
Z
Y
5 8
9
14
15
X+
A-4
Example job
1.
/G00G54X90.Y0.
Rapid positioning
2.
/G43G1H30Z100.F3000
3.
/G65P9832
4.
/G65P9810Z10.F3000
5.
/G65P9818Y79.Z0S1.
6.
/G0A0
7.
/#2802=#2801
8.
/G65P9810Z-28.F3000.
9.
/G65P9812Y69.S1.
10.
/G65P9810X-35.Y0
11.
/G65P9811X-44.S1.
12.
/#2502=#2501
13.
/G65P9810X0
14.
/G65P9810Z-84.
15.
/G65P9811Z-94.S1.
16.
/G65P9810Z100.
17.
/G65P9833
18.
/G91G28Z0
/G90
/M01
N210
(PROBE TO SET G55 Y Z)
/M01
/T30
Select probe.
/M09
Example job
A-5
/G91G28Z0
/G90
Refer to Figure A.3 for probe movements 20 to 30
21
NOTE:
The machine Z-axis is now
aligned with the 270-degree base
20
22
23
'A'
24
25
30
26
27
28
29
270 o
Face
Z
X
Y
X+
/G0G55X-38.0Y-74.0
21.
/G43G1H30Z100.F3000
22.
/G65P9832
23.
/G65P9810Z-5.F3000.
24.
/G65P9811Y-66.S2.
25.
/G65P9810X0Z10.
26.
/G65P9810Y-60.
27.
/G65P9811Z0S2.
28.
/G65P9810Z100.
29.
/G65P9833
30.
/G91G28Z0
Retract
A-6
Example job
/G90
/M01
Continue machining 270-degree face
G91G28Z0
Z return
G28X0Y0A0
G90
N420
M01
M30
%
B-1
Appendix B
B-2
Protected positioning
Measurement of internal and external features to determine both size and position.
This includes:
Measurement of external and internal corners for corner surfaces which may not be
parallel to an axis
Software option to turn off the tolerance alarms and provide a flag-only alarm.
Suitable for FMS and unmanned applications
Built in stylus collision and false trigger protection for all cycles
Protected positioning
Measurement:
Cycles
Web/pocket
Vectored measurement:
3-point bore/boss
Web/pocket
Single surface
Additional macros:
Bore/boss on a PCD
Stock allowance
Multi-stylus calibration
Limitations
Limitations
B-3
B-4
The use of multi-stylus data storage for vector calibration is not possible, unless the
option for extra variables is installed.
Fanuc 6M controller
Limitations
It not possible to use the multi-stylus macro option or the vector cycles.
Fanuc 0M controller
Limitations
It is not possible to use the multi-stylus macro to store vector calibration data (K11
to K14).
None.
B-5
The accuracy of the result deteriorates if the minimum conditions are not followed.
Mathematical precision
The mathematical precision of the controller is a limiting factor if large values are used.
The Fanuc controller works within an accuracy of eight significant figures. Because of the
mathematical operations concerned, an error may accumulate if large values for probing
positions about the centre are used for calculation. It is suggested that, at this moment, X
Y coordinate values of 300.00 mm (30.000 in) from the feature centre are not exceeded
for any position around a bore, to retain a resultant resolution of better than 0.01 mm
(0.001 in).
NOTE: For better accuracy, always use the standard bore/boss cycle (O9814) where
possible.
B-6
C-1
Appendix C
C-2
Macro G65P9724
This macro is called at the beginning of all top level macros to establish the necessary
modal information.
The following data may be adjusted to suit during the installation by editing this macro.
The following values are supplied as standard:
#120 = 1 (SELECT OPTIONS)
NOTES:
1.
The Z axis P9726 basic move macro fast feedrate is #119*.6, i.e. 3 metres/min as
standard.
2.
All Z axis positioning moves are also #119*.6, i.e. 3 metres/min as standard.
3.
All XY axis positioning moves are #119 value i.e. 5 metres/min as standard.
FS9 type
10/11/12/15/M
FS6 type
0/6/16/18M
A type
B type
C type
# 120=1
# 120=2
# 120=3
# 120=9
# 120=10
# 120=11
A type
B type
C type
Flag
Flag
Flag
# 120=5
# 120=6
# 120=7
# 120=13
# 120=14
# 120=15
C-3
It is expected that the settings to enable Flag only alarms will suit FMS machining cells
where the requirement is to run unmanned. The process error flag #148 will be set and it
should be monitored after relevant probe cycles for corrective action (for use of extended
tool offsets, see Appendix J, "Tool offset macro 09732 and 09723").
Example
G65 P9812 X30.H.2
IF[#148EQ1] GOTO999
GOTO1
Go to start of program
N1000
M30
C-4
Tolerances
D-1
Appendix D
Tolerances
D-2
Tolerances
Tolerances
Uu, Hh and Vv apply to size and tool offset updates only.
e
d
c
Uu
Hh tol
b
Vv input
_
a
Nominal size
Null band. This is the tolerance zone where no tool offset adjustment occurs.
Hh 'Out of tolerance' alarm occurs. The tolerance value is that which is applied
to the size of the feature
Uu upper tolerance. If this value is exceeded there is no tool offset or work offset
updated and the cyle is stopped with an alarm. This tolerance applies to both
size and position where applicable.
Figure D.1 Size and tool offset update tolerances
Also see SPC macro O9835 (see Chapter 9, "Additional cycles") which can be used as a
modified method for the feedback of tool offset corrections. Use this instead of Ff.
Tolerances
Axis of datum
True position
Possible axes
Tol. 0.1
(Mm input)
D-3
D-4
Tolerances
Experience values Ee
E-1
Appendix E
Experience values Ee
E-2
Experience values Ee
Experience values Ee
The measured size can be adjusted by an amount stored in a spare tool offset.
Example
Measure a 40 mm diameter and update tool offset 20
G65P9814 D40. T20 E21
F-1
Appendix F
F-2
Type A
Type B
Type C
G-1
Appendix G
G-2
Output flow
H-1
Appendix H
H-2
Output flow
Measure
If error flag
#149 NEO
If #149
NE 2
Probe fail
#3000
N10
If E input
N
If U input
If size
error
If pos
error
Size adjust
experience
N11
Output variables
#135 to #149
Probe
open
#3000
If W input
If H input
If size
error
Print data to
RS232 port
Flag #148=1
N10
If flag only
#120.4=1
If size
error
Flag #148=3
If flag only
#120.4=1
Upper tol
exceeded
#3006
Y
END
Out of tol
#3006
N13
Output flow
N13
N15
If M input
If T input
If pos
error
If V band
exceeded
Flag #148=2
If F input
If flag only
#148=1
If pos
error
N15
Flag #148=5
If flag only
#120.4=1
Out of tol
#3006
N19
If S input
Work offset
update
Y
END
If radius
too large
N19
Set F=1
Out of
position
#3006
H-3
H-4
Output flow
I-1
Appendix I
I-2
Local variables
#1 to #32
These are used within each macro as required for calculation etc.
Common variables
#100 to #115
#116
#117
#118
Radius too large flag macro O9812, O9814, O9822, O9823 (also used for
temporary ATAN store in macro O9731).
#119
Fast feed rate value. This is set in macro O9724 at 5000 mm/min
(200 in/min) default value.
#120
#121
#122
#123
Start and end of block position zone normal setting 0.05 mm (0.002 in). If
the skip position is within this zone, the cycle aborts, with a Probe Open
or Probe Fail alarm.
#124
Stored X skip position at the end of the basic move macro O9726
#125
Stored Y skip position at the end of the basic move macro O9726.
#126
Stored Z skip position at the end of the basic move macro O9726.
#127
X average skip position at the end of the X diameter move macro O9721.
#128
Y average skip position at the end of the Y diameter move macro O9722.
#129
#130 to #134
#135 to #149
I-3
#501
#502
#503
#504
#505
#506
Basic move control factor. 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. Refer to Figure I.1 for a diagrammatic
representation.
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.
NOTE: This value can be found by using the optimisation macro O9836. The value must
be set in the settings macro O9724.
I-4
(a)
(c)
(b)
X
#506
(BMCF)
X
a = Fast feed
b = Gauge feed (30 mm/min)
c = Return
#508
#509
#510 to #565
These are reserved for vector calibration data and multi-stylus storage as
shown below:
#518
#519
#520
#521
#522
#523
#524
#525
#526
#527
#528
#529
#530
#531
#532
#533
#534
#535
#536
#537
#538
#539
#540
#541
#542
#543
#544
#545
#546
#547
#548
#549
#550
#551
#552
#553
#554
#555
#556
#557
I-5
I-6
#558
#559
#560
#561
#562
#563
#564
#565
The actual variables available are the limiting factor and depend on the control options
available.
J-1
Appendix J
J-2
Introduction
Macros O9732 and O9723 are used to address the correct tool offset registers during
macro execution.
The macro uses the #2--- system variables, which permit access to the 200 tool offset
option.
Additional tool offsets can be addressed by changing the system variable numbers to
#10--- type, when available.
macro continued
In cases where more than 200 tool offsets are available, it is necessary to use the
alternative system variable numbers.
K-1
Appendix K
K-2
74
72
70
G65P9811Z70.
IF[#137GT73.]GOTO100
IF[#137GT71.]GOTO100
IF[#137GT69.]GOTO100
GOTO400
N100(PROGRAM TO MACHINE A)
continue 'A component
GOTO400
N200(PROGRAM TO MACHINE B)
continue 'B' component
GOTO400
N300(PROGRAM TO MACHINE C)
K-3
Reset counter
#101=5
Count limit
N1
(START OF MACHINING)
conventional part programming
N32
(START OF PROBE ROUTINES)
IF[#100LT#105]GOTO33
probing routines
#100=0
N33
(CONTINUE MACHINING OR END)
#100=#100+1
Increment counter
Return to N1
K-4
M30
%
One-touch measuring
L-1
Appendix L
One-touch measuring
L-2
One-touch measuring
Introduction
The Inspection Plus software package provides an optional one-touch measuring
capability to supplement the standard two-touch cycles. The one-touch cycles are
intended for use on machines with a fast probe trigger detection ability so that high
measuring feedrates can be used.
The Inspection Plus software (Renishaw part no A-4012-0516) comprises the following:
Disk assembly
A-4012-0518
Files
40120519
40120520
40120521
40120727
On machines fitted with fast probe trigger signal detection (ie the high speed skip
option - see below)
When the nominal surface position is known to within a small window of uncertainty
Machine distortion
The machine is under stress during acceleration and deceleration and therefore the
recorded trigger values may have errors depending on machine tool condition.
One-touch measuring
L-3
Servo delays
Normally the axis servo delays are included in the result unless steps are taken to
account for it. Refer to your machine parameter manual for setting information so that
these errors are considered and compensated for.
Examples:
Fanuc 15
Setting parameter 7300.7=1 (SEB) will enable this function
Fanuc 16/18
Setting parameter 6201.1=1 (SEB) will enable this function
NOTE: When not fitted as standard, the high speed skip option may not be easily
retrofitted to a machine because of hardware and configuration requirements.
Fanuc 0
Setting parameter - none available
Retract to 5 mm above, move over and make a Z measure on top of the ring gauge.
Table L-2 below shows cycle time comparisons only. Check for suitable measuring
feedrates on your machine.
L-4
One-touch measuring
Two-touch cycles
Time in
seconds @
500 mm/min
Time in
seconds @
120 mm/min
Time in
seconds @
60 mm/min
Time in
seconds @
30 mm/min
27.6
18.0
18.2
18.7
19.1
18.5
19.8
22.4
24.4
20.0
22.2
27.4
32.2
22.4
27.3
37.1
47.0
One-touch cycle:
Stand-off
distance
0.5
1.0
2.0
3.0
Before installing the one-touch cycles, the standard two-touch cycles must already have
been installed.
The one-touch cycles file (40120727.**) contains a new one-touch macro O9726. This
should be loaded once the existing two-touch macro O9726 has been deleted from
memory.
Macro edits
The macro O9726, shown below, may be edited for measuring feedrate and standoff/overtravel distance values:
:9726(REN BASIC MEASURE - 1T)
#9=500*#129(EDIT MEAS FEED) .... * Feed - edit 500 value
#28=#9/1000(EDIT ZONE) .... accel / deceleration zone
#31=0
IF[#17NE#0]GOTO2
#17=3*#129(EDIT) ....... * stand off - edit 3 value
N2
One-touch measuring
L-5
System operation
Refer to the relevant chapters of this manual for a description of the cycles and their use.
Feedrate
Measuring uncertainty
30 mm/min
60 mm/min
120 mm/min
500 mm/min
0.002 mm
0.004 mm
0.008 mm
0.033 mm
L-6
One-touch measuring
This is used to store the X axis measured skip position. The value is set in
macro O9726.
#125
This is used to store the Y axis measured skip position. The value is set in
macro O9726.
#126
This is used to store the Z axis measured skip position. The value is set in
macro O9726.
Approach feedrates
The feedrate for the approach to the stand-off position in macro O9726 is set at
3000 mm/min (120 in/min) in the X, Y and Z axes.
NOTE: See Macro edits on page L-4 for details of setting the measuring feedrate.
One-touch measuring
Feedrate
30 mm/min
60 mm/min
120 mm/min
500 mm/min
L-7
Table L-4 Example of zone allowance using default zone factor 1000
NOTE: The allowance measuring range is the Q stand-off distance + twice this zone
value.
These values will be suitable in most cases, but optimisation or adjustment may be
required on some machines. A test program can be prepared to test the measuring
accuracy as follows:
1.
2.
3.
4.
Measure the surface, ensuring the trigger is in the constant velocity zone (ie middle
of measuring move) and record the first measured value.
5.
Make a small STEP adjustment to the programmed surface position (for example
0.5 mm) and repeat the test, recording the total STEP dimension and the measured
value.
6.
Repeat step 5, making several STEP changes (in the same direction). You will see
when the measured result deviates from the first recorded value. This is the point
where measurement becomes affected by acceleration/deceleration.
Calculate the acceleration/deceleration value:
A = absolute (Q value - total STEP value)
Calculate the zone factor (see descriptions above):
Zone factor = measuring feedrate / A
L-8
One-touch measuring
Q input
Qq
q=
The programming input and format is the same whether using one- or two-touch cycles.
The exception is that the Q input, which with two-touch cycles controls the overtravel
distance, also controls the stand-off position for the one-touch cycles (see also
Acceleration and deceleration allowance on page L-6).
NOTE: The Q value represents the allowable measuring range. The actual overtravel and
stand-off distance is automatically increased by the acceleration and deceleration
distance (see Acceleration and deceleration allowance on page L-6).
Stand-off position
One-touch measuring
Start
IF probe
fail
IF
short
move
Move to
stand-off
position
Measure
move
Store position
IF probe
open
False
trigger
move
check
IF false
trigger
loop > 4
IF false
trigger
Return to start
END
Alarms
L-9
L-10
One-touch measuring
Glossary of terms
GLY-1
Definitions of many of the terms used are provided here to assist your understanding of
the Inspection Plus software.
NOTE: This glossary also includes terms that are associated with probing but which have
not been used in this publication.
ATAN calculation
This describes a user transparent macro written by Renishaw to handle the ATAN
function in mathematical calculations.
User transparent
Macros which are used by the software but which do not get called directly by the user,
i.e. they are for internal use by the software only.
BRDO
Ball radius directional offsets. This is a term that is used to describe the stored software
compensations for the stylus ball radius. They are determined during calibration of the
probe.
Bore/boss measure
This is a Renishaw measuring cycle type definition.
Bore is an internal-width feature measurement on a circle. Feature types consist of
holes or bores.
Boss this is an external-width feature measurement on a circle. Feature types consist of
shafts, bosses, and spigots.
Calibration
This is the method of establishing the probe trigger point compensations. They include the
probe and machine effects which the software must use to correct the results.
C.W.
Clockwise
GLY-2
Glossary of terms
C.C.W.
Counter-clockwise.
Datum, datuming
This is the method used to establish a part feature reference point which is subsequently
used for other measurement or machining operations. A datum defines any co-ordinate
value as a reference position.
DPRNT
This is a Fanuc control command. It outputs ASCII data to the RS-232 port of the
controller. It is used to output a part inspection report that is based on probe results.
DTI
Dial test indicator. This instrument is traditionally used for aligning vices and fixtures with
respect to the machine axis.
Gauging move
This describes the movement of the probe onto the surface with data capture active, i.e. it
is a measurement move.
IMM
Inductive module machine. Together with the IMP, it forms part of the inductive
transmission system that is used to transmit signals back to the machine tool controller.
The IMM is part of the inductive coupling and is mounted on the machine. See also IMP.
IMP
Inductive module probe. Together with the IMM, it forms part of the inductive
transmission system that is used to transmit signals back to the machine tool controller.
The IMP is part of the inductive coupling and is mounted on the probe. See also IMM.
INHIBIT
This is a Renishaw interface input signal. It is used to either stop or inhibit the
transmission of the probe signal to the machine controller.
MDI
Manual data input. This is a commonly used term on Fanuc controllers (and controllers
that emulate the Fanuc). It means that operation of the machine is determined by data
that is entered through the keyboard.
MMS menu cycles
Mazatrol monitoring system. This is a standard Mazak probe option unit that is normally
fitted as original equipment.
Glossary of terms
GLY-3
MI5 interface
This is the Renishaw probe interface that is used to condition and control the probe signal
to the machine tool.
M19 spindle orientation
This is the machine manufacturers M-code function that instructs the machine spindle to
rotate and orientate to a fixed position.
Nominal surface position
This is the expected surface position, or theoretical position. When used in relation to
tolerances, it refers to the mid-position of the upper and lower limit of the surface.
OMI
Optical module interface. This is a combined optical receiver and machine interface unit
that forms part of the Renishaw optical probe transmission system. The unit is mounted
either on the guarding or some other suitable position where it is within the transmission
envelope and range of the probe.
OMM
Optical module machine. This is part of the Renishaw optical probe transmission
system. The unit is mounted either on the guarding or some other suitable position where
it is within the transmission envelope and range of the probe.
OMP
Optical module probe. This is part of the Renishaw optical probe transmission system.
The unit is mounted on the probe unit.
Optimisation macro
This is part of the Renishaw software package. It is used to establish the optimum fast
feed rates for probing and the optimum back-off distance.
PCD
Pitch circle diameter. This is a commonly used British term to mean a set of features
placed in a circular pattern.
Probe trigger flag
This is a variable or diagnostic register which is set to a value when the probe is triggered.
Protected positioning
This is a means of moving the probe from place to place while the probe trigger signal is
monitored. In the event of an unexpected triggering signal, the machine axis is halted to
prevent damage to the probe stylus.
GLY-4
Glossary of terms
PTR
Paper tape reader. This is the machines interface which is used to load the stored part
programs. It is now largely superseded by the use of floppy disk drives, external PCs, and
the RS-232 serial interface.
RMM
Receiver module machine. This is part of the Renishaw radio probe transmission
system. The unit is mounted either on the guarding or some other suitable position where
it is within the transmission envelope and range of the probe.
RMP
Radio module probe. This is part of the Renishaw radio probe transmission system. The
unit is mounted on the probe.
SPC
Statistical process control. Some Renishaw software packages contain a macro which
uses a simple form of SPC to control tool offset update corrections in closed loop
machining.
Stylus
This is the probe tip assembly that is used to trigger the probe on the tool during
measurement.
SSR
Solid state relay. The SSR converter terminal block is a Renishaw hardware unit which is
used to convert the signal from a signal conditioning module into an SSR output signal.
Tolerance limits
These are the extreme upper and lower metal condition values from the nominal surface
position.
Vector cycle, vector measure/calibration
This is a probe move, which move one or more machine axes simultaneously to approach
the surface from the normal direction.
Vector stylus ball radius calibration
This is an extra set of probe stylus ball radius calibration values which must be
determined when using vector cycles. They are the probe software compensation values
required for probing in different directions.
Glossary of terms
GLY-5
Web/pocket measure
This describes a Renishaw measuring cycle type definition.
Pocket is an internal-width feature measurement. Feature types consist of slots,
pockets, and internal recesses.
Web is an external-width feature measurement. Feature types consist of blocks, plate
widths, and upstanding keys.
Work zero point
This is a similar concept to Datum. It defines where the work co-ordinate system is set to
zero. A datum can define any co-ordinate value as a reference position.
Workpiece datum
This can be any workpiece feature or co-ordinate, which is chosen as a reference
position.
GLY-6
Glossary of terms
Renishaw plc
New Mills, Wotton-under-Edge,
Gloucestershire, GL12 8JR
United Kingdom
*H-2000-6031-0C-A*