Inspection Software For Lathes: For Fanuc 0, 6, 10-15, 16, 18, 21T and It, and Yasnac LX3 Controllers
Inspection Software For Lathes: For Fanuc 0, 6, 10-15, 16, 18, 21T and It, and Yasnac LX3 Controllers
H-2000-6021-0E-A
Disclaimer
Trade marks
RENISHAW and the probe symbol used in the RENISHAW logo are
registered trade marks of Renishaw plc in the United Kingdom and
other countries. apply innovation and names and designations
of other Renishaw products and technologies are trade marks of
Renishaw plc or its subsidiaries.
All other brand names and product names used in this document
are trade names, trade marks, or registered trade marks of their
respective owners.
Issued:	07.2013
                               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 over the mechanical layout of the machine tool. Therefore,
                  it is the responsibility of the person putting the software into operation to:
                        ensure that all machine tool safety guards are in position and working correctly
                         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 that the machine tool will be instructed to make under
                         program control will not cause the machine tool 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.
Contents
                       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 macros that are
                        provided for calibrating a probe. Cycles are provided for calibrating an inspection
                        probe when it is vertically mounted and horizontally mounted.
                       Chapter 7, “Additional cycles”, describes how to use the four macro cycles that are
                        not described in previous chapters.
 Chapter 8, “C-axis cycles”, describes how to use two C-axis measuring cycles.
                       Chapter 9, “Alarms and error messages”, describes the macro 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, macros and variables”, describes how to customise the
                        Inspection software on your machine. It also covers setting information and details
                        about the macro 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:
               Installation manual Probe systems for machine tools (Renishaw part no.
                H-2000-6040).
               Data sheets Probe software for machine tools (Renishaw part nos. H-2000-2289
                and H-2000-2298).
ReadMe (N-4012-1194)
                  If memory capacity of the controller is stated in “metres of tape”, use the following data to
                  convert from kilobytes to length or vice-versa:
         File 1                                    File 2
         O9721       X diameter move               O9521     Z diameter move
         O9724       Settings macro                O9524     Settings macro
         O9726       XZ basic move                 O9526     XZ basic move
         O9730       Print macro                   O9530     Print macro
         O9732       Offset update macro           O9532     Offset update macro
         O9801       Probe length calibration      O9601     Probe length calibration
         O9802       Stylus offset (double-sided   O9602     Stylus offset (double-sided
                     calibration)                            calibration)
         O9803       Stylus ball radius (double-   O9603     Stylus ball radius (double-
                     sided calibration)                      sided calibration)
         O9804       Single-sided calibration      O9604     Single-sided calibration
         O9810       Protected positioning         O9610     Protected positioning
         O9811       XZ single surface measure     O9611     XZ single surface measure
         O9812       Web/pocket measure            O9612     Web/pocket measure
         O9830       Multi-stylus store            O9630     Multi-stylus store
         O9831       Multi-stylus load             O9631     Multi-stylus load
File 3
Measurement errors
                  When you fit your Renishaw probe into the machine’s shank/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 centre line. Take care to minimise this error otherwise measurements
                  will be taken across a chord 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 “Software installation” section of the installation manual titled
                  Probe systems for machine tools (Renishaw part no. H-2000-6040) and the Readme file
                  on the CD.
 Programming manual
 Installation manual
 Readme file
 Generate macros
          3.    After you have completed all fields, click the Run button at the bottom of the screen.
                The system will generate the macros that are required for your machine set-up. The
                macros are stored on your PC in the folder and file that is shown above the Run
                button.
                The macros can now be loaded into the machine.
1. From your PC, explore the CD and locate the folder named Macros.
          3.    Select the files appropriate to your machine (probe vertical or probe horizontal
                and/or C axis) and copy them to your PC.
          4.    Either edit these files on your PC or load them into your machine and edit them
                there.
