Professional Documents
Culture Documents
Contant
1. ALARM MESSAGE .......................................................................... A-1
1-1 Various alarms and trouble shutting................................. A-1
2. Turret resetting procedure .............................................................. A-13
1. ALARM MESSAGE
1-1Various alarms and trouble shutting
ADDRESS
ALARM
NUMBER
A0.0
1000
A0.1
1001
A0.2
1002
A0.3
1003
A0.4
1004
A0.5
1005
A0.6
1006
A0.7
1007
A-1
ADDRESS
ALARM
NUMBER
A2.0
2000
A2.1
2001
A2.2
2002
A2.3
2003
A2.4
2004
A2.5
2005
A2.6
2006
A2.7
2007
ADDRES ALARM
S
NUMBER
A3.0
2008
A3.1
2009
A3.2
2010
A3.3
2011
A3.4
2012
A3.5
2013
A3.6
2014
A3.7
2015
A-2
ADDRESS
ALARM
NUMBER
A4.0
2016
A4.1
2017
A4.2
2018
A4.3
2019
A4.4
2020
A4.5
2021
A4.6
2022
A4.7
2023
DESCRIPTION
TURRET
UNCLAMP ALARM
(A4.0)
TURRET NO 1
SEARCH (A4.1)
TURRET RUN
ALARM (A4.2)
A-3
ADDRESS
ALARM
NUMBER
A5.0
2024
A5.1
2025
A5.2
2026
A5.3
2027
A5.4
2028
A5.5
2029
A5.6
2030
A5.7
2031
A-4
ADDRESS
ALARM
NUMBER
A6.0
2032
A6.1
2033
A6.2
2034
A6.3
2035
A6.4
2036
A6.5
2037
A6.6
2038
A6.7
2039
A-5
ADDRESS
ALARM
NUMBER
A7.0
2040
A7.1
2041
A7.2
2042
A7.3
2043
A7.4
2044
A7.5
2045
A7.6
2046
A7.7
2047
DESCRIPTION
A-6
ADDRESS
ALARM
NUMBER
A8.0
2048
A8.1
2049
A8.2
2050
A8.3
2051
A8.4
2052
A8.5
2053
A8.6
2054
A8.7
2055
A-7
ADDRESS
ALARM
NUMBER
A9.0
2056
A9.1
2057
A9.2
2058
A9.3
2059
A9.4
2060
A9.5
2061
A9.6
2062
A9.7
2063
A-8
ADDRESS
ALARM
NUMBER
DESCRIPTION
A10.0
2064
SUB SPINDLE
CHUCK OPEN
(A10.0)
A10.1
2065
A10.2
2066
A10.3
2067
A10.4
2068
SUB SPINDLE
BRAKE ON (A10.4)
A10.5
2069
SPINDLE
SYNCHRONOUS
RUN LOCK (A10.5)
A10.6
2070
SPINDLE
SYNCHRONOUS
CHUCK
CAN NOT ALL OPEN
(A10.6)
A10.7
2071
GEAR NO READY
(A10.7)
SUB SPINDLE
CHUCK INTERLOCK
(A10.2)
SUB SPINDLE C
AXIS MODE CAN
NOT RUN SPINDLE
(A10.3)
A-9
ADDRESS
ALARM
NUMBER
A11.0
2072
A11.1
2073
A11.2
2074
A11.3
2075
A11.4
2076
A11.5
2077
A11.6
2078
A11.7
2079
DESCRIPTION
A-10
ADDRESS
ALARM
NUMBER
A12.0
2080
A12.1
2081
A12.2
2082
A12.3
2083
A12.4
2084
A12.5
2085
A12.6
2086
A12.7
2087
ADDRESS
ALARM
NUMBER
A13.0
2088
A13.1
2089
A13.2
2090
A13.3
2091
A13.4
2092
A13.5
2093
A13.6
2094
A13.7
2095
DESCRIPTION
A-11
ADDRESS
ALARM
NUMBER
A14.0
2096
A14.1
2097
A14.2
2098
A14.3
2099
A14.4
2100
A14.5
2101
A14.6
2102
A14.7
2103
ADDRESS
ALARM
NUMBER
A15.0
2104
DESCRIPTION
A15.1
A15.2
A15.3
A15.4
A15.5
A15.6
A15.7
A-12
Fig.1
Fig.2
A-13
Fig.3.
Set
K7#5=1
Fig.4.
A-14
A-15
5. After the red arrow which are on cover and turret match each other,
press [RESET] key to clamp the turret head.
Fig.5
A-16
7. Press FEED HOLD and SP. STOP button at the same time. Then
turret head is unclamping.
9. Press FEEDHOLD and +X button. (To set the current tool as tool
no.1)
A-17
A-18
2. Rotate turret to TOOL NO.1 (the nameplate shows NO.1 but the
TOOL NO. SELECT switch may not select NO.1)
3. Press FEED HOLD and SP. STOP. at the same time. (Press
the right side FEED HOLD to operator thr right turret.)
A-19
A-20
Appendix B
GMTK- Code function
Contant
1. G-Code and M-Code function........................................................... B-1
1-1 G-Code function .......................................................... B-1
1-2 M-Code function .......................................................... B-5
2. T-Code function ................................................................................ B-7
3. K-Code function................................................................................ B-9
G00
G00
G00
G01
G01
G01
Function
Positioning (rapid traverse)
Linear Interpolation (Cutting feed)
01
G02
G02
G02
Circular interpolation CW
G03
G03
G03
G04
G04
G04
Dwell
G07.1
(G107)
G07.1
(G107)
G07.1
(G107)
G08
G08
G08
G10
G10
G10
G11
G11
G11
G12.1
G12.1
G12.1
(G112)
(G112) (G112)
G13.1 G13.1 G13.1
(G113)
(G113) (G113)
G17
G17
G17
G18
G18
G18
G19
G19
G19
G20
G20
G70
Cylindrical interpolation
00
06
G21
G21
G71
G22
G22
G22
G23
G23
G23
G25
G25
G25
G26
G26
G26
G27
G27
G27
G28
G28
G28
G30
G30
G30
G31
G31
G31
Skip function
B-1
G code system(Note 7)
Group
A
G32
G33
G33
Function
Thread cutting
01
G34
G34
G34
G36
G36
G36
G37
G37
G37
G37.1
G37.1
G37.1
G37.2
G37.2
G37.2
G39
G39
G39
G40
G40
G40
G41
G41
G41
G42
G42
G42
G50
G92
G92
G50.3
G92.1
G92.1
07
00
G53
G53
G53
G54
G54
G54
G55
G55
G55
G56
G56
G56
G57
G57
G57
G58
G58
G58
G59
G59
G59
G60
G60
G60
G65
G65
G65
G66
G66
G66
G67
G67
G67
B-2
G code system(Note 7)
Group
Function
G70
G70
G72
Finishing cycle
G71
G71
G73
G72
G72
G74
G73
G73
G75
G74
G74
G76
G75
G75
G77
G76
G76
G78
G71
G71
G72
G72
G72
G73
G73
G73
G74
G74
G74
G75
00
01
Pattern repeating
G83
G83
G83
G84
G84
G84
G86
G86
G86
G87
G87
G87
G88
G88
G88
G89
G89
G89
G90
G77
G20
G92
G78
G21
G94
G79
G24
G96
G96
G96
G94
G94
01
G91
G91
G98
G98
G99
G99
02
05
G90 G90
10
03
Incremental programming
Return to initial level
11
B-3
(Note 1) G codes marked " " are initial G codes when turning power
on.For G20 and G21, the G code before turning power off
remains. G00 or G01 can be selected by parameter setting.
(Note 2) G codes of group 00 are not modal. They are only effective in
the block in which they are specified.
(Note 3) If a G code not listed on the table of G codes is inputted, or
optional Gcode not specified in the system is commanded, an
alarm (No. 010) is displayed.
(Note 4) A number of G codes can be specified in the same block. When
more than one G code of the same group is specified, the G
code specified later is effective.
(Note 5) If any G code of group 01 is specified in a canned cycle mode,
the canned cycle is automatically cancelled and the G80
condition is entered. However a G code of group -1 is not
affected by any of the canned cycle G codes.
(Note 6) A G code is displayed from each group.
(Note 7) G code system B and C are options. Whether G code system B
or C is set by parameter No.0036 : GSPC.
B-4
1-2M-Code function
MDESCRIPTION
code
M00 Program stop
M01 Option stop
M02 End of program
M03 Main spindle rotate on clockwise
Main spindle rotate on
M04
counter-clockwise
M05 Main spindle stop
M08 Coolant on
M09 Coolant off
M10 Main chuck unclamp
M11 Main chuck clamp
M12 Tailstock forward
M13 Tailstock backward
M14 Tailstock quill forward
M15 Tailstock quill backward
Tailstock quill forward on
M16
pressure #2
Tailstock quill backward on
M17
pressure #2
M18 C-axis function off
M19 C-axis function on
M20 Main air blow on
M21 Main air blow off
Living tool free(just for servo
M22
motor)
M23 Chamfering on
M24 Chamfering off
M25 In-position check valid
M26 In-position check invalid
M27 Check on of chuck air seal
M28 Check off of chuck air seal
M29 Rigid taping on
M30 End of program & reset
M31 Chuck open,spindle can rotating.
Chuck open,spindle can not
M32
rotating
M35 Auto toolset down
M36 Auto toolset up
M37 Main spindle brake clamp
M38 Main spindle brake unclamp
Mcode
M40
M41
M42
M43
M44
M45
M46
M47
M48
M49
M50
M58
M59
M60
DESCRIPTION
Spindle in neutral gear
Spindle low speed gear
Spindle high speed gear
Spindle synchronous on clockwise
Spindle synchronous on
counter-clockwise
Spindle synchronous stop
Call b/f allow
Bar feeder m code
Bar feeder mcode (loading)
Bar feeder mcode
Bar feeder mcode
Option hight- pressure pump on
Option hight- pressure pump off
Pmc tailstock mode
B-5
MDESCRIPTION
code
M88 Steady rests #3 clamp
M89 Steady rests #3 unclamp
Out-side pneumatic chuck
simultaneity on
Out-side pneumatic chuck
M91
simultaneity off
M90
MDESCRIPTION
code
M272 Sub spindle push bar
Sub spindle chuck unclamp
M282
pressure #2
Sub spindle chuck clamp pressure
M283
#2
M300 Communication between head 1
-M399 and head 2.
M500 M
599
M1000
M1360
M10000
M14096
M2000
M2360
M20000M24096
B-6
2. T-Code function
No.
DATA
ADDRESS
OUTPUT
ADDRESS
T00
R812.2
T02
R103.3
T04
R53.6
T06
A7.4
T08
R51.7
T10
R1033.6
T12
R1032.5
T14
R816.7
T16
R816.6
10
T18
R813.7
11
T20
R826.2
12
T22
R826.3
13
T24
R826.4
14
T26
R826.5
DESCRIPTION
B-7
No.
DATA
ADDRESS
OUTPUT
ADDRESS
15
T28
R22.4
16
T30
R22.5
17
T32
R52.6
18
T34
R52.7
19
T36
R703.3
20
T38
R75.7
HYDRAULIC PROGRAMABLE
TAILSTOCK ADV. DELAY TIME.
21
T40
R76.7
HYDRAULIC PROGRAMABLE
TAILSTOCK BRAKE DELAY TIME.
22
T42
R160.5
23
T44
R160.6
24
T46
R845.2
25
T48
R845.6
DESCRIPTION
26
T50
R849.2
27
T52
R849.6
28
T54
R403.2
29
T56
TMR40
~TMR73
B-8
3. K-Code function
K00 7
6
DRLK
HYDSW CKPS
NAME&BIT
4
SPDRN
3
HYDST
2
PTCH
1
STCK
0
TLSTEP
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-9
K01
6
DH65
NAME&BIT
<
5
KEEP RELAY
4
3
SPNCKM SPNM
>
2
QLPS
LTCO
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-10
<
K02
7
MR
NAME&BIT
KEEP RELAY
4
3
>
2
BFM48
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-11
<
K03
NAME&BIT
KEEP RELAY
4
3
>
2
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
1: PNEUMATIC CHUCK.
0: STANDARD HYDRAULIC CHUCK.
BIT4
BIT 5
BIT 6
BIT 7
B-12
<
K04
KEEP RELAY
4
3
>
2
TLHPMA TLTND
NAME&BIT
BIT 0
BIT 1
DESCRIPTION
1: X-AXIS ZERO RETURN IS UNNECESSARY WHEN TOOL
SETTER IS USED.
0: X-AXIS ZERO RETURN IS NECESSARY WHEN TOOL
SETTER IS USED.
1: TOOL SETTER WITH AUTOMATIC.
0: TOOL SETTER WITH MANUAL.
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-13
<
K05
KEEP RELAY
4
3
>
2
PAT
NAME&BIT
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-14
<
K06
7
SPORC
NAME&BIT
BIT 0
KEEP RELAY
4
3
>
2
CSRD
DESCRIPTION
1: LOAD MONITOR WITH TOOL LIFE MANAGEMENT.
0: LOAD MONITOR WITHOUT TOOL LIFE MANAGEMENT .
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-15
<
K07
KEEP RELAY
4
3
>
2
LNKJG
NAME&BIT
BIT 0
0
TE
DESCRIPTION
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-16
<
K08
NAME&BIT
KEEP RELAY
4
3
>
2
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-17
<
K09
KEEP RELAY
4
3
>
2
NAME&BIT
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-18
<
K10
5
LNS
NAME&BIT
KEEP RELAY
4
3
MEG
>
2
IEMCA SBOTS
65WP
BF542
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-19
<
K11
KEEP RELAY
4
3
>
2
SRT
NAME&BIT
BIT 0
DESCRIPTION
1: SAUTER TURRET ORIENTATION MODE SELECT.
0: SAUTER TURRET STANDARD MODE SELECT.
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-20
<
K20
M159
M151
NAME&BIT
KEEP RELAY
4
3
BF
SPLD
>
2
PMCTS
IOLNK
STTS
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-21
<
K21
KEEP RELAY
4
3
>
2
STD
NAME&BIT
BIT 0
1
OPB
0
65WOP
DESCRIPTION
1:DH-65 B/F WITHOUT PLC CONTROL IS EQUIPPED.
0: DH-65 B/F WITHOUT PLC CONTROL IS NOT EQUIPPED.
BIT 1
BIT 2
1:STEADY IS EQUIPPED.
0: STEADY NOT EQUIPPED.
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-22
<
K22
E6
E5
E4
NAME&BIT
KEEP RELAY
4
3
E3
CF
>
2
CS
DESCRIPTION
BIT 0
1:SUB-SPINDLE IS EQUIPPED.
0: SUB-SPINDLE IS NOT EQUIPPED.
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-23
1
SVSP
<
K23
NAME&BIT
KEEP RELAY
4
3
>
2
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-24
<
K24
NAME&BIT
KEEP RELAY
4
3
>
2
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-25
<
K25
NAME&BIT
KEEP RELAY
4
3
>
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-26
<
K30
KEEP RELAY
4
3
>
2
PMCOF PMCPO
NAME&BIT
DESCRIPTION
BIT 0
BIT 1
BIT 2
BIT 3
BIT 4
BIT 5
BIT 6
BIT 7
B-27
<
COUNTER
>
No.
DATA
ADDRESS
C1
C2
DESCRIPTION
3
4
5
6
7
8
9
10
11
12
13
14
B-28
Appendix C
Contant
1.Parameter setting for RENISHAW HPMA automatic tool setter .......................... C-1
2.Changing the stylus protection system and adjusting the stylus on RENISHAW tool
setters ............................................................................................................. C-2
3.Tool setting cycles for lathes with Fanuc macro B controls ................................. C-3
3.Use Handle x 100 to move tool close to the stylus then use JOG to
touch the stylus
4.Please input Parameter tlm +X , tlm -X, tlm +Z, tlm Z before using
measurement with tool setter.
(Parameter P743,P744,P747,P748 for 0-TC;
Parameter P5015,P5016,P5017,P5018 for 0I-T and 18-TC)
NOTE:
Please make sure that all tools have been already pre-measured by JOG
mode to register the position value of each tool in X and Z axis of
Geometry screen.
If the tools position value is not registered, the machine will probably
make mistake or even damage the tool setter arm because the machine
does not know tool length correctly.
Programming manual
H-2000-6235-00-A
Cautions
ensure that all machine safety guards are in position and are correctly working
before commencement of operation;
ensure that any manual overrides are disabled before commencement of operation;
verify that the program steps invoked by this software are compatible with the
controller for which they are intended;
ensure that any moves which the machine will be instructed to make under program
control would not cause the machine to inflict damage upon itself or upon any
person in the vicinity;
be thoroughly familiar with the machine tool and its controller and know the location
of all emergency stop switches.
II
Table of contents
III
Table of contents
Before you begin
Measurement values used in this manual........................................................................... 1
About Renishaw software.................................................................................................... 2
Warnings, cautions and notes ............................................................................................. 2
Associated publications....................................................................................................... 2
Software and controllers covered by this manual ............................................................... 3
All Fanuc (macro B) T / Ti controls .............................................................................. 3
Renishaw customer services .............................................................................................. 4
Calling a Renishaw subsidiary office ........................................................................... 4
Chapter 1
Getting started
Chapter 2
Software installation
Chapter 3
Inputs
Inputs................................................................................................................................3-2
Tool nose vector Hh .........................................................................................................3-5
List of common variables used by Renishaw macro programs........................................3-6
List of common retained variables used by Renishaw macro programs .........................3-6
IV
Table of contents
Chapter 4
Calibration
Chapter 5
Chapter 6
Chapter 7
Macro alarms
Chapter 1 explains why it is important that you calibrate the probe before you start
using your Renishaw software.
Chapter 2 provides a brief explanation of each macro, then describes the common
variables that are used by Renishaw macro programs and the basic moves that are
performed by a probe.
Chapter 3 provides a complete list of the inputs that are required by some of the
macro cycles. It also describes their formats.
Chapter 4 describes how to use the manual tool setting macro (O9011) for
calibration.
Chapter 5 describes how to use the manual tool setting macro (O9011) for tool
setting and broken tool checking.
Chapter 6 describes how to use the auto tool setting macro (O9012) for tool setting
and broken tool checking.
Chapter 7 describes the macro alarm numbers or messages that may be displayed
on the screen of the machine tool controller when an error occurs. An explanation of
the meaning and possible cause of each alarm message is provided, together with
typical actions you must take to correct the fault causing the message.
Associated publications
When you are working with Renishaw software, you may find it useful to refer to the
following Renishaw publications:
Probe systems for machine tools Installation manual for machine tools (Renishaw Part
No. H-2000-6040).
Probe software for machine tools Data sheet (Renishaw Part No. H-2000-2289).
1 Kb
8 Kb
=
=
6.1
Macro 9011
Macro 9012 (optional)
3.7)
2.4)
The version of the product you are using (see the Equipment registration form).
The type of the product you are using (see the Equipment registration form).
A description of what happened and what you were doing when the problem
occurred.
For contact details of Renishaw companies, refer to the back cover of this manual.
Getting started
1-1
Chapter 1
Getting started
Before you start to use your software, take time to read this chapter. It will provide you
with a basic understanding of the importance of accurately calibrating the probe before
using it. Notes are provided which will help your understanding of the software.
1-2
Getting started
If it is suspected that the stylus has become distorted or that the probe has crashed.
If repeatability of relocation of the probe in its operating position is poor. In this case,
the probe may need to be re-calibrated each time it is selected.
Calibrating using the auto cycle macro O9012. (This is an alternative cycle, which
automatically positions the tool to the stylus, and then calls macro O9011 to
complete the calibration.)
When the probe system is assembled and mounted on the machine, the alignment must
be set and position of the stylus found before the tool setting cycles can be used.
Stylus alignment
The faces of the cube stylus are accurately manufactured to be square and parallel to
each other, so aligning just one face will automatically align all faces. Adjust the stylus
face height so that the faces are central about the spindle centre line.
Check that the stylus faces are aligned with the machine axes. It can be useful to use a
tool mounted in the turret as a stylus triggering device. The machine coordinates at the
trigger point can be compared to a second trigger point further along the stylus face.
Usually alignment to within 0.010 mm (0.0004 in) is recommended, but this depends on
the application.
Stylus position
When calibrating for the first time, it is recommended that you use the manual cycle macro
O9011. Calibration must be made with a master tool of known dimensions. It is not
necessary to have any idea of the stylus face coordinates because the macro runs
Getting started
1-3
incrementally from a start point and determines the calibration values based on the master
tool dimensions. It can sometimes be done using the turret faces, using zero (0) master
tool dimensions.
Software notes
Manual tool setting
The manual tool setting macro O9011 will suit users who want to position the tool close to
the stylus using jog mode before setting a tool. When using this method, it is not
necessary to load any approximate tool data in the tool offset registers prior to running a
cycle.
NOTE: All tool movements within the macro are restricted to the (Bb) box distance
(default 6 mm [0.236 in]) maximum movement, and the moves are fully protected in the
event of a collision.
1-4
Getting started
Software installation
2-1
Chapter 2
Software installation
Before running the software please read this chapter to ensure that software is suitably
configured.
This chapter contains the necessary software installation information to help you install
and customise the package to suit the controller and application.
2-2
Software installation
Control options
The following features are necessary to support the tool setting software.
Fanuc G31 standard or high speed skip must be installed and operational.
Sufficient part program memory must be available to install this package together
with working part programs (see memory requirements in Before you begin).
Macro number
Description
G124
O9011
G125
O9012
#509 =1
Calibration data
It is important that the base number is set to establish which variables are to be used by
the software. See Base number setting in this chapter if the default number shown below
is not suitable.
Software installation
2-3
X+ cube face
X- cube face
Z+ cube face
Z- cube face
X direction stylus size
Z direction stylus size
X+ cube face
X- cube face
Z+ cube face
Z- cube face
X direction stylus size
Z direction stylus size
Diameter/radial programming
The software can be configured for either diameter or radius programming.
Edit macros O9012 and O9012 as follows:
#17 = 2 (EDIT 2-DIA/1=RAD)
2-4
Software installation
For optimised operation, this value should be adjusted during installation to suit the
machine.
NOTE: If, when running a cycle, the machine axes do not move and no alarm is
generated, check that the relevant G-code for feed/minute has been selected.
Inputs
3-1
Chapter 3
Inputs
This chapter describes all possible inputs used in the software with an explanation of the
tool nose vectors to control the tool path movements and a list of macro variables used.
3-2
Inputs
Inputs
This is a description of all possible inputs used in the software for general guidance.
Specific inputs for each macro and application are described under the relevant macro
details.
NOTES: Use of the decimal point is recommended with all input data. However, on some
machines it may be possible to omit this.
Entering input data on the cycle call line will override any other default conditions.
Bb
b=
The box distance that the tool will move within, once moved to the start
position in front of the stylus.
Default = 6 mm (0.236 in)
Cc
c=
The cutter diameter offset. This may be used to set a cutter/drill to its
centreline position by touching the stylus on one edge.
Default = 0
NOTE: Cc can also be used during a calibration cycle and only with
vectors H5, H6, H7 and H8.
Hh
h=
The tool nose vector. This is used to select the correct tool path
movements and measuring direction for the type of tool.
NOTE: The tool nose vector will be taken from the tool offset page under
the T address by default if Hh is not used.
Tt
t=
Tool offset number. This selects the tool offset number to be set. It
defaults to the current active tool offset number, or the tool number if the
offset is not active.
NOTES: The tool offset will be the active tool offset, or will default to the
tool station if the tool offset is not active by default or if Tt is not used.
The input is also used to define the tool offset where the master tool
dimensions are stored when calibrating the probe stylus.
K1.
1.=
Inputs
K2.
2.=
3-3
This is used to indicate a probe stylus calibration cycle. As for K1., but the
opposite stylus face will also be set. This method will allow all faces of the
stylus to be calibrated by touching on any two adjacent faces.
(Experience stylus dimensions for the stylus size must be entered in #530
and #531 before this feature can be used.)
When K2. is used, the opposite stylus faces may be found by calculation.
Example:
X diameter/radial width
Z axis width
NOTE: When Kk is not used, tool setting is assumed. Do not mix K1. and K2. inputs on
the same call line.
Mm
m=
Rr
r=
Ww
Uu
Uu
Ww
Figure 3.1
Uu
u=
Ww
w=
3-4
Inputs
* Xx
x=
*Zz
z=
NOTE: * These values can be used to make small compensations to the setting results.
In applications where the nominal tool lengths are allowed for by the machining program,
zero nominal values must be set in the tool registers. This is achieved by entering the tool
geometry amounts in the Xx and Zz values.
Inputs
3-5
Tools must be positioned to one of the positions shown according to the type of tool
when using the manual cycle macro O9011.
H8
H3
Bb
H5
H7
REAR
TURRET
MACHINE
X+
H1
H6
H2
Z+
H1
H6
H2
X+
FRONT
TURRET
MACHINE
H7
H5
H4
H8
Figure 3.2
H3
3-6
Inputs
None are used by the standard Renishaw macro programs O9011 and
O9012.
#523
#524
#525
#530
#531
#509
Calibration
4-1
Chapter 4
Calibration
This chapter describes how to calibrate the probe stylus on the machine before using the
tool setting cycles.
4-2
Calibration
Description
The master tool must be selected in MDI mode and positioned in either jog or handwheel
mode to a suitable start position. The cycle will move the master tool from the start
position to the stylus face(s) as specified by the tool nose vector Hh and then retract back
to the start position. Calibration values are found for the stylus.
Application
(a)
(b)
The master tool offset data must be entered in the tool offset register page before
running the calibration.
(c)
The master tool and offset number should be selected using MDI mode, so that the
screen information about the current tool is updated.
(d)
Prepare a simple program to call the cycle using either the G124 or G65P9011
command and enter the K1. or K2. Input to indicate that a calibration cycle is
required. Enter other optional inputs (see Inputs).
(e)
Position the tool at a suitable start point in jog or handwheel mode within the Bb box
distance.
(f)
Calibration
4-3
Format
[ ] denote optional inputs
G124 Kk [Bb Cc Hh Tt]
Alternative:
G65 P9011 Kk [Bb Cc Hh Tt]
Example: G124K1.B10.C10.H3.T2.
Inputs
Kk Bb Cc Hh Tt (see Chapter 3, Inputs for details).
Outputs
Calibration values for each stylus face can be found. The values are distances to the
stylus faces in machine coordinates.
X+
#531
#522
Stylus
#530
#523
Z+
#525
#524
Figure 4.1
NOTE: If the machine is set for diameter programming, then the #530 variable must be
diametral.
4-4
Calibration
Example
Master
Tool
H3
Figure 4.2
When the program is run, the stylus calibration values are stored in #522 and #524 (+X,
+Z faces). To set the opposite faces of cube #523 and #525 (-X, -Z faces), a new vector
Hh must be used in with a different style master tool.
Alternatively:
The K2. input can be used to calibrate all four stylus faces (see the Kk input description in
Chapter 3, Inputs).
NOTE: Position the master tool within the box distance Bb from the face(s) of the stylus
before running the cycle.
0500
Calibration program.
G124K1.T2. H3.
M30
End program
5-1
Chapter 5
This chapter describes how to use the manual tool setting cycles. The probe must have
been calibrated using the calibration cycle (see Chapter 4, Calibration) before using the
macros described here.
5-2
Description
The tool must be selected in MDI mode and positioned in either jog or handwheel mode to
a suitable start position. The cycle will move the master tool from a start position to the
stylus faces as specified by the tool nose vector Hh and retract back to the start position.
The tool offset values will be found and stored in the tool offset registers.
Application
(a)
(b)
It is NOT necessary to enter approximate tool offset values, unless using the auto
tool setting macro O9012.
(c)
The tool and offset should be selected using MDI mode, so that the screen
information about the current tool is updated.
(d)
Enter the optional inputs as listed below in Inputs. Alternatively, the cycle can be
run without any inputs, provided the tool/offset is selected in MDI mode, and the tool
nose vector number is entered on the tool offset page under the T address.
NOTE: Entering input data on the cycle call line will override any other default
conditions.
(e)
Position the tool at a suitable start point in either jog or handwheel mode within the
Bb box distance (see the tool nose vector Hh and Bb input description in Chapter 3,
Inputs).
(f)
5-3
Format
[ ] denote optional inputs
G124 [Bb Cc Hh Tt Mm Xx Zz Uu Ww]
Alternative:
G65 P9011 [Bb Cc Hh Tt Mm Xx Zz Uu Ww]
Example: G124B10.C10.H3.T2.M.1X100.Z70.U3.W3
Inputs
Bb Cc Hh Tt Mm Xx Zz Uu Ww
(See input descriptions in Chapter 3, Inputs).
Outputs
Set a tool
The tool offset register will be set. On machines with both geometry/wear registers, the
wear compensations will be zeroed (0) and the geometry registers will be updated.
Broken tool check
When the Mm input for broken tool checking is used, an alarm is generated and the
machine will stop if the tool is out of tolerance.
5-4
NOTE: Before running the cycle, position the tool within the box distance
from each face of the stylus.
Figure 5.1
Setting a
turning tool
0501
G124T1. H3.
M30
End program
NOTE: Before running the cycle, position the tool within the box distance
from the face of the stylus.
Figure 5.2
Setting a cutter
to a centre line
0502
G124T3. H8.C10.
M30
End program
5-5
NOTE: Before running the cycle, position the tool within the box distance
from the face of the stylus.
Figure 5.3
Setting a cutter
for length
0503
G124T3. H7.
M30
End program
H1
Figure 5.4
Setting a boring tool
NOTE: Before running the cycle, position the tool within the box distance
from each face of the stylus.
0504
G124T4. H1.
M30
End program
5-6
H3
When the following program is run, the X and Z tool offset registers of tool 2
are checked for a broken tool condition.
0505
.
.
Figure 5.5
Broken tool checking
G10P0X-12.1Z-160.2
M??
G0X6.Z3.
G124T5. H3.M.1
G28U0W0
.
.
Continue with next tool
.
NOTE: See the optional auto cycle macro O9012 in Chapter 6, Auto tool
setting for a simpler programming method.
5-7
CAUTIONS: When using vector H1., H5., or H6., the tool must first be moved
clear of the cube before returning home.
Prior to setting tools, approximate tool-offset values must be entered in the tooloffset registers.
O506(CALIBRATION/TOOL SETTING)
G28U0W0
G10P0X-12.1Z-160.2
(OPTIONAL CALIBRATION)
/T0303(MASTER TOOL)
/G0X6.
/Z3.
/G124H3.K1.
Calibrate probe
/G28U0W0
/M00
(TOOL SETTING)
T0101(20MM DRILL)
G0X-10.
Z3.
G124H7.
G0X26.
Z-15.
G124H8.C20.
G28U0W0
T0303(TURN TOOL)
G0X6.Z3.
G124H3.
G28U0W0
T0414(GROOVING TOOL T4 OFFSET 14)
G0Z-13.
10 mm stylus
5-8
X6.
G124H4.
Set tool in X Z
G28U0W0
M30
NOTE: See the auto cycle macro O9012 in Chapter 6, Auto tool setting for a simplified
programming method.
6-1
Chapter 6
This chapter describes how to use the optional auto tool setting cycle. The probe must
have been calibrated using the calibration cycle (see Chapter 4, Calibration) before
using the macro described here
6-2
CAUTION: Before running this cycle, the probe stylus must have been calibrated
and nominal data entered in the tool offset register.
Description
This macro can optionally be installed to supplement the O9011 macro. The cycle will
automatically move the tool to the stylus start point where the O9011 macro is called. The
cycle then returns to the original start point.
Application
Load nominal tool data into the tool offset registers before running the cycle. Program the
tool setting arm down and select the tool and tool offset using the T word. Run the cycle
to measure the tool in either or both of the X, Z directions depending on the vector used.
Format
[ ] denote optional inputs
G125 [Bb Cc Hh Kk Mm Xx Zz Rr Uu Ww]
Alternative:
G65 P9012 [Bb Cc Hh Kk Mm Xx Zz Rr Uu Ww]
Example: G125B10.C10.H3.K1.M.1X100.Z70.R30.U3.W3.
Inputs
CAUTION: The H5 vector is for turning type tools only because the approach
path is around the X+ side of the stylus. Use the H-5 vector for boring tools the
approach is around the X-side of the stylus.
Bb Cc Hh Kk Mm Xx Zz Rr Uu Ww
(See descriptions in Chapter 3, Inputs).
(LOAD DATA)
G10P10001X76.Z85.Q2
G10P1X0Z0
(LOAD DATA)
G10P10003X95.Z38.Q8
G10P3X0Z0
(*)
G28U0
G28W0
M??
(*)
T0101(REAR BORE TOOL H1)
G125H1W1.
T0202 (BORE TOOL H2)
G125H2U2.W1.
T0303 (TURN TOOL H3)
G125H3.
T0404 (REAR TURN TOOL H4)
G125H4U-2.
T0505(REAR TURN TOOL H5)
G125H5.
T0606 (GROOVE BORE H6)
G125H6.
6-3
6-4
M30
6-5
Figure 6.1
Broken tool
checking
When the following program is run, the X and Z tool offset registers of tool 2
are checked for a broken tool condition.
0505
.
.
Complete the machining sequence with the current tool
.
(BROKEN TOOL CHECK)
G28U0W0
M??
G125H3.M.1
G28U0W0
.
.
Continue with next tool
.
6-6
7-1
Chapter 7
7-2
Clearing an error
When operator messages are generated, the cycle Start button can be pressed to
continue the program.
When macro alarm messages are generated, the Reset button must be pressed to clear
the error. This may cause the tool offset vector to be cancelled (dependent on parameter
setting). The resultant X, Z axis move following this condition would be dangerous should
the operator decide to continue the program. Normal safe restart working practices must
prevail, but as a precaution it is recommended that the parameter should be set to retain
the tool offset vector (see recommended setting parameters).
Error messages
Illegal tool offset number T
ALARM NO
MESSAGE
PROGRAM
81
(581)
ILLEGAL TOOL
OFFSET NUMBER T
Tool offset T0' is not allowed. If using the T input on the cycle call line check the value is
not zero (0), otherwise this alarm may occur if no tool or tool offset was selected in the
MDI mode before running the cycle.
CAUTION: Make sure the turret is safely away from the probe stylus before
indexing the turret.
Edit the program input value or select the tool in MDI before running the cycle again.
Macro alarm this can only be cleared by resetting the control.
MESSAGE
PROGRAM
82
(582)
ILLEGAL TOOL
NOSE VECTOR H
Only vector numbers 1 to 8 are allowed. Check and correct the H input if used, or the T
address on the tool offset page.
Macro alarm this can only be cleared by resetting the control.
7-3
MESSAGE
PROGRAM
83
(583)
INPUTS C AND
H1-H4 MIXED
It is not possible to set a cutter using the C input with a corner vector H1 H4 specified.
Edit the program.
Macro alarm this can only be cleared by resetting the control.
Format error
ALARM NO
MESSAGE
PROGRAM
91
(591)
FORMAT ERROR
The alarm is generated either when an input has been omitted from the command line or
when two inputs have been mixed.
Edit the program and restart from the beginning.
Refer to the macro programming section for the relevant inputs required.
Macro alarm this can only be cleared by resetting the control.
Probe open
ALARM NO
MESSAGE
PROGRAM
92
(592)
PROBE OPEN
The PROBE OPEN alarm is raised when the stylus is in contact with the surface before
the skip move begins.
Return to reference and edit the part program.
If the stylus remains in an open (triggered) condition during any part of the cycle, the
PROBE OPEN alarm is raised. Check that the stylus is not in contact with the surface or
check to see whether vibration is causing it to unseat during a move.
The alarm may also be raised at the start of a macro if the probe system is in error, (a
probe open signal condition is forced by the Renishaw interface).
7-4
Check to make sure that the probe system is switched on in time before a skip move
begins. A program dwell may be required.
Check that the status LED on the interface is changing state when the stylus is deflected.
If this does not happen, contact the supplier of the system for assistance.
Macro alarm this can only be cleared by resetting the control.
Probe fail
ALARM NO
MESSAGE
PROGRAM
93
(593)
PROBE FAIL
The alarm PROBE FAIL is raised when the expected surface is not contacted within the
overtravel of the probe.
Check the program and edit where necessary.
Check that the probe stylus has been calibrated on the machine.
Check that the status LED on the interface is changing state when the stylus is deflected.
If this does not happen, contact the supplier of the system for assistance.
Macro alarm this can only be cleared by resetting the control.
Broken tool
ALARM NO
MESSAGE
PROGRAM
99
(599)
BROKEN TOOL
This alarm is generated when the tool length error exceeds the programmed Mm
tolerance. When the value is programmed it must be half the total tolerance (see
examples).
Macro alarm this can only be cleared by resetting the control.
NOTE: Pressing Reset may result in the tool length offset being lost. Start the program
from a safe start position.
After changing the stylus protection system, the stylus must be adjusted in both the direction
of rotation and height (see drawings on page 2).
Height adjustment:
1. Loosen the socket set screw on the stylus.
2. Mount a standard OD cutting tool onto turret.
3. Move the tool tip to the positive direction contact face of the stylus in the Z-axis direction
and stop immediately before contact.
4. Move the stylus up and down so that the tool tip is at the center of the contact face of the
stylus.
5. Tighten the socket screw.
Angular adjustment:
3. Move the turret in the Z-axis direction with the handle feed operation to check if the stylus
is set parallel to the Z-axis. (The allowable maximum inclination is .003mm over the entire
length of the stylus face.)
4. If the stylus is not accurately set in parallel to the Z-axis, turn the stylus so that it is in
parallel to the Z-axis.
a.
b.
c.
d.
5. After the completion of adjustments, finally tighten the fine adjustment socket set screws.
Probe
In FANUC 18T:
XP =PARAM 5015 (OT-C: PARAM 743)
(The distance starting from the lower side face of the stylus to the spindle center)
XM=PARAM 5016 (OT-C: PARAM 744)
(The distance starting from the topside face of the stylus to the spindle center)
ZP =PARAM 5017 (OT-C: PARAM 745)
(The distance from the left side face of the stylus to the machines reference point)
ZM=PARAM 5018 (OT-C: PARAM 746)
(The distance from the right side face of the stylus to the machines reference point)
Measuring method:
A. When using the Renishaw tool setter, use JOG mode to move the tool tip to and
away from the tool setter stylus.
B. The same feed rate should be used when touching the tool tips to the stylus
(79mm/min is recommended). Using different feed rates will affect accuracy.
1. Clamp a suitable work piece onto the chuck. (Approx. 80mm OD X 30mm ID)
2. Fit an OD finishing tool on turret.
3. Start up spindle to suitable speed. (Approx. 800rpm)
4. Using JOG mode, select 79mm/min feed rate and remove approx. 0.2mm material from
the surface of work piece. When the tool is in position to perform the cut, reset U value to 0.
(U origin)
5. After the cut, move the tool to an area with no interference to the tool setter arm and move
to the U 0. position.
6. Use a micrometer to measure work piece OD. Example: 79.535mm.
7. Move X axis down from U 0. to U 79.535, then reset U to 0. again. (U origin)
8. Install the tool setter arm.
9. Move tool tip (use Handle X 100 mode) to approx. 2mm from topside face of the stylus.
10. Select JOG mode, and set feed rate to 79mm/min; move tool tip till it touches the stylus.
After touching the stylus, the LED light will turn red and the tool tip will stop automatically.
11. Record the current U value, then move tool away from tool setter by JOG. Input the
recorded value into parameter P5016. (Input value without decimal)
12. Use a 1 square tool and place it facing the opposite of the normal direction. (Use the
back surface of the tool as an extension of the turret face)
13. Use steps in 9 and 10 to touch the right side face of the stylus. Record the current Z-axis
machine value, and move tool surface away from the stylus by using JOG mode. Input the
recorded Z-axis value into parameter P5018.
14. After inputting parameters P5016 and P5018, reference both X and Z axes to their
reference points. Then follow steps 9 and 10 to touch the topside face (TLM X-) and right
side face (TLM Z-). Move tool away from the stylus by JOG mode. (Warning: Before
removing tool setter arm, do not touch stylus with hand or tool after completing
above procedure. If stylus is moved in any way, the input position may be changed
and may result in crash of machine.)
15. After completing tool off-set, turn the spindle at suitable RPM and use HANDLE X 100
mode to move tool tip close to right end face of work piece. Use HANDLE X 10 mode to
slowly contact the tool tip to the right end face of the work piece, and then stop tool
movement just after contact. Turn WORK SHIFT switch ON, then press WORK SHIFT
button. The Z-axis offset value will automatically be inputted, turn WORK SHIFT switch
OFF.
16. Write a program to test correct functioning and tool offset of the tool setter:
Assume work piece dimension is 80mm in diameter and 30mm in cutting length.
Using tool station # 2 and cutting at 0.1mm per pass.
Program:(Metric)
T202;
G97S1000M3;
GOX80.Z5.;
G1 Z-30. F0.12;
G0 X100. Z100.;
T200;
M5;
M30;
%
17. Use step 16 to cut work piece.
18. After cutting work piece measure OD to determine if result is according to the program
value.
If not, modify parameters according to the following rules:
[If Cutting result > Programmed value, add difference in value to P5016]
[If Cutting result < Programmed value, subtract difference in value to P5016]
Repeat steps 14, 17, and 18 until cutting result is the same as the programmed value.
19. Measuring value of P5015 (TLM X+):
Mount a standard ID tool onto turret suitable for the work piece. Use suitable RPM on the
spindle, and follow steps 4, 5, 6, 7 and 8.
20. Move tool tip to approx. 2mm away from lower side face of stylus by using HANDLE X
100 mode.
21. Select JOG mode, and set feed rate to 79mm/min. Move tool tip to contact lower side
face of stylus, the LED light will turn red and tool movement will stop automatically.
Record the current U value and move tool tip away from stylus by JOG mode. Input the
recorded U value into parameter P 5015.
22. After inputting parameter P5015, reference X-axis to reference point, and touch the lower
side face and right side face of the stylus again using JOG mode. Tool offset will
automatically be inputted. Move tool away from tool setter and remove tool setter arm.
23. Write a program to test correct functioning and tool offset of the tool setter:
Assume work piece dimension has an ID of 30mm in diameter and 20mm in cutting length.
Using tool station # 5 and cutting at 0.1mm per pass.
Program: (Metric)
G97 S1200 M3;
T505;
G0 X30. Z5.;
G1 Z-20. F0.12;
G0 U-0.5 Z5.;
X100. Z100.;
M5;
T500;
M30;
%
24. Cut work piece according to step 23.
25. After cutting work piece measure ID to determine if result is according to the program
value.
If not, modify parameters according to the following rules:
[If Cutting result > Programmed value, add difference in value to P5015]
[If Cutting result < Programmed value, subtract difference in value to P5015]
Repeat steps 22, 24, and 25 until cutting result is the same as the programmed value.