Professional Documents
Culture Documents
X Dd
1 5 Y
2 6
3 Dd
Zz
X (Y)
X Rr Dd
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 specically 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 RENISHAW and the probe emblem used in the RENISHAW logo are registered trademarks of Renishaw plc in the UK and other countries. apply innovation is a trademark of Renishaw plc. All other brand names and product names used in this document are trade names, service marks, trademarks, or registered trademarks of their respective owners.
Contents
Contents
About the EasyProbe cycles .............................................................................................. 3 How much memory is required? ........................................................................................ 3 Control parameter setting retaining the common variables on reset............................... 4 Calibrating a spindle probe ................................................................................................ 4 When should a spindle probe be calibrated?.............................................................. 4 How do I calibrate a probe?........................................................................................ 5 Using the C input....................................................................................................... 5 Calibrating using experience values ........................................................................... 6 Program format.................................................................................................................. 6 Measuring a single surface ................................................................................................ 7 Example 1: Calibrating the probe length..................................................................... 8 Example 2: Measuring the X surface (set G54 to the surface) ................................... 8 Example 3: Measuring the Z surface (set G54 relative to the surface)....................... 9 Example 4: Applying co-ordinate rotation to the Z axis (C axis) ................................. 9 Example 5: Setting a 4th axis (B axis) ...................................................................... 10 Measuring a feature (boss, bore, web, or pocket) ........................................................... 11 Example 6: Calibrating the probe XY offsets and stylus ball radii (combined operation) ........................................................................... 11 Example 7: Calibrating the probe XY offsets ............................................................ 12 Example 8: Calibrating the probe stylus ball radii ..................................................... 12 Example 9: Measuring a boss (set G54 to centre).................................................... 13 Example 10: Measuring a bore (set G59 to a referred centre) ................................. 13 Example 11: Measuring a Y axis web (set G54 to centre)........................................ 14 Example 12: Measuring an X axis pocket (set G59 to a referred centre) ................. 14 Programming method ...................................................................................................... 15 Inputs for protected positioning macro O9770 .......................................................... 15 Example 13: Setting a part origin in a bore and top face .......................................... 15 Example 14: Setting a 4th axis (A axis) .................................................................... 16 Common retained variables ............................................................................................. 16 Inspection Plus calibration data variables................................................................. 16 Standard inspection calibration data variables ......................................................... 17 Customising the software ................................................................................................ 18 Testing the software ........................................................................................................ 19 Test 1: Z axis moves................................................................................................. 19 Test 2: Measuring accuracy...................................................................................... 20 Test 3: Fast feedrate optimisation ............................................................................ 20 Test 4: Updating the work offset ............................................................................... 20
Contents
Inputs ............................................................................................................................... 21 For single surface setting G65P9023 (no Dd input)............................................... 21 For feature setting G65P9023 (with Dd input) ....................................................... 21 Optional inputs G65P9023..................................................................................... 22 Angle data........................................................................................................................ 24 Output angle (#139)............................................................................................... 24 Output angle error (#144) ...................................................................................... 24 4th axis work offset adjustment ................................................................................ 24 Alarms.............................................................................................................................. 25 Common variables used for cycle output results ............................................................. 26
CAUTION: The EasyProbe cycles should be carefully tested for safe operation in both MDI and program mode during the commissioning. This will ensure they are compatible with your machine configuration. If you use the cycles without first testing them thoroughly for compatibility, serious mispositioning and damage may be caused (see the section Testing the software later in this guide).
Step 2
Step 3
Steps 2 and 3 can be carried out either as individual operations, as described above, or combined into one operation (this is the recommended method). See Example 6 Calibrating the probe XY offsets and stylus ball radii (combined operation).
2.
Set the XY offsets to zero (0). For details of where these values are stored, see the section Common retained variables.
3.
Set the probe tool offset register to the length of the probe/stylus assembly. Enter the length into the tool offset register that you have allocated to the probe tool holder.
If you use this method, ignore the calibration procedures described previously and all further examples of probe calibration.
Program format
Standard call M-code call G65P9023....inputs.... M143....inputs....(recommended if an M-code shortcut is to be used).
Application
Position the probe stylus (using either the jog or handwheel mode) to a start point that is clear of the surface. Run the cycle, either in MDI mode or by creating a simple part program.
Format
[ ] denotes optional inputs X surface Y surface Z surface G65P9023Xx[AaC1.QqSsIi] G65P9023Yy[AaC1.QqSsJj] G65P9023Zz[AaC1.QqSsKk]
Example 1:
Z Y X
You must set the active co-ordinate system (for example, G54) to the reference surface position before running the cycle. 1. 2. Position the probe stylus approximately 10 mm (0.394 in) above the surface. Run the cycle, either in MDI mode or by creating a simple part program. O0000; G65P9023C1.Z-10.; The probe length is set.
Example 2: surface)
1.
Position the probe stylus approximately 10 mm (0.394 in) in front of the surface. O0000; G65P9023X-10.S54.; Set the G54 to the X surface position.
1.
Position the probe stylus approximately 10 mm (0.394 in) above the surface. O0000; G65P9023Z-10.S54.K50.; Set the Z surface at 50 mm (1.968 in) relative to the G54.
1.
Position the probe stylus approximately 10 mm (0.394 in) in front of the angled surface at the first measuring point. Take a measurement at point P1. Move the probe to point P2, using the same Z position. Take a measurement at this point.
2. 3.
NOTE: An alarm is generated if the X, Y and Z positions are changed for P1 and P2.
10
O0000; G65P9023Y-10.; G0G91X50.Y15.; G65P9023A0Y-10.; Y single surface measure P1. Move from P1 to P2. You can use either the jog or handwheel mode to do this. Y single surface P2 measure to find the angle error #144, relative to angle (A=0). The actual angle is in #139. Apply rotation around the C axis.
G68G90C0X0Y0R#144;
NOTE: G68 may be cancelled with G69. The measuring cycles will not run with G68 active.
Example 5:
1.
Position the probe stylus approximately 10 mm (0.394 in) above the angled surface at the first measuring point P1. Take a measurement at point P1. Move the probe to point P2, using the same Y position. Take a measurement at this point. O0000; G65P9023Z-10.; G0G91X50.Z15.; G65P9023A0Z-10.S54; Z single surface measure P1. Move from P1 to P2. You can use either the jog or handwheel mode to do this. Z single surface measure P2.
2. 3.
4.
Adjust the G54 (B axis) by the angle error to set the surface to zero (0) degrees.
Measuring a feature
11
Application
Position the probe stylus (using either the jog or handwheel mode) to a start point. Run the cycle, either in MDI mode or by creating a simple part program.
Format
[ ] denotes optional inputs Boss, bore X (web, pocket) Y (web, pocket) G65P9023Dd[CcQqRrSsIiJjKk] G65P9023DdXx[CcQqRrSsIiJjKk] G65P9023DdYy[CcQqRrSsIiJjKk]
Example 6: Calibrating the probe XY offsets and stylus ball radii (combined operation)
Use a ring gauge as a reference feature for this operation. You must accurately determine the centre position of the ring gauge before calibrating the probe. Inputs required: C1. and Dd 1. Position the probe stylus ball in the ring gauge at the measuring height. Align the spindle axis with the exact centre of the gauge. Run the cycle, either in MDI mode or by creating a program. O0000; G65P9023C1.D50.002; The size of the ring gauge is 50.002 mm. The XY offsets and stylus ball radii calibration are set.
2.
12
Measuring a feature
Example 7:
Use a bored hole as the reference feature for this operation. The centre of the feature must be generated for accuracy, but the size is not important. Inputs required: C2. and Dd
1.
Position the probe stylus ball in the reference feature at the measuring height. Align the spindle axis with the exact centre of the bore. Run the cycle, either in MDI mode or by creating a program. O0000; G65P9023C2.D50.; The calibrated XY offsets are set.
2.
Example 8:
Use a ring gauge as a reference feature for this operation. The exact position of the reference feature is not important. Inputs required: C3. and Dd
1.
Position the probe stylus ball in the ring gauge at the measuring height. Align the spindle axis with the approximate centre of the gauge.
Measuring a feature
13
2.
Run the cycle, either in MDI mode or by creating a program. O0000; G65P9023C3.D50.002; The size of the ring gauge is 50.002 mm. The stylus ball radii calibration is set.
Example 9:
1.
Position the probe stylus on the approximate centre of the feature, and approximately 10 mm (0.394 in) above the feature. O0000; G65P9023D50.Z-15.S54.; Set the G54 offset.
1.
Position the probe stylus on the approximate centre of the feature, and in the bore at the measuring height. O0000; G65P9023D50.S59.I50.J50.; Set the centre at X=50 and Y=50 relative to the G59X0Y0.
14
Measuring a feature
1.
Position the probe stylus on the approximate centre of the feature, and approximately 10 mm (0.394 in) above the feature. O0000; G65P9023D50.Y1.Z-15.S54.; Set the G54 offset.
1.
Position the probe stylus on the approximate centre of the feature, and in the pocket at the measuring height. O0000; G65P9023D50.X1.S59.I50.; Recommend setting input X = 1. or Y = 1. (but any value can be used). Set the X surface at X = 50 relative to the G59X0.
Programming method
15
Programming method
Macro O9770 can be used for protected positioning moves as described in the following examples.
Examples 13 and 14 below describe how to use the cycles when they are written into a part program.
Example 13:
O???? M6T20; G54; G43Z100.0H20 G65P9023M1.;
Apply probe length offset. Switch probe on. Protected move to the centre of the bore. Protected move to the measuring position. Measure and set the bore to G54X0 Y0. Protected move. Protected move. Set the Z surface to 1 mm (0.040 in) above the G54Z0 position. Switch probe off. Retract.
16
Example 14:
O????; M6T20; G54; G43Z100.0H20 G65P9023M1.;
Apply probe length offset. Switch probe on. Protected move to the first measurement point. Z- single surface measure. Move along the Y axis parallel to the surface. Z- single surface measure. Adjust the G54 A axis by the angle error to set the surface to zero (0) degrees. Switch probe off.
G65P9023M3.;
Variables for the standard Renishaw inspection software are used when the standard inspection software is currently installed.
17
#506 = Stylus backoff factor adjustment. This should be optimised during installation. Reducing the value decreases the distance the stylus will back off from the surface before making a final measuring move. When the software is set for a one-touch measuring move, #506 is not used. (See the section Customising the software, variable #118.)
NOTE: When EasyProbe files are generated using the Haas USA option, the range of common variables (#100) and common retained variables (#500) are different from those shown above. When using this option, all #100 variables are incremented by 50 and the #500 variables by 56. For example, the 4th axis system number setting variable #115 becomes #165 and the probe tool offset number variable #120 becomes #170. Similarly, the X+ axis stylus ball radius #500 becomes #556 and the backoff factor #506 becomes #562. This is to comply with current Haas USA recommendations for probe variable use and should avoid conflicts with other systems on the machine.
18
NOTE: If no 4th axis is being used, it is important that the default value of zero (0) is left set.
#116 #118
= =
This is used to read and apply the active tool offset values. Measuring feedrate. The default value of 30 mm/min (1.181 in/min) is suitable for general applications on most machines using a two-touch measuring move.
NOTES: Feedrate values must always be entered in mm/min, even if the Imperial (inches) mode is being used on the machine. Be aware that measurement accuracy can be compromised by increasing the measuring feedrate (see the section Testing the software).
Machines with an High Speed Skip (fast) measuring input can be run at faster feedrates typically 500 mm/min to 1000 mm/min (20 in/min to 40 in/min).
19
Once the feedrate is increased above 100 mm/min (3.94 in/min), the cycles change to one-touch measuring. Tests may be required to find the optimum feedrate for your application. #119 = Fast feedrate used for protected positioning in XY axis (default 5000 mm/min). Calculated: Z axis is (#119*.6=) 3000 mm/min. First-touch measure is (#119*.3=) 1500 mm/min. #120 = Fix the probe tool offset number used for the measuring cycles (default = 20). This must be set during installation (see the section Testing the software).
The common variables listed below are also used by the EasyProbe software. #123 to #132 #135 to #148 Used for internal calculation or a similar purpose. Not normally of concern to a user. Used for cycle output results (see "Common variables used for cycle output results" for details).
Test 1:
Z axis moves
Run a Z measure cycle clear of any obstruction (ideally at the Z home position). Check that the axis only moves the incremental programmed distance, and not a large value that includes the probe length. If the probe is not triggered, a Probe Fail alarm should occur at the end of the move. Run this test in MDI mode and under program operation. Also run this test immediately after switching on the machine but before you have selected a tool offset.
20
Test 2:
Measuring accuracy
Test that the measuring accuracy is suitable for your application. You must do this if you have changed the default measuring feedrate. This test is usually achieved by making repeated measurements on a surface, while starting the moves from different standoff positions.
Test 3:
Test that the fast feedrates are optimised for your machine. For safe operation the machine must be able to stop during a measuring move within the overtravel of the probe. The default feedrate values used are usually suitable for small to medium size machines.
TIP: Test the feedrate by positioning the probe stylus to trigger during a skip move on the edge of a surface, so that the stylus will skid off the surface and prevent excessive overtravel.
Test 4:
If the 4th axis measuring feature is to be used, check that the correct work offset is updated and that it is applied in the correct direction, i.e. clockwise or counter-clockwise. The axis direction and axis number are set inside macro O9023 using #115 = 4, 5 etc. or #115 = -4, -5 etc. .
Inputs
21
Inputs
For single surface setting G65P9023 (no Dd input)
NOTES: [ ] denotes optional inputs
*
[Aa] a [Ba ]
Use this only when measuring an angle. Enter the nominal angle of the surface (90 degree range). Make two surface measures along the surface. This input must be used for the second measure (see the section Angle data). Indicates a calibration cycle. This is used to adjust the probe tool length offset. Approximate distance and direction to the X surface. Approximate distance and direction to the Y surface. Approximate distance and direction to the Z surface (usually a minus value).
[C1.] [Fc ]
Xx x Yy y Zz z
= = =
= = = = = =
22
Inputs
3. = Other codes Qq q =
The overtravel of the probe for use whenever the default value is not suitable. Default values = 5 mm (0.197 in) for XYZ measurements. 10 mm (0.394 in) for feature measurements.
Rr
The radial clearance between the stylus and the side of the feature. Use only to measure an external feature (i.e. web or boss). Default value = 10 mm (0.394 in)
-r =
Inputs
23
Ss
s =
The work offset number that is to be set. S54 to S59 (G54 to G59 Fanuc/Meldas, and G54P1 to G59P1 Yasnac) S53 external work offset (S52 on Haas) Fanuc additional offsets S101 to S400 (G54.1P1 to G54.1P300) Meldas additional offsets S101 to S148 (G54.1P1 to G54.1P48) Haas additional offsets S110 to S129 (G110 to G129) S154.01 to S154.99 (G54P1 to G54P99) Yasnac additional offsets S54.02 to S59.05 (G54P2 to G59P5) MX3, J50 series S54.02 to S59.05 (G54P2 to G59P5) I80, J300 series
Ii
Required X set position of the feature. Default value = zero (0). Required Y set position of the feature. Default value = zero (0). Required Z set position of the feature. Default value = zero (0).
Jj
Kk
k =
24
Angle data
Angle data
The normal mathematical convention for angles is used. This means the specified angle or resultant angle is a positive (counter-clockwise) angle (see the following figures). This may cause confusion on a machining centre where the normal operator viewpoint is from the Y direction (typical) for rotations around the Y axis.
Alarms
25
Alarms
Message Action 91 FORMAT ERROR 591 FORMAT ERROR Correct the macro input line and run again. (This is a reset condition.) 92 PROBE OPEN 592 PROBE OPEN The probe is not switched on, or the stylus is in contact with a surface before trying to make the move, or the probe triggered during a move. Correct the error and try again. (This is a reset condition.) 93 PROBE FAIL 593 PROBE FAIL The probe did not hit the surface during the measure move, or the signal is not received or actioned by the control. This alarm is sometimes given if the surface is hit close to the target overtravel limit. The condition gets worse with higher measuring feedrates. Correct the error and try again. (This is a reset condition.) Message 95 ANGLE DATA ERROR 595 ANGLE DATA ERROR The macro could not process the angle data provided. Reasons: Two surface measurements are taken at the same position. Only one axis positioning move is allowed (not counting the measuring axis) between the two surface measuring points. Using the Aa input when not trying to measure an angle.
Message Action
Message Action
Action
Position correctly from the current position, and try again. (This is a reset condition.)
26
#144
#148
Renishaw plc New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR United Kingdom
For worldwide contact details, please visit our main web site at www.renishaw.com/contact
*H-2000-6181-0B*