Chapter 2
Optional inputs
                  Many of the macros make use of standard optional inputs. Instead of describing them
                  each time they are required, they are described once in this chapter. You will be referred
                  to this chapter from other chapters whenever a standard optional input is required.
                  Details of each non-standard optional input that is required by a macro is provided in the
                  relevant macro description.
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.
          Ee        e=    Experience value.
                          Specify the number of a spare tool offset where an adjustment value to
                          the measured size is stored (see Chapter 11, “General information”).
                          Example: E21. causes the experience value stored in tool offset 21 to be
                          applied to the measured size.
          Qq        q=    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:   4 mm (0.16 in) in the Z axis
                                     10 mm (0.394 in) in the X axis.
                          Example:     Q8. sets an overtravel distance of 8 mm.
                                       (Q.3 sets an overtravel distance of 0.3 in.)
                  R–r         –r =   This is similar to Rr, except that the clearance is applied in the opposite
                                     direction 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.)
                  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.)
Chapter 3
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.
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 cycles. After they are set 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, the machine
          will stop in the event of a collision.
          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 macro call.
          In the event of a collision the machine will stop. Either a PATH OBSTRUCTED alarm is
          generated or error flag #148 is set (see the Mm input).
          Format
          G65 P9610 Xx and/or Zz [ Ff Mm ]
          where [ ] denote optional inputs.
                  Compulsory inputs
                  Xx          x=    The target diameter position for the probe positioning move.
and/or
                  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 must not
                                    be exceeded.
                  M1.               This will set a probe trigger flag (but with no PATH OBSTRUCTED
                                    alarm).
                                    #148 = 0 No probe trigger.
                                    #148 = 7 Probe triggered.
                  Example
                  Proprietary G and M codes.
          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, the machine
          will stop in the event of a collision.
          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 macro call.
          In the event of a collision, the machine will stop. Either a PATH OBSTRUCTED alarm is
          generated or error flag #148 is set (see the Mm input).
          Format
          G65 P9810 Xx and/or Zz [ Ff Mm ]
          where [ ] denote optional inputs.
          Compulsory inputs
          Xx       x=      The target diameter position for the probe positioning move.
and/or
                  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 must not
                                   be exceeded.
                  M1.              This will set a probe trigger flag (but with no PATH OBSTRUCTED
                                   alarm).
                                   #148 = 0 No probe trigger.
                                   #148 = 7 Probe triggered.
                  Example
                  Proprietary G 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 macros that are provided to calibrate them.
Calibrating the stylus Z tool offset double-sided (probe vertical) – O9602 ...................... 5-7
Calibrating the stylus ball radius double-sided (probe vertical) – O9603 ........................ 5-9
Calibrating the stylus X tool offset double-sided (probe horizontal) – O9802 ............... 5-15
Calibrating the stylus ball radius double-sided (probe horizontal) – O9803 .................. 5-17
          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 macro variable. 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
                  Eight calibration cycles are provided with the Inspection software. Four are for calibrating
                  a probe positioned vertically and four are for calibrating a probe positioned horizontally.
                  They may be used in conjunction with one another for complete calibration of the probe.
                  The purpose of each macro is summarised below.
                  Macros O9601 and O9801           Used to establish the length of the probe in the tool
                                                   shank.
                  Macros O9602 and O9802           Used to establish the stylus offset (for double-sided
                                                   calibration only).
                  Macros O9603 and O9803           Used to establish the radius values of the stylus ball (for
                                                   double-sided calibration only).
                  Macros O9604 and O9804           Used to establish the error value of the stylus ball (for
                                                   single-sided calibration only).
             For single-sided calibration of a vertically mounted probe, use macros O9601 and
              O9604.
The Renishaw calibration cycles are split into separate cycles for flexibility.
                                          Tt
                                      Tool offset
                                                                        Xx
                                                                    reference
                                                                       size
Description
                  The probe is positioned adjacent to an X-axis reference surface. When the calibration
                  cycle is completed the active 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
G65 P9601 Xx Tt
        Compulsory inputs
        Tt      t=       The active tool offset number.
Outputs
A B
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 to the centre of the web or groove.
                   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
                   G65 P9602 Zz Tt [ Rr Xx ]
                   where [ ] denote optional inputs.
                   Compulsory inputs
                   Tt         t=     The tool offset number that will be updated.
        Optional input
        Xx      x=      The absolute X-axis measuring position when calibrating on an external
                        feature. If this is omitted, a groove cycle is assumed.
