0% found this document useful (0 votes)
199 views

Using Renishaw Inspection Plus Software On Hurco Machining Centers With WinMax Controls

Uploaded by

adamkrogulski
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
199 views

Using Renishaw Inspection Plus Software On Hurco Machining Centers With WinMax Controls

Uploaded by

adamkrogulski
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Engineering Document

007-5000-002

Using Renishaw Inspection Plus Software on Hurco


Machining Centers with WinMax Controls
1 Revision Log

Name Date Revision Description Version


Gerry Traicoff 02/15/10 Initial Document Release REV 1.0
Modified Macro File Names, Changed Set
Gerry Traicoff 2/23/10 REV 2.0
Probe Length Instructions
Changed reference to Absolute Tool Length
Gerry Traicoff 6/25/10 REV 3.0
Mode for Absolute Zero mode
Gerry Traicoff 8/3/10 Revised to match Version 8.1.4.x software REV 4.0
Revised to reference the versions up to and
Gerry Traicoff 9/24/10 REV 5.0
including 8.1.4.35
Added section that covers calibrating Z
Gerry Traicoff 04/28/14 REV 6.0
deflection offsets.

2
Using the Renishaw Inspection + software on a Hurco Machine Tool

Introduction
This document describes setting up the Hurco WinMax control to use the Renishaw
Inspection + macro programs. The WinMax control has conversational probing
capabilities and two modes of using tool length offsets; Zero Calibration and Absolute
Tool Length modes. This document also describes using a sample program. A
conversational part program is available that can be used to machine the sample part.

Control Software Version


Confirm that the software build is Version 8.1.2 or higher. To see the version press the
Input console button. The version is displayed on the screen. See the end of this
document for additional notes for running on versions 8.1.2 up to and including 8.1.4.35

Software Requirements
In order to run the Renishaw macros you will need to have the Part Probe, ISNC and
NCPP software options installed on your control. To confirm the software options are
enabled press the Auxiliary console button, the Utility Screen, System Configuration,
Display WinMax Configuration, Display Software Options, then cursor down the list until
you see the probing options. If the square in front of the option is green and says
“Installed” then the option is turned on. If the square is red and says “Not Installed” then
you have to go to the Opti Client program to turn them on.

OptiClient :To turn on options with OptiClient, access the Windows start button, the
pop-up will have OptiClient as a choice, click on that and the program will start. Then
under the Install tab, double click on Mill Options. Then scroll down and select the
options that you need to turn on. The tab in front of the option will be clear and when
you select it, then it will place a check mark in the tab (green tabs indicate the option is
already turned on). Then press the “Request License Code/s” tab (the checked box will
turn yellow). Then press the Pending tab and you will see the chosen options and the
dates requested written in the in the space. Choose the options in the save pending
block and hit save pending file. The file will be written. You need to email Hurco and
attach the file. They will return the file after confirming that the option is paid for and you
can return to OptiClient to run the file that contains the options and license to activate.

Disable the Conversational Part Probe Deflection Offsets:


Select the following: Input console button, Part Setup, Part Probing, Part Probe
Deflection offsets, Ring Gage Method.

3
Ring Gage Deflection Offsets

Make sure that the Apply G Code Offset parameter is set to NO. This will disable the
use of any Conversational G code deflection offsets from being used during a G31
command. The offsets would still apply for Conversational part Probing Cycles.

Load Programs
You need to load the macro program and the sample programs to call out the macro
routines. Press the Auxiliary console button, Program Manager, Open. Then navigate
to the drive where you have the macro programs stored and load the “WinMax
Inspection Plus.fnc” file (note: Your distributed macro file name may be different). There
are two sets of sample programs; one for Inch another for Metric. The programs are
named “CalibrateInch Part Probe.fnc” “CalibrateMetric Part Probe.fnc” and
“PartProbeSampleInch.fnc”, “PartProbeSampleMetric.fnc”. Decide whether you will
program in Inch or Metric and load that set of programs.

Set program parameter to allow vacant program arguments:


Select the following: Input button, Program parameters, NC parameters, NC
configuration parameters. More, Allow vacant variables? Select yes

Set Industry standard program parameter


Select the following: Auxiliary button, Utility screen, User Preferences, NC settings. The
NC dialect must say “Industry Standard” if not, select it from the drop down menu. If this
is correct when you are running a G code program there will be an “I” in the second to
left box at the bottom of the screen.

