Renishaw H-2000-6068-0C-A Programming manual

Programming manual
H-2000-6068-0C-A
Easyset inspection software for machining centres
© 1997 – 2002 Renishaw. All rights reserved.
Renishaw® is a registered trademark of Renishaw plc.
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.
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.
Renishaw part no: H-2000-6068-0C-A
First issued: June 1997 Revised: January 1998
August 1998 March 2002
EQUIPMENT REGISTRATION RECORD
Please complete this form (and Form 2 overleaf if applicable) after the Renishaw equipment has been installed on your machine. Keep one copy yourself and return a copy to your local Renishaw Customer Support office (refer to the manual for the address and telephone number). The Renishaw Installation Engineer should normally complete these forms.
MACHINE DETAILS
Machine description..................................................................…………….........................................................
Machine type........................................................……………….........................................................................
Controller................................……………………….............................................................................................
Special control options.............................................................................….......................................….............
....................................................................................................................………………………………..............
.............................................................................................................................………………………………...
RENISHAW HARDWARE
RENISHAW SOFTWARE
Inspection probe type .......................................
Interface type ...................................................
Tool setting probe type ...................................
Interface type ...................................................
SPECIAL SWITCHING M CODES (OR OTHER) WHERE APPLICABLE
Switch (Spin) probe on ....................................
Switch (Spin) probe off ...................................
Start/Error signal ...............................................
ADDITIONAL INFORMATION
Inspection disk(s)......................................……...............
..........................................................................…...........
.............................................................................…........
Tool setting disk(s) ..............................................…......
..................................................................................…...
.........................................................................................
Dual systems only
Switch-on inspection probe .......................................
Switch-on tool setting ...............................................
Other ..........................................................................
.......................................................................................
Tick box if Form 2 overleaf has been filled in.
Customer’s name………...................................................................
Customer’s address..…..................................................................
.....................................….................................................................
.........................................................................................................
…......................................................................................................
Customer’s tel. no.........................……............................................
Customer’s contact name……….....................................................
Date installed ..........…...........................
Installation engineer ….............................
Date of training.........................................
SOFTWARE DEVIATION RECORD
Standard Renishaw kit no. Software disk nos.
Reason for deviation
Form 2
Software no. and Subroutine no.
Comments and corrections
The software product for which these changes are authorised is subject to copyright. A copy of this deviation sheet will be retained by Renishaw plc.
A copy of the software amendments must be retained by the customer – they cannot be retained by Renishaw plc.
Caution – software safety 1
!
Caution – Software safety
The software you have purchased is used to control the movements of a machine tool. It has been designed to cause the machine to operate in a specified manner under operator control, and has been configured for a particular combination of machine tool hardware and controller.
Renishaw have no control over the exact program configuration of the controller with which the software is to be used, nor of the mechanical layout of the machine. Therefore, it is the responsibility of the person putting the software into operation to:
ensure that all machine safety guards are in position and are correctly working before commencement of operation;
ensure that any manual overrides are disabled before commencement of operation;
verify that the program steps invoked by this software are compatible with the
controller for which they are intended;
ensure that any moves which the machine will be instructed to make under program control 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.
Publication No. H-2000-6068
2
This page is intentionally left blank
Publication No. H-2000-6068
Contents 3
Easyset inspection software for machining centres
Contained in this publication
Before you begin .................................................................................................................4
Easyset software availability ............................................................................................... 4
For use with standard inspection software ................................................................... 4
For use with multi-axis software ...................................................................................4
For use with Inspection Plus software.......................................................................... 4
Description........................................................................................................................... 5
Important information ...................................................................................................5
Getting started ..................................................................................................................... 7
Cycle inputs ......................................................................................................................... 8
Fanuc additional offsets ...............................................................................................9
Haas standard inspection software .............................................................................. 9
Haas Inspection Plus software ..................................................................................... 9
Cycle format ......................................................................................................................10
Single surface setting .................................................................................................11
Software installation .......................................................................................................... 13
Macro edit – probe number ........................................................................................ 13
Macro edit – default work offset number .................................................................... 13
Macro edit – search distance .....................................................................................14
Macro edit – restricted use of (A9.) Z surface measure............................................. 14
Macro edit – inch/metric mode of operation ............................................................... 15
Testing the cycle ........................................................................................................15
Additional cycle inputs .......................................................................................................16
Using Easyset with multi-axis software ............................................................................. 17
Cycle inputs................................................................................................................ 17
Cycle format ......................................................................................................................18
Bore............................................................................................................................18
Alarms ...............................................................................................................................19
For Inspection Plus software versions ....................................................................... 19
Publication No. H-2000-6068
4 Before you begin
Before you begin
This software must be installed and used in conjunction with one of the Renishaw inspection software packages listed below. It provides an additional set of an easy job set­up cycles with minimum programming requirements.
Easyset software availability
For use with standard inspection software
Control type Software disk No.
Fanuc 0M, 6M, 16 – 21M, 16i – 21iM A-4012-0624
Fanuc 10M – 15M A-4012-0625
Haas A-4012-0627
For use with multi-axis software
Control type Software disk No.
Fanuc 10 – 15M A-4012-0626
For use with Inspection Plus software
Control type Software disk No.
Fanuc 0M, 10 – 15M, 16 – 21M, A-4012-0786 and 16i – 21iM (Kit no. A-4012-0785)
Haas (new variable recommendations) A-4012-0889
(Kit no. A-4012-0899)
Publication No. H-2000-6068
Description
Easyset is a set of additional job set-up cycles with minimal programming requirements. These cycles call up resident Renishaw Inspection cycles for machining centres, which MUST already be loaded into the machine tool part program memory area before use.
These cycles facilitate easy job set-ups by the machine operator, avoiding the need to create a program to position the probe prior to the setting cycle call. The software allows the operator to position the probe stylus at a suitable start position in jog mode before running the cycle.
Important information
Suitable training on how to use both the regular Renishaw cycles and Easyset is
Easyset software does not replace the regular inspection software. It only has quick
Description 5
assumed.
job set-up functionality and is suitable where the full programming method as used in the regular software is inconvenient.
CAUTION: Easyset cycles are not designed for, and should NOT be called directly by, the machining program, unless tests have been made to ensure
!
that the cycles function correctly in this way. The tool length offset must NOT be active when running these cycles, otherwise mispositioning will take place.
The spindle probe must be active and linked to the skip input.
On controls with a programmable MDI screen, Easyset may be called from the MDI
screen. If your control does not have this type of screen, a one line program stored in user memory can be generated to call Easyset.
The Easyset cycles must be tested during installation for safe operation and compatibility with your machine (see Software installation on page 13).
Publication No. H-2000-6068
6 Description
To keep the number of inputs to a minimum, there are some edits which must be made prior to use as shown:
Probe length offset number
Default work offset number to be set
Search distance
(See Software installation on page 13)
It should be noted that the feature being measured becomes the datum as listed below:
With bores and bosses, the centre points will be written into the work offset
With webs and pockets, the centre points will be written into the work offset
X, Y, and Z surface positions will be written into the work offset.
Easyset will run in either inch or metric mode.
Publication No. H-2000-6068
Getting started
The following instructions will be helpful, allowing you to safely use the Easyset cycles.
Make sure the standard software package and Easyset are loaded.
Familiarise yourself with the standard software.
Ensure the probe is calibrated.
Edit the defaults in Easyset macro O9023 (see Software installation on page 13).
Test the cycles for safe and correct operation.
To simplify the call-up on Fanuc 0, 16, 18, 20, and 21M controls, an M code may be assigned to call program O9023.
On older versions of Renishaw software, program O9023 is used as a delay macro. In this case, alter the Easyset program number to a vacant program number.
Getting started 7
Publication No. H-2000-6068
8 Cycle inputs
Cycle inputs
Input Description
Aa. a= Cycle type:
Dd. d= Bore or boss diameter.
1= bore setting 2= boss setting 3= pocket setting 4= web setting 5= X+ surface setting 6= X- surface setting 7= Y+ surface setting 8= Y- surface setting 9= Z surface setting
Xx. x= Pocket or web width when the feature lies along the X-axis.
or
x= X surface set (A6.) (fitted to Inspection Plus versions)
The datum is set to the surface position found unless a Xx. value is entered to set a referred datum relative to the surface.
Yy. y= Pocket or web width when the feature lies along the Y-axis.
or
y= Y surface set (A7.) (fitted to Inspection Plus versions)
The datum is set to the surface position found unless a Yy. value is entered to set a referred datum relative to the surface.
Zz. z= Boss (A2.) or web (A4.) feature.
The Z-axis depth for probing when measuring the feature. It is the incremental distance from the current stylus position to the measuring position. The distance is always a minus (-) value (example Z-10).
or
z= Z surface set (A9.).
The datum is set to the surface position found unless a Zz. value is entered to set a referred datum relative to the surface.
Publication No. H-2000-6068
Cycle inputs 9
Ss. s= The work offset to be updated if it is required to update an offset other
than the default work offset.
S0.= External work offset (G52 on Haas)
S1.= G54 work offset to S6.= G59 work offset
Fanuc additional offsets
S101.= G54P1 work offset to S148.= G54P48 work offset
Haas standard inspection software
S101.= G110(Haas) to S120.= G129(Haas)
Haas Inspection Plus software
S110.= G110(Haas) to S129.= G129(Haas)
Publication No. H-2000-6068
10 Cycle format
Cycle format
There are two types of format used, depending on whether you are using Manual Data Input (MDI) or the program method as shown:
MDI format
O0000 ;
G65 P9023Aa. [inputs] ;
Program format
O0001 ;
G65 P9023Aa. [inputs] ;
M30 ;
NOTE: ALL the following examples are shown using the MDI screen format.
Bore
Position the probe stylus at the approximate bore centre and at depth in the bore.
O0000 ;
G65 P9023 A1. D25. ; Set the default work offset to the bore centre by running in a
25 mm diameter bore.
Boss
Position the probe stylus at the rough boss centre and above the boss.
O0000 ;
G65 P9023 A2. D50. Z-20.; Set the default work offset to the boss centre by running in a
50 mm diameter boss.
Publication No. H-2000-6068
Cycle format 11
Pocket
Position the probe stylus at the rough pocket centre and at the required Z depth.
O0000 ;
G65 P9023 A3. X25. ; Set the default work offset by running in a 25 mm wide
pocket by measuring in the X-axis direction.
Web
Position the probe stylus at the approximate web centre and above the web.
O0000 ;
G65 P9023 A4. Y25. Z-15. ; Set the default work offset by running on a 25 mm wide web
by measuring in the Y and moving down in the Z-axis.
Single surface setting
The following is assumed on a vertical machining centre viewed from the front.
A5. (X+) surface to the right of the stylus (machine to move X+).
A6. (X-) surface to the left of the stylus (machine to move X-).
A7. (Y+) surface behind the stylus (machine to move Y+).
A8. (Y-) surface in front of the stylus (machine to move Y-).
A9. (Z) surface below the stylus (machine to move Z-).
X surface set (machine to move X+)
Position the probe stylus roughly 10 mm (0.4 in) away from X surface.
O0000 ;
G65 P9023 A5. ; Set the default work offset by running onto an X surface.
Publication No. H-2000-6068
12 Cycle format
Z surface set
Position the probe stylus roughly 10 mm (0.4 in) above the surface.
O0000 ;
G65 P9023 A9. ; Set the default work offset by running onto a Z surface.
Publication No. H-2000-6068
Software installation
Macro edit – probe number
O9023(REN EASYSET)
#29=**(PROBE OFFSET) Edit ** to suit the length offset number allocated to the probe.
Macro edit – default work offset number
O9023(REN EASYSET)
#28=**(DEFAULT WORK OFFSET) Edit ** to suit the work offset number that is most
#28=0 External work offset (G52 on Haas)
Software installation 13
commonly used.
#28=1 G54 to #28=6 G59
Fanuc additional offsets
#28=101 G54P1 (Fanuc) to #28=148 G54P48 (Fanuc)
Haas standard inspection
#28=101 G110 to #28=120 G129
Haas Inspection Plus
#28=110 G110 to #28=129 G129
Publication No. H-2000-6068
14 Software installation
Macro edit – search distance
O9023(REN EASYSET)
#27=**(DEFAULT Q IN MM) Edit ** to suit the search distance past the nominal
Macro edit – restricted use of (A9.) Z surface measure
Some applications are set to use the air gap (negative) type tool offsets. This may cause incorrect values being set into the Z register work offset when using A9. input.
To avoid using the A9. Z measure direction the following edit should be made:
O9023(REN EASYSET)
#30=1(OFFSET METHOD) Editing this will make the cycle jump to an alarm if A9.
surface required. 10 mm (0.4 in) is recommended.
is used (setting #30=0 will allow the A9. input to be used).
The use of #30 is different for the Inspection Plus compatible packages – see the following edits:
O9023(REN EASYSET) IF[#1EQ4]GOTO9 IF[#1LE6]GOTO11 IF[#1LE8]GOTO13 IF[#1EQ9]GOTO16 Delete this line GOTO17
#30=10(STAND OFF) This is used to set the stand off distance, and is used for
calculations.
Publication No. H-2000-6068
Software installation 15
Macro edit – inch/metric mode of operation
The Easyset package will run in either inch or metric mode, but the following should be considered.
On old software packages, the inch/metric program number is O9024, and not O9724. If this is the case, the M98P9724 should be changed to M98P9024 in Easyset.
NOTE: The above inch/metric edits do not apply to users with the Inspection Plus compatible software.
Testing the cycle
When testing the cycle, position the probe stylus at least 100 mm (4.0 in) away from any surface, then run the following:
O0000 ;
G65P9023A3.D50.Z-20. ; This example is shown in MM, and called from MDI mode
When running the above cycle the sequence should be:
1. Y-(D/2 + ball rad + 5mm) Y- move
2. Z-20.0 move Z- move
3. Y-(D/2 - 10mm) Y+ move
4. Return to initial X, Y, Z start position
5. Generate "PROBE FAIL" alarm
If mispositioning takes place in the Z-axis, this can be caused by an active "H" offset command.
If mispositioning takes place in the X or Y-axis this may be caused by the "MANUAL/ABSOLUTE" button being in the manual position. Some Fanuc 6 controls will misposition regardless of this button position.
If no mispositioning takes place, and the whole sequence 1 to 5 was followed, then the cycle is working correctly on your machine.
Publication No. H-2000-6068
16 Additional cycle inputs
Additional cycle inputs
Easyset software can be customised to use other cycle inputs provided by the host software package, however this will tend to compromise the simple programming feature of this package. The following example shows how this can be done:
Example: Add in the Tt and Ww input for bore measure
Host software – Inspection Plus
Change the macro O9023 bore cycle call as follows:
G65P9814D#7R#18Q#17 to: G65P9814D#7R#18T#20W#23Q#17
NOTES: Refer to the host programming manual for cycle input descriptions.
Tt and Ww cycle inputs are already included in the bore/boss and web/pocket cycles in some Easyset packages.
Publication No. H-2000-6068
Using Easyset with multi-axis software 17
Using Easyset with multi-axis software
Cycle inputs
When Easyset is used alongside the multi-axis software, the following additional inputs are used:
Ee. e= This states the probe direction (see Multi-axis manual for details).
A9. input
A9. input becomes an end setting cycle.
If E=E1 or E6 A9. is a Z setting cycle.
If E=E2 A9. is X setting cycle.
If E=E3 A9. is Y setting cycle.
If E=E4 A9. is X setting cycle.
If E=E5 A9. is Y setting cycle.
When end setting using A9. input, the additional inputs X and Y may be used to set the end face relative to where the probe finds it, maximum 5 mm (0.2 in), minimum -5 mm (-0.2 in).
A5. and A6. inputs
A5. and A6. inputs become edge setting cycles.
If E=E1 or E6 A5. and A6. are X setting cycle.
If E=E2 or E4 A5. and A6. are Z setting cycle.
If E=E3 or E5 A5. and A6. are X setting cycle.
A7. and A8. inputs
A7. and A8. inputs become edge setting cycles.
If E1 or E6 then A7. and A8. are Y setting cycle.
If E2 or E4 then A7. and A8. are Y setting cycle.
If E3 or E5 then A7. and A8. are Z setting cycle.
Publication No. H-2000-6068
18 Cycle format
Cycle format
Bore
Position the probe stylus at the approximate bore Y, Z centre and at an X-axis depth that puts the stylus ball in the bore.
O0000 ;
G65P9023A1.E2.D25. ; Set default work offset by run in a 25 mm diameter bore
which lies in the Y, Z plane.
Publication No. H-2000-6068
Alarms
Alarms 19
98 or 598 FORMAT ERROR Aa. or Ss. input out of range or missing, or Zz. input
too large or small when using A9.
NOTES: When used with the multi-axis inspection software this alarm is also generated
for a missing Ee. input.
All other alarms are as described in the Inspection Manual alarm listing.
For Inspection Plus software versions
91 or 591 FORMAT ERROR Aa. or Ss. input out of range or missing.
Publication No. H-2000-6068
20 Cycle format
This page is intentionally left blank
Publication No. H-2000-6068
Renishaw plc
New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR United Kingdom
Renishaw worldwide
T +44 (0)1453 524524 F +44 (0)1453 524901 E uk@renishaw.com
www.renishaw.com
Australia
Renishaw Oceania Pty Ltd, Melbourne
T +61 3 9521 0922 F +61 3 9521 0932 E australia@renishaw.com
Brazil
Renishaw Latino Americana Ltda, São Paulo
T +55 11 4195 2866 F +55 11 4195 1641 E brazil@renishaw.com
Czech Republic
Renishaw s.r.o., Brno
T +420 5 4821 6553 F +420 5 4821 6573 E czech@renishaw.com
The People’s Republic of China
Renishaw Representative Office, Beijing
T +86 10 6410 7993 F +86 10 6410 7992 E china@renishaw.com
Renishaw Representative Office, Shanghai
T +86 21 6353 4897/5697 F +86 21 6353 4881 E china@renishaw.com
France
Renishaw S.A., Marne la Vallée
T +33 1 64 61 84 84 F +33 1 64 61 65 26 E france@renishaw.com
Germany
Renishaw GmbH, Pliezhausen
T +49 7127 9810 F +49 7127 88237 E germany@renishaw.com
Hong Kong
Renishaw (Hong Kong) Ltd, Kowloon Bay
T +852 2753 0638 F +852 2756 8786 E hongkong@renishaw.com
India
Renishaw Metrology Systems Pvt Ltd, Bangalore
T +91 80 5320 144 F +91 80 5320 140 E india@renishaw.com
Indonesia
Renishaw Representative Office, Jakarta
T +62 21 428 70153 F +62 21 424 3934 E indonesia@renishaw.com
Italy
Renishaw S.p.A., Torino
T +39 011 966 10 52 F +39 011 966 40 83 E italy@renishaw.com
Japan
Renishaw K.K., Tokyo
T +81 3 5332 6021 F +81 3 5332 6025 E japan@renishaw.com
The Netherlands
Renishaw International BV, Prinsenbeek
T +31 76 543 11 00 F +31 76 543 11 09 E benelux@renishaw.com
Singapore
Renishaw Representative Office
T +65 6897 5466 F +65 6897 5467 E singapore@renishaw.com
Slovenia
RLS merilna tehnika d.o.o., Ljubljana
T +386 1 52 72 100 F +386 1 52 72 129 E mail@rls.si
South Korea
Renishaw Liaison Office, Seoul
T +82 2 565 6878 F +82 2 565 6879 E southkorea@renishaw.com
Spain
Renishaw Iberica S.A., Barcelona
T +34 93 478 21 31 F +34 93 478 16 08 E spain@renishaw.com
Switzerland
Renishaw A.G., Pfäffikon
T +41 55 415 50 60 F +41 55 415 50 69 E switzerland@renishaw.com
Taiwan
Renishaw Representative Office, Taichung City
T +886 4 251 3665 F +886 4 251 3621 E taiwan@renishaw.com
UK (Head Office)
Renishaw plc, Gloucestershire
T +44 (0)1453 524524 F +44 (0)1453 524901 E uk@renishaw.com
USA
Renishaw Inc., Hoffman Estates, IL
T +1 847 286 9953 F +1 847 286 9974 E usa@renishaw.com
For all other countries
T +44 1453 524524 F +44 1453 524901 E international@renishaw.com
Loading...