Outputs
Set the exact X and Z feature positions in a work offset (for example, using G54).
O0002
A B
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. 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
                  G65 P9603 Zz [ Rr Xx ]
                  where [ ] denote optional inputs.
                  Compulsory input
                  Zz          z=     The nominal size of the reference web or groove.
         Optional input
         Xx      x=      The absolute X-axis measuring position when calibrating on an external
                         feature. If this is omitted, a groove cycle is assumed.
Outputs
Set the approximate X and Z feature positions in a work offset (for example, using G54).
O0004
                  NOTE: When this method is used for calibrating a stylus, only the calibrated edge of the
                  stylus must be used in subsequent measuring cycles.
                                                          OR
                   A                                                 B
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
G65 P9604 Zz Tt
                  Compulsory inputs
                  Tt          t=   The active tool offset number.
Outputs
Set the exact X and Z feature positions in a work offset (for example, using G54).
O0002
Tt tool offset
Zz reference height
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 is 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
G65 P9801 Zz Tt
                  Compulsory inputs
                  Tt          t=   The active tool offset number.
Outputs
Description
                  Before the cycle is run, the probe is positioned in front of the diameter (A) or inside the
                  bore (B). When this cycle is completed, the centre 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.
                  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
                  G65 P9802 Xx Tt [ Rr Zz ]
                  where [ ] denote optional inputs.
         Compulsory inputs
         Tt      t=      The tool offset number that will be updated.
         Optional input
         Zz      z=      The absolute Z-axis measuring position when calibrating on an external
                         feature. If this is omitted, a bore cycle is assumed.
Outputs
Set the exact X and Z feature positions in a work offset (for example, using G54).
O0002
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 centre 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.
                  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
                  G65 P9803 Xx [ Rr Zz ]
                  where [ ] denote optional inputs.
         Compulsory input
         Xx      x=      The nominal size of the feature.
         Optional input
         Zz      z=      The absolute Z-axis measuring position when calibrating on an external
                         feature. If this is omitted, a ring gauge cycle is assumed.
Outputs
Set the approximate X and Z feature positions in a work offset (for example, using G54).
O0004
                  NOTE: When this method is used for calibrating a stylus, only the calibrated edge of the
                  stylus must be used in subsequent measuring cycles.
OR
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
G65 P9804 Xx Tt
                  Compulsory inputs
                  Tt          t=     The active tool offset number.
Outputs
Set the exact X and Z feature positions in a work offset (for example, using G54).
O0002
Chapter 6
                  This chapter describes how to use the non-vector measuring cycles with vertically-
                  mounted and horizontally-mounted probes.
          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 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 P9611 Xx or Zz [ Cc Ee Ff Hh Ii Qq Ss Tt Uu Vv Ww ]
          where [ ] denote optional inputs.
Example: G65 P9611 X50. C1. E90. F0.8 H0.2 I0.5 Q10. S1. T20. U.5 V.5 W2.
          Compulsory inputs
          Xx      x=      The size of the target surface.
or
Optional inputs
                  Inputs Cc and Ii are used with the reference touch option. This option eliminates thermal
                  growth errors from within the probe results, helping to maintain measuring accuracy.
                  Cc          c = 1.   Takes the error from the reference diameter and stores it in #134.
                              c = 2.   Takes the error stored in #134 and adds it to the results of the measured
                                       diameter.
C=1
C=2
Chuck
                                                                               1
                                                             7
                                                                   5
                                                             6      4
                                                                           2
continue
NOTE: This cycle must not be used unless double-sided calibration has taken place.
                  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
                  G65 P9612 Zz [ Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww ]
                  or
                  G65 P9612 Xx Zz [ Ee Ff Hh Mm Qq Rr Ss Tt Uu Vv Ww ]
Example: G65 P9612 X50. Z100. E91 F0.8 H0.2 M.2 Q10. R10. S1. T20. U.5 V.5 W2.
        Compulsory inputs
        Xx      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".
                                                            1
                                                    5
                                                        2
4 3
G54
continue
The centre line of the feature in the X axis is stored in the work offset 02 (G55).
5 1
                                                           4
                                                                   2
G54
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).
         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 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 Zz [ Cc Ee Ff Hh Ii Qq Ss Tt Uu Vv Ww ]
         where [ ] denote optional inputs.