4
Setup for Zero Calibration Mode (negative tool offsets)
To switch to zero calibration mode: Select the following: Auxiliary console button, Utility
Screen, User Preferences, Tool Utilities and Settings. Set the Tool Calibration Mode to
Zero calibration mode . You will see a warning message:

Warning: The tool calibrations used by the previous mode cannot be used in the new
mode.
OK or Cancel choose ok .

Setup a ring gage on table and dial in the center.

Set Part Zero X Y


Select the following: Input console button, Part Setup. Then enter the center X and
center Y location of the ring gage as the Part Zero X, and Part Zero Y location.

Place Part Probe into the Spindle


Press the Manual console button in the Machine Mode section of the console. Press
the Tool Manager soft key (F1), select the Spindle tab then enter the tool number (The
sample program uses tool #1) into the Tool In Spindle input field and manually place the
part probe into the spindle.

Set Part Probe Length Offset


The sample program uses tool 1 for the part probe so you will need to set the length
offset in H1. Select the following: Input console button, Tool Review, Tool Setup, enter
1 for the tool number. Set the tool type as Probe. The Part Probe Receiver should light
up all green.

Move the cursor to the Tool number field and press Tool Offsets to access the tool
length and radius offset table. Move the cursor into the Tool Length Offset index for the
tool number you are using (index 1 for the sample program).

To set the probe length, load the probe in the spindle and move the Z axis until the
probe stylus makes contact with the top of the ring gage and store the number into the
tool length offset for that tool.

After storing the tool length for the probe jog the probe in the positive Z direction away
from the ring gage.

Skip to the “Run the Sample Program” section.

5
To run in the “Absolute Tool Length Mode”
To switch to Absolute Tool Length mode: Select the following: Auxiliary console button,
Utility Screen, User Preferences, Tool Utilities and Settings. Set the Tool Calibration
Mode to Absolute Tool Length. You will see a warning message:

Warning: The tool calibrations used by the previous mode cannot be used in the new
mode.
OK or Cancel choose ok .

Set Part Probe Length


Then set the actual probe length in the H1 offset (this will be a positive number i.e. 6.5”).

Note: If you know the table top machine Z position you can jog the part probe down to
touch off the top of the table and subtract that position from the table top machine
position to calculate the Part Probe Length.

Press the Input console button, Tool Review, Tool Setup. Enter the tool number for the
part probe (the sample program uses tool 1) Enter the tool gage length into the Tool Cal
Length field.

Move the cursor back into the Tool number field and press the Tool Offsets soft key.
Go to the Tool Length Offset screen and enter the gage length of the Part Probe into the
offset index for your probe.

Set Part Z Offset

Press the Input console button, Part Setup to view the Part Setup screen.

Part Setup Screen

6
Move the cursor into the Offset Z field and Jog the Part probe to touch off the top of the
ring gage. Press the Store Machine Position soft key or the store position button on the
jog pendant to set the Part Offset Z. (Note: Later versions of software may show a Part
Zero Z field instead of the Offset Z field. You can either press the Calculate Part Z With
Current Tool soft key or enter the Machine Position and subtract the length of the part
probe. Be sure that the Part Z DRO position reads 0.000 when you are done.)

After setting the offset jog the part probe in the positive Z direction to position it away
from the ring gage.

Set the Part Zero X and Part Zero Y fields to approximately the center point of the ring
gage.

7
Running the Sample Program
Before you can probe the part you will need to calibrate the part probe using a program
that calls the Renishaw calibration procedure.

Press the Auxiliary console button, then Program Manager. Select either the
CalibrateInch Part Probe.fnc file or the CalibrateMetric Part Probe.fnc file (depending on
whichever units you have chosen to use). The program example uses a two inch ring
gage.

The calibration part program uses tool #1 for the part probe. If you are using a different
tool number for the part probe you will need to edit that program. Edit the T code and
the G43 H command to match your part probe tool number.

Press the Auto console button then make sure the CalibrateInch Part Probe.fnc
program (or CalibrateMetric Part Probe.fnc program) is the run program name and
press the Run soft key, then press the Start Cycle console button.

The probe will retract in Z, position near the center of the ring gauge then plunge .167”
into the center hole and touch off the inside of the gauge at various points to calculate
the deflection offsets.

Refer to the Renishaw documentation for information on the resulting calibration values.

After calibrating the part probe you will be ready to probe part features.

If you have a sample part available (as shown in the figure below) you can run the
sample program to probe those features.

Part Zero

8
Sample Part

Clamp the part as shown in the picture below so that Part Zero is located to the back left
corner of the part. Press the Input console button, then Part Setup. Jog the part probe
to the back left corner of the part and store that position in the Part Offset X and Part
Offset Y fields. (Move the cursor to the Part Offset X field and press the Store Machine
soft key. Then move the cursor to the Part Offset Y field and press the Store Machine
soft key.)

Touch off the top of the part with the part probe and store that as the Part Z Offset if you
are in the Absolute Tool Length mode. If you are in the Zero Calibration mode you will
need to set that position as the Tool Length offset. (Press the Input console button,
Tool Review, Tool Setup, Tool Offsets. Go to the Tool Length Offset screen and store
that position into the index for your part probe tool number.)

Press the Auxiliary console button, then Program Manager. Then highlight the
PartProbeSampleInch.fnc part program (or the PartProbeSampleMetric.fnc file if you
ran the CalibrateMetric Part Probe.fnc program) and press Enter. Make sure the T code
and G43 H command use the same tool and index offset number as the one you are
using for the part probe. The sample program uses tool #1.

Press the Auto console button and make sure the run program name is the
PartProbeSampleInch.fnc program (or the PartProbeSampleMetric.fnc file if you
calibrated using the CalibrateMetric Part Probe.fnc program) and select the Run soft
key. Then press the Start Cycle button.

The probe will probe each feature.

Refer to the Renishaw documentation and the part program to see what cycles are run
and registers that are used to store results.

This concludes the Setup instructions and sample program for using the Renishaw
Inspection Plus programs. Refer to the Renishaw documentation and Hurco
documentation for more information.

9
Additional Notes:

View Registers
To see the macro variables: Select the following: Input console button, Program
Parameters soft key, NC Parameters soft key, NC variables soft key, Global 500-599.

Full Precision Editing


On an editable field such as 1.00234, press CTRL & . on keyboard or F & . on the
console and you can see all of the digits of the selected number.

Entering Values
Be sure to hit the return key after entering/changing a tool offset value or it will revert
back to the original number upon exiting.

Program End
Be sure to end the program with a M30 and not an M2, to avoid problems due to
buffering the part program for the next run!

Printing Macro Output


The output generated by the macros may be sent to a printer, serial port or to a file on
the hard drive. To set the output destination go to the Utility screen, User Preferences,
NC Settings. You can select the output device and file name on that screen.

The POPEN command, used to open a file for output, will reset the file. This will clear
out any data that may exist in the file. If you want to print out several features, you must
put a ”POPEN” at the beginning of the program and a “PCLOS” at the end of the
program and comment out (POPEN) and (PCLOS) in program 9703, then all of the
components and features printed with a W1 or W2 will be printed in the print file.

Work Offsets
At the time of this writing the Hurco WinMax control provides for six work offsets G54-
G59 and map to S1 through S6 parameters when calling the macros. Additional
auxiliary work offsets numbered 1 through 93 are available. These offsets map to S7
through S99.

Preparatory Functions
It is not necessary to use the 9832 Spin Probe On and 9833 Spin Probe Off macros with
the WinMax control. The control will automatically turn the probe on when it is placed in
the spindle and maintain that state while the probe is in the spindle.

You will need to use an M Code to tell the WinMax control to look for the Part Probe
signal. There are two possible signals; the Part Probe and the Tool Probe signal. This
code is required even if you do not have a tool probe installed on the machine.
 M26 (Look for Part Probe Signal)
 M27 (Look for Tool Probe Signal)

10
The WinMax control is capable of performing either a single touch when measuring or a
multiple touch when measuring. It is recommended that you use the M41 Single Touch
Mode.
 M41 (Single Touch Mode)
 M42 (Double Touch Mode)

Setting Part Z Zero When Using a Tool Probe for Zero Calibration Mode
This section describes how to probe the part zero location and set the work offset so
that tools which are calibrated using a tool probe are calibrated to the part zero location
when using Zero Calibration Mode (negative tool length offsets).

1. Calibrate a master reference tool using the tool touch or laser probe.
2. Bring the reference tool to a compression gauge (or gauge block) and set the
Part Z Offset to that location.
3. Using that as a Part Zero Offset bring your Part Probe down to the compression
gauge (or gauge block) and store that as the Tool Length offset for the part
probe.
4. Then bring the part probe above the gauge block and probe that Z location using
the same probe measurement feed rate that is used in the other ren settings
routine.
5. Add the resulting probed Z location to the part probes tool length offset.
6. Zero out the Part Z Offset in the work coordinate.
7. Then Probe the Z Location that you will be using for your part zero location and
store that as the Part Z Offset for your work coordinate.

Sample program for step #4 to #5 (SetProbeLength.fnc)


%
(This example program probes the top of a gauge block)
(and adds the probed Z value to the part probes length offset.)
(Position the part probe within 0.5 inches from the gauge block.)
G20 G90
G54
T1 M6 (TOOL 1 is the Part Probe)
G43 H1 (Use Tool 1 Length Index Number)
M19
M41
M26
G4 P1
G91
(PRIOR TO RUNNING THIS YOU NEED TO BRING THE REFERENCE TOOL)

11
(TO YOUR GAUGE BLOCK AND STORE THAT AS A Z OFFSET FOR THIS WORK)
(COORDINATE. )
G31Z-0.5 F[100*#129]
(IMPORTANT! #2001 is TOOL 1 Length Index Offset)
(IF you are not using Tool 1 as the probe you will need)
(to use a different #200x number.)
#2001=#2001+#5063 (Add the part z value to the probes tool length)
G91
G1 Z0.5 F100 (BACKOFF)
M30
%

Sample program for step #7 (SetWorkOffset.fnc)


%
G20 G90
G54
T1 M6 (Tool 1 is the Part Probe)
G43 H1 (Use Tool Length Index Offset 1)
M19
M41
M26
G4 P1
(IMPORTANT! S1 is the G54 Work Offset)
G65 P9811 Z0. Q.2 S1 F10
M30
%

12
Notes for Calibrating Part Probe Z Deflections using 9801 Macro
Program
Renishaw provides a macro subroutine that can be used to probe a known Z location
and update the Part Probe Z length Offset which will then include the Z deflection.

The sample program below is named: “Part Probe Z Cal for Absolute Tool Length
Mode.FNC”

To do this you will need a known Z location. The easiest thing is to use the Table Top
Reference location that you have defined in the Tool Measurement Settings for tool
setups. That location is the spindle nose to the table top.

Set the G54 Work Coordinate Part Z coordinate to that Z location.

Then jog the Part probe about 1/2 Inch above the table and run the program listed
below.

Important! Make sure the tool number called out in the program matches the tool
number that you have defined for the Part Probe. Also, change the G43 H code to the
appropriate tool length offset index to match the tool number.

It will use the 9801 Subroutine to probe the surface and then store the results as the
Part Probe tool length offset.

It will then reprobe that same location and update the G55 work coordinate Part Z offset
to that Z location as a check to see that the part probe is probing an accurate Z location.

%
G90 G80 G40 G0 G20
G54
T1 M6 (Tool 1 must be probe)
G43 H1
M19 (Orient Spindle)
G4 P1
M26 (Look for Part Probe Signal)
M41 (Use Single Touch Mode)
(Calibrate Z for the Part Probe)
G65 P9801 Z0 Q0.75 (Q should be the over travel distance)
G43 H1 (Reinstate the new Work Offset)
(You now have the correct tool length for the part probe.)
(The probe Z deflection offsets are built into that tool length)
G90
G65 P9811 Z0 Q.75 S2 (Q is the over travel distance)
M30
%

13
Notes for Running on Versions 8.1.2.x up to and including 8.1.4.35
Disable the Conversational Part Probe Deflection Offsets:
In WinMax Software Versions from 8.1.2 up to and including 8.1.4.35 you will need to
zero out the Conversational Part Probe Deflection values, because the earlier versions
do not have the option to disable the use of the existing values. (See screen below)

Select the following: Input console button, Part Setup, Part Probing, Part Probe
Deflection offsets, Ring Gage Method.

Ring Gage Deflection Offsets

Ring gage values are only used for conversational programming and must all be set to 0
to run with G-code programming. If you want to run in conversational, then you must re-
calibrate the deflection offsets. Zero out the offsets indicated above. Note, you will
have to page down to get to all 0 to 360 degree offsets.

14

You might also like