Example: G65 P9811 X50. C1. E90 F0.8 H0.2 I0.5 Q10. S1. T20. U.5 V.5 W2.
         Compulsory inputs
         Xx      x=       The size of the target surface.
or
                  Optional inputs
                  Inputs Cc and Ii are used with the reference touch option. This option eliminates thermal
                  growth errors from within the probe results, helping to maintain measuring accuracy.
                  Cc          c = 1.   Takes the error from the reference diameter and stores it in #134.
                              c = 2.   Takes the error stored in #134 and adds it to the results of the measured
                                       diameter.
C=1
                                                                                C=2
                                                    Chuck
                                                              7
                                                                    5
                                                              6         4
                                                                            2
G54
continue
NOTE: This cycle must not be used unless double-sided calibration has taken place.
                  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
                  G65 P9812 Xx [ 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 ]
                  where [ ] denote optional inputs.
Example: G65 P9812 X50. Z100. E92 F0.8 H0.2 M.2 Q10. R10. S1. T20. U.5 V.5 W2.
         Compulsory inputs
         Xx        x=     The nominal size of the feature.
or
         Optional inputs
         See Chapter 2, "Optional inputs".
         Outputs
         See Chapter 3, "Variable outputs".
                                                                 2
                                                                     1
                                                  7
                                                             6
                              Figure 6.11 Probe movements
G54
continue
The centre line of the feature in the X axis is stored in work offset 02 (G55).
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 four macro 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
                                  K1                           K2
                           Calibration data             Calibration data
          Description
          The macro is used to store the stylus calibration data that is established during the
          calibration cycles. The data is stored in a spare set of macro variables.
Stored data for each probe can be recalled using macro O9631.
          Application
          Calibrate the stylus using macros O9602 and O9603. Run macro O9630 to store the
          calibration data #503. The values are recalled when macro O9631 is run.
NOTE: All # numbers shown are with the base number set to 503 in O9524.
          Format
          G65 P9630 Kk
                  Compulsory input
                  Kk          k=   This is the multi-stylus probe number that is used for storing calibration
                                   data.
                                   The active calibration data is stored in the macro variables shown in the
                                   following table. The actual variables used are dependent on the #112
                                   setting in O9524.
Active data K1 K2
                  NOTE: Spare macro variable locations, in which the calibration data can be stored, are
                  dependent on the machine options available and the variables that are already used by
                  your programs. These can be moved, depending on the #112 setting in O9524.
G54
Probe 1 Probe 2
                                    K1                            K2
                             Calibration data              Calibration data
          Description
          This macro is used (in conjunction with O9630) 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 a measuring cycle to select the correct
          probe calibration data. The Kk input determines the data that is to be loaded.
NOTE: All # numbers shown are with the base number set to 503 in O9524.
          Format
          G65 P9631 Kk
                  Compulsory input
                  Kk          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 O9630.
                                   The active calibration data is stored in the macro variables shown in the
                                   following table. The actual variables used are dependent on the #112
                                   setting in O9524.
Active data K1 K2
                  NOTE: Spare macro variable locations, in which the calibration data can be stored, are
                  dependent on the machine options available and the variables that are already used by
                  your programs. These can be moved, depending on the #112 setting in O9524.
continue
                      K1
                  Calibration
                     data
Probe 2
                      K2
                  Calibration
                     data
          Description
          This macro is used to store stylus calibration data that is established during the calibration
          cycles. The data is stored in a spare set of macro variables.
Stored data for each probe can be recalled using macro O9831.
          Application
          Calibrate the stylus using macro O9802 and O9803. Run macro O9830 to store the
          calibration data #500. The values are recalled when macro O9831 is run.
NOTE: All # numbers shown are with the base number set to 500 in O9724.
          Format
          G65 P9830 Kk
          Compulsory input
          Kk      k=      This is the multi-stylus probe number that is used for storing calibration
                          data.
                          The active calibration data is stored in the macro variables shown in the
                          following table. The actual variables used are dependent on the #111
                          setting in O9724.
Active data K1 K2
                  NOTE: Spare macro variable locations, in which the calibration data can be stored, are
                  dependent on the machine options available and the variables that are already used by
                  your programs. These can be moved, depending on the #111 setting in O9724.
G54
                    K1
                Calibration
                   data
Probe 2
                     K2
                 Calibration
                    data
          Description
          This macro is used (in conjunction with O9830) to load stored calibration data for a
          specific probe/stylus configuration into the active calibration variable range. It must be run
          before using the probe and stylus.
          Application
          The program must be run immediately before any measuring cycle to select the correct
          probe calibration data. The Kk input determines the data that is to be loaded.
NOTE: All # numbers shown are with the base number set to 500 in O9724.
          Format
          G65 P9831 Kk
          Compulsory input
          Kk      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 O9830.
                          The active calibration data is stored in the macro variables shown in the
                          following table. The actual variables used are dependent on the #111
                          setting in O9724.
Active data K1 K2
                  NOTE: Spare macro variable locations, in which the calibration data can be stored, are
                  dependent on the machine options available and the variables that are already used by
                  your programs. These can be moved, depending on the #111 setting in O9724.
Chapter 8
C-axis cycles
                  This chapter describes how to use the two C-axis macros that are supplied as part of the
                  Inspection software.
          Description
          This cycle will take two readings by moving the C axis. External features can also be
          measured by moving the X 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
          G65 P9650 Dd [ Xx Qq Rr Hh Ss ]
          where [ ] denote optional inputs.
          Compulsory input
          Dd      d=      The linear width of the feature.
          Optional inputs
          Hh      h=      Half the total positional tolerance.
          Qq      q=      The amount of scan past the nominal surface position and the clearance
                          for external features.
                          Default: 5 mm.
                  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. External features can also be
          measured by moving the Z 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
          G65 P9850 Dd [ Zz Qq Rr Hh Ss ]
          where [ ] denote optional inputs.
          Compulsory input
          Dd      d=      The linear width of the feature.
          Optional inputs
          Hh      h=      Half the total positional tolerance.
          Qq      q=      The amount of scan past the nominal surface position and the clearance
                          for external features.
                          Default: 10°.
                  Example: Bore
                  Bore 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 controller.
                  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:
                                                                                        #148 flag
          3006=    1 (OUT OF TOLERANCE)               Updates the offset if the cycle       1
                   1 (OUT OF POSITION)                start button is pressed to            2
                   1 DIA OFFSET TOO LARGE             continue.                             5
Chapter 10
The following options of macros O9524 and O9724 will need to be set:
         The examples in this chapter are for general guidance only. Note that the exact
         programming format may not suit either your machine set or the recommended method
         as specified by your machine builder.
         #119 = 5000 (FAST FEED MM)             The fast feedrate of the cycles can be adjusted by
         #119 = 200 (FAST FEED INCH)            this variable to suit the machine characteristics
                                                and should be optimised.
NOTES:
         1.   The Z-axis P9726 basic move macro fast feedrate is at the #119×.6 value
              (3000 mm/min as standard).
         2.   All Z-axis positioning moves are also at the #119×.6 value (3000 mm/min as
              standard).
3. All X-axis positioning moves are at the #119 value (5000 mm/min as standard).
         #123 = .05 (POSITION ZONE MM)          This is the zone at either the start or end of the
                                                block in which the cycle is aborted with either a
                                                PROBE OPEN or PROBE FAIL message.
                  Setting #33
                  It has been found that machine configurations can vary between different machine tool
                  builders. This means that a modification to #33 may be necessary. To establish whether
                  #33 needs modifying, carry out the following procedure:
                  1.     Load approximate values into the probe tool offset. This includes entering small
                         values (0.5 mm [0.019 in]) into the wear columns.
                  3.     Send the machine to a position that is clear of any obstruction; for example, the
                         reference point is ideal.
                  5.     Run a protected positioning cycle and move to a position at which no collision will
                         occur.
                  See “Use of macro variables” later in this chapter for a full list of the variables affected.
                  Before editing, check the availability of the variables.
                       Stop the machine at the end of the measuring cycle with an alarm message and set
                        the alarm flag #148.
 Set the alarm flag #148 only, allowing the process to continue.
          Process alarms
          * No alarm                      #148 = 0
          NOTE: If it is necessary to switch this option on and off during the program, then the
          following line in macro O9524 or O9724 may be deleted during installation. #110 can then
          be programmed.
          #110 = 0(SELECT ALARM METHOD).
                  Common variables
                  #100 to #105         Not used by this software package.
                  #106                 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
                                                                      X
                                     #106
                                  (Basic move
                                 control factor)
                                                             x
1 2 3
                  #110                 Flag or alarm selection (see “Editing the settings macro (O9524 or
                                       O9724)” earlier in this chapter).
                  #117                 Modal feedrate value used in the protected positioning macros (O9610
                                       and O9810).
         #122               The 4-digit feature number is incremented by 1 with each print macro
                            call program. To reset, state #122 = 0.
         #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
                            either a PROBE OPEN or PROBE FAIL alarm.
#124 Stored X 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.
#134 Error store when using the C1 input macros O9611 and O9811.
Chapter 11
General information
Tolerances
         Uu, Hh and Vv apply to size and tool offset updates only.
                                  Uu
                                                       c        d        e
                                       Hh
                                                                                    a
                                               Vv      b
a = Nominal size.
b = Null band. This is the tolerance zone where no tool offset adjustment occurs.
         d    =   OUT OF TOLERANCE alarm occurs. The tolerance value that applies to the size of the
                  feature is defined by input Hh.
         e    =   Uu 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.
Experience values Ee
                  The measured size can be adjusted by an amount stored in a spare tool offset.
Example:
                  G65 P9812 D40. T20 E21                      An experience value stored in tool offset 21 will be
                                                              added to the measured size.
                  ---------------------------------------------------------------------------
                  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 measurement.
 Multi-stylus calibration.
Limitations
                The probe cycles will not run if ‘mirror image’ is active.
Appendix B
                  Example 2 Using either G54 to G59 or G50 to define the component zero ................... B-3
                         G54 to G59 method .................................................................................................. B-3
                         G50 method setting a program shift to the turret reference position ........................ B-4
                  Example 4 Using either G92 or G50 to define the component zero-to-tool tip
                    position ......................................................................................................................... B-6
                     !
                           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 if you change the method of co-ordinate system setting on your machine to one that
                  is described here.
Boring tool
Turning tool
                                                            Turret at
                                                            reference
                                            X tool
                                            offset
                                       a
                                 (diameter or
                                    radius)
                              Component
                                zero                             Z
                                                            tool offset
 a and b may be minus values if the machine zero is at the turret home position.
O1234
G80G0
                  G55T0101X0Z10                 Select G55 and tool 1, offset 1. The tool tip will move to
                                                X0Z10 in the program co-ordinate system.
where the G55 X register = a and the Z register = b (see the description above).
G80G0
        T0101X0Z10                   Select tool 1, offset 1. The tool tip will move to X0Z10 in the
                                     program co-ordinate system.
        where the G50 X = a (+ value to the turret reference) and Z = b (+ value to the turret
        reference).
NOTE: For an alternative G50 method, see Example 4 later in this chapter.
                                                                  Turret at
                                                                  reference
                  G10 defines the distance and direction of the machine zero from the component zero.
                  Therefore in the example above:
a = zero (0).
b = minus value.
a = plus value.
b = plus value.
                  O1234
                  G80G0
                  G10P0X(a)Z(b)
                  The previous methods of co-ordinate system setting using either G54 to G59 or G10 can
                  use geometry type offsets (see Example 1). They are all methods of setting the
                  component zero relative to the turret face (that is, NOT the tool tip position).
                  These methods will allow the same tool offsets to be used in another job set-up. All that is
                  necessary is to redefine the new component zero.
                                              Turret at
                                              reference
                      Component
                        zero          a(Ø)
                                                  Z tool offset
G50 or G92
         X = a (plus value).
         Z = b (plus value).
         O1234
         G80G0
         G28U0W0
         G50X200.0Z100.0
         T0101X30.0Z3.0              Select the tool and tool offset.
         G28U0 W0T0100
         G50X250.0Z75.0
         T0202X0Z3.0
         G28U0W0T0200
                  Tool offsets for a G50 (or G92) co-ordinate system will be small wear compensation
                  amounts and have no obvious relationship to the machine turret. When changing from job
                  to job, all tools will need their new G50 values reset, unlike the other methods described.
                  This means that tools will need resetting for each job.
*H-2000-6021-0E*