You are on page 1of 113

Appendix A

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

CHECKING POINT &


TROUBLESHOOTING
T CODE COMMAND .> D50
T-CODE ERROR
T code command must be under than
(A0.0)
D50(D50=amount of tool +1 )
OVER LOAD ALARM Check Hyd/Coolant MCC overload
(A0.1)
switch
Check the value of hyd. Pressure is
PRESSURE ERROR
35kg/mm2 or the pressure switch is
(A0.2)
normal.
Contrast to the alarm No. on the
SPINDLE ALARM
amplifier LED display for alarm
(A0.3)
reason.
EMERGENCY STOP
Emergency stop signal (X8.4=1)
(A0.4)
NO PRESSURE
CHECK SIGNAL
Check Pressure switch signal
(A0.5)
SET K4.2=0 (A0.6)
Set K4.2=0 after Install chip conveyor
SAUTER TURRET
Sauter turret alarm
ALARM (A0.7)
DESCRIPTION

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

CHECKING POINT &


TROUBLESHOOTING
MANUAL ERROR Auto mode or manual mode select
(A2.0)
error for operation.
Check turret is clamped or tool
INDEX NO READY
number index is correct and tool
(A2.1)
select button is to ON.
NO ZERO RETURN Check servo axis at home position
(A2.2)
and home position light will shine
Safe-door is not closed indeed.
DOOR INTERLOCK
(*X4.1(**X5.4=1)when safe-door is
(A2.3)
closed)
Check tool setter arm in up position
TOOL SETTER
and signal *X3.6=0(**X7.6=0),
(A2.4)
*X3.5=0(**X7.5=1).
FEED HOLD
Feed hold push button signal is off.
ERROR (A2.5)
Chuck is not closed.
Check signal *X0.1=1(**X8.0=1) when
SPINDLE CHUCK
chuck is inside closed.
NO CLOSE (A2.6)
Check signal *X0.2=1(**X8.1=1) when
chuck is outside closed.
TOOL SETTER
To operate Renishaw tool setter just
USE JOG MODE
only in JOG mode.
(A2.7)
DESCRIPTION

CHECKING POINT &


TROUBLESHOOTING
SPINDLE STOP
Spindle stop push button signal was
OPEN (A3.0)
off.
LUB ALARM (A3.1) Lubrication oil empty.
MACHINE LOCK
Check if machine lock switch on.
ACTIVE (A3.2)
BATTERY ALARM
NCs battery low alarm.
(A3.3)
COUNTER
Arrival at the counter of setting parts.
ARRIVAL (A3.4)
Reset the counter.
OPEN EDIT KEY
Turn the edit key to off position.
(A3.5)
PARTS CATCHER Return the parts catcher and check
ERROR (A3.6)
signal *X1.7=1(**X5.7=1).
SPINDLE RUN
Spindle in run status. Command is
LOCK (A3.7)
lock.
DESCRIPTION

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)

CHECKING POINT &


TROUBLESHOOTING
Signal *X3.0=0(**X7.0=0) when turret is
in unclamp status. Check turret
proximity switch position.
To force turret unclamp and No.1 tool
search by jog.

Chuck is not closed.


Check signal *X0.1=1(**X8.0=1)when
SPINDLE CHUCK
chuck is inside closed.
INTERLOCK (A4.3)
Check signal *X0.2=1(**X8.1=1)when
chuck is outside closed.
B/F ALARM (A4.4) Check bar-feeder alarm state.
K0.0 SET ERROR K0.0 must be set to 1 when tool setter is
(A4.5)
used.
AUTO MODE
Auto mode or manual mode select error
SELECT ERROR
for operation.
(A4.6)
K0.2 NOT SET TO K0.2 must be set to 1 when tool setter is
1 (A4.7)
used.

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

CHECKING POINT &


TROUBLESHOOTING
Check quill sensor *X0.3
QUILL ALARM (A5.0)
(**X8.2) *X0.4 (**X8.3)
PLEASE MOVE X.Z AXIS Move X & Z axis by wheel
AWAY FROM
handle when X or Z axis is in
REFERENCE POINT BY home position at the machine
HANDLE MODE (A5.1)
lock status.
STOP!!! WARNING!!!
This alarm message displays at
STOP!!! DOOR
maintenance status.
INTERLOCK
DEACTIVATED!OPERATR
MACHINE IN THIS MODE!
THIS MODE IS FOR
CERTIFIED GOODWAY
SERVICE PERSONAL
USE ONLY !FAILURE TO
COMPLY WITH THIS
WARNING MAY PESULT
IN SERIOUS DANGER!
(A5.2)
Ckeck the tool life value at tool
TOOL LIFE ALARM (A5.3)
life table.
T CODE CAN NOT BE
WRITTEN IN THE SAME
BLOCK WITH M30 (A5.4)
Check bar feeder status.
B/F ALARM (A5.5)
B/F SIGNAL NO READY Check bar feeder status.
(A5.6)
ADD M64 AT FIST
BLOCK OF THE
Check if the auto door close
PROGRAM WHEN
complete and M64 code at first
AUTOMATIC DOOR IS
block of the program.
MOUNTED (A5.7)
DESCRIPTION

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

CHECKING POINT &


TROUBLESHOOTING
Check if spindle load setting values
LOAD ALARM (A6.0) too small.
Check if tool was worn.
TAILSTOCK +OT
Please push reset key and move
(A6.1)
nagetive direction by wheel handle.
TAILSTOCK -OT
Please push reset key and move
(A6.2)
positive direction by wheel handle.
Z AXIS NOT IN
Check if the pin position is correct
CLAMP POINT
with the pin hold on z-axis.
(A6.3)
TAILSTOCK PIN
Check if the pin had interfered with
BACK OVERTIME
pin hold and couldnt to draw out.
(A6.4)
This alarm message displays when
need to set the nagetive direction
TAILSTOCK OT
max travel of PMC tailstock.
SETTING ON (A6.5)
Please exit this mode when setting
complete.
X AXIS NOT IN
Check if x axis is at home position.
ZERO POINT (A6.6)
QUILL OUT LOCK
Pin and quill cant be at stretch out
(A6.7)
position at the same time.
DESCRIPTION

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

CHECKING POINT &


TROUBLESHOOTING
C AXIS MODE CAN Please cancel (turn off) the
NOT RUN SPINDLE CF-axis mode before spindle
(A7.0)
turnning.
TAILSTOCK QUILL Please retract the quill before
OUT LOCK (A7.1)
using the tailstock driven pin.
TAILSTOCK PIN
Please unclamp the tailstock
OUT LOCK (A7.2)
driven pin before using the quill.
MILLING
Please check if the live tooling
INTERLOCK (A7.3) is rotating.
(WARNING):THE
MACHINE IS
MANUFACTURE
FOR
WELL-TRAINED
OPERATOR. TO
AVOID IN-JURY, DO
NOT OPERATE THE
MACHINE UNLESS
YOU HAD
UNDERSTAND ALL
INFORMATIONS IN
THE
MANUALS.BEING
AWARE OF THIS
WARNING
PRESS[RESET]KEY
Check if the mode lock
MODE LOCK (A7.5)
keyswitch is released.
LUB PRESSURE
Please check if the pressure of
LOW (A7.6)
LUB. System is too low.
STEADY
Please check if the pressure of
PRESSURE LOW
steady-rest is too low.
(A7.7)

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

CHECKING POINT &


TROUBLESHOOTING
Check if the distance between
steady rest and tailstock is to
TAILSTOCK OVER
short. Please press RESET to
TRAVEL (A8.0)
cancel the alarm then move the
tailstock to positive direction.
The hydraulic pump is not
HYD.MOTOR NO
active. Please press hyd. ST
START (A8.1)
button to active the hydraulic
system.
STEADY PIN OUT
Check if the pin of steady rest
LOCK (A8.2)
unclamp complete.
Inexact operation (for example:
PMC AXIS PIN OUT cycle start, quill out,) after
LOCK (A8.3)
tailstock pin out, it may cause
machine damage.
MUST RUN QUILL
Please press quill ADV. Button.
ADV.AFTER RUN
QUILL JOG (A8.4)
Check if the steady is too close
to the tailstock press RESET
STEADY
key to cancel the alarm then
OVERTRAVEL (A8.5)
move the steady rest to
nagetive direction.
Check if the air pressure is too
low.
AIR PRESSURE
Check the air pressure switch.
LOW (A8.6)
Check if the air pressure signal
*X1.5=0(**X5.5=0).
Check if spindle brake is ON.
SPINDLE BRAKE
Please release spindle brake
ON (A8.7)
before run spindle.
DESCRIPTION

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

CHECKING POINT &


TROUBLESHOOTING
Live tool rotating speed is over
MILLING S CODE
limit, please reduce live tool
ERROR (A9.0)
rotating speed.
Check the turret clamp sensor
TURRET CLAMP
signal *X3.0(**X7 0).
ERROR (A9.1)
Check if turret was combined
completely.
PARTS CATCHER
Parts catcher out or tool setter
OUT/TOOL SETTER arm down on MDI operation
DOWN PLEASE
mode must run in single block
OPERATE ON
mode, please setting it.
SINGAL BLOCK
MODE (A9.2)
When spindle synchronous is
SPINDLE
running,it can not change rotate
SYNCHRONOUS
direction, please cancel spindle
INTERLOCK (A9.3)
synchronous command at first.
Tool setter can not use with part
catcher at the same time ,
TOOL SET DOWN
please to turn back the tool
(A9.4)
setter before using the part
catcher.
Part catcher can not use with
tool setter at the same time,
PARTS CATCHER
please to turn back the parts
OUT (A9.5)
catcher before using the tool
setter.
"MILLING SERVO
OFF".PLEASE PUSH
RESET FOR
MILLING SERVO ON
(A9.6)
Can not use the bar pusher
SUB SPINDLE
when sub spindle chuck clamp,
CHUCK
please to unclamp the sub
CLOSE(A9.7)
spindle chuck at first.
DESCRIPTION

A-8

ADDRESS

ALARM
NUMBER

DESCRIPTION

A10.0

2064

SUB SPINDLE
CHUCK OPEN
(A10.0)

A10.1

2065

SUB SPINDLE RUN


LOCK (A10.1)

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

CHECKING POINT &


TROUBLESHOOTING
Sub spindle can not running
when chuck was unclamped ,
please to clamp the sub spindle
chuck at first.
Sub spindle running and
locking , please stop sub
spindle before running others.
Sub spindle chuck interlock,
please check if the chuck
sensor is normal.
When sub spindle running on c
axis mode, others sub spindle
function can not run, please to
turn off the c axis mode first.
When sub spindle brake was
clamped, other sub spindle
function can not run, please to
release the brake at first.
When spindle synchronous is
running the any other function
about spindle can not run.
Please stop spindle
synchronous running.
When spindle synchronous is
running the chuck of spindle
and sub spindle can not
unclamp at the same time.
The gear position of speed
change did not confirm, please
check if the sensor is normal.

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

CHECKING POINT &


TROUBLESHOOTING
Check air pressure value of
LUB AIR PRESSURE lubricator.
ERROR (A11.0)
Check signal *X10.4(**X24.4)
and *X10.6(**X24.6).
*X0.6=1(**X8.6=1)
Tailstock connect pin is at out
PLEASE SETTING
position, please to turn back the
TAILSTOCK MODE connect pin.
(A11.1)
TAILSTOCK PIN
Tailstock connect pin is acting,
OUT ALARM (A11.2) please set to the tailstock
mode.
PLEASE TURN ON Sub-SP. coolant using(k24.4=1)
COOLANT (A11.3)
,must turn coolant ON.
TAILSTOCK BRAKE
CLAMP, PLEASE
CHECK TAILSTOCK
BRAKE RELEASED
ON NOT!(A11.4)
COOLANT LEVEL
LOW ALARM (A11.5)
CHUCK PRESSURE
ERROR (A11.6)
AIR CHUCK
SENSOR ERROR
(A11.7)

*For FANUC 0i-T series controller signals


**For FANUC 18i-T series controller signals

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

CHECKING POINT &


TROUBLESHOOTING

SP TOOL LIFE VALUE


OVER (A12.0)
SP TOOL BREAK VALUE
OVER (A12.1)
X-AXIS TOOL LIFE
VALUE OVER (A12.2)
X-AXIS TOOL BREAK
VALUE OVER (A12.3)
Z-AXIS TOOL LIFE VALUE
OVER (A12.4)
Z-AXIS TOOL BREAK
VALUE OVER (A12.5)
SP2 TOOL LIFE VALUE
OVER (A12.6)
SP2 TOOL BREAK VALUE
OVER (A12.7)
DESCRIPTION
SP3 TOOL LIFE VALUE
OVER (A13.0)
SP3 TOOL BREAK VALUE
OVER (A13.1)
SP1 TOOL MISSING
VALUE ARRIVAL (A13.2)
SP2 TOOL MISSING
VALUE ARRIVAL (A13.3)
SP3 TOOL MISSING
VALUE ARRIVAL (A13.4)
X-AXIS TOOL MISSING
VALUE ARRIVAL (A13.5)
Z-AXIS TOOL MISSING
VALUE ARRIVAL (A13.6)
C-AXIS TOOL MISSING
VALUE ARRIVAL (A13.7)

A-11

CHECKING POINT &


TROUBLESHOOTING

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

CHECKING POINT &


TROUBLESHOOTING

Y-AXIS TOOL MISSING


VALUE ARRIVAL
(A14.0)
C-AXIS TOOL LIFE
VALUE OVER (A14.1)
C-AXIS TOOL BREAK
VALUE OVER (A14.2)
Y-AXIS TOOL LIFE
VALUE OVER (A14.3)
Y-AXIS TOOL BREAK
VALUE OVER (A14.4)
PLEASE SELECT
QUILL DIRECTION BY
PUSH BUTTON ON
MANUAL MODE
AFTER HYD.MOTOR
STARTED (A14.5)
LOADING WITHOUT MATERIAL
END OF WORKPICE
LOADING OR UNLOADING IS
M48 INTERRUPTION
BREAK OFF
DESCRIPTION

CHECKING POINT &


TROUBLESHOOTING
LOADING OR UNLOADING IS
LOADING TIME OVER
OVERTIME

A15.1
A15.2
A15.3
A15.4
A15.5
A15.6
A15.7

*For FANUC 0i-T series controller signals


**For FANUC 18i-T series controller signals

A-12

2. Turret resetting procedure


I. Resetting turret reference position:
The turret indexing operation might be interrupted by following:
(1) Press EMERGENCY STOP button.
(2) Power OFF.
(3) Collision.
If the turret indexing operation is interrupted, it may cause the turret
index incorrect or incomplete. The turret index button light becomes
OFF and the turret is not ready for indexing. It is necessary to
perform Resetting turret reference position procedure as following:
1. Set K7.5 to 1 Switch turret into JOG modeas following steps

Fig.1

Fig.2

A-13

Fig.3.

Set
K7#5=1

Fig.4.

A-14

2. Set the MODE switch to HANDLE


posititon.

3. Press FEED HOLD and SPINDLE


STOP at the same time. Then turret is
unclamp.

4. Press +X buttonCWor X button


CCW to rotate the turret to TOOL NO. 1.

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

6.Set K7.5 to 0return to normal mode.


The turret reference position is set, please perform the Tool No
Resetting procedure as following:

7. Press FEED HOLD and SP. STOP button at the same time. Then
turret head is unclamping.

8. Set the MODE switch to ZERO RETURN position.

9. Press FEEDHOLD and +X button. (To set the current tool as tool
no.1)

A-17

10. Press RESET to clamp the turret.

11. Restart the machine.

A-18

II. Tool number resetting


If the tool no. is incorrect, it may cause collision between tool and
workpiece or chuck. It is necessary to perform tool number
resetting procedure as following:
1. Set the MODE to HANDLE position.

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.)

4. Set the MODE switch to ZRN position.

A-19

5. Select TOOL NO.1.

6. Press INDEXING button. Then turret rotates to TOOL NO.1.

7. Press RESET key to clamp the turret.

8. The tool no. resetting procedure is completed.

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

1. G-Code and M-Code function


1-1G-Code function
G code system(Note 7)
Group
A

G00

G00

G00

G01

G01

G01

Function
Positioning (rapid traverse)
Linear Interpolation (Cutting feed)

01
G02

G02

G02

Circular interpolation CW

G03

G03

G03

Circular interpolation CCW

G04

G04

G04

Dwell

G07.1
(G107)

G07.1
(G107)

G07.1
(G107)

G08

G08

G08

G10

G10

G10

Programmable data input

G11

G11

G11

Programmable data input mode cancel

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

Look head control

Polar coordinate interpolation mode


21
Polar coordinate interpolation cancel mode
XpYp plane selection
16

ZpXp plane selection


YpZp plane selection
Inch data input

06
G21

G21

G71

G22

G22

G22

Metric data input


Stored stroke check function on
09

G23

G23

G23

G25

G25

G25

Stored stroke check function off


Spindle speed fluctuation detection off
08

G26

G26

G26

Spindle speed fluctuation detection on

G27

G27

G27

Reference point return check

G28

G28

G28

Return to reference point return


00

G30

G30

G30

2nd, 3rd, 4th reference point return

G31

G31

G31

Skip function

B-1

G code system(Note 7)
Group
A

G32

G33

G33

Function
Thread cutting

01
G34

G34

G34

Variablelead thread cutting


Automatic tool compensation X (When the
bit 3 (G36) of parameter No. 3405 is set to
0)

G36

G36

G36

G37

G37

G37

Automatic tool compensation Z


00

G37.1

G37.1

G37.1

G37.2

G37.2

G37.2

G39

G39

G39

G40

G40

G40

G41

G41

G41

G42

G42

G42

Tool nose radius compensation right

G50

G92

G92

Coordinate system setting, max. spindle


speed setting

G50.3

G92.1

G92.1

G50.2 G50.2 G50.2


(G250)
(G250) (G250)
G51.2
G51.2
G51.2
(G251)
(G251) (G251)
G52
G52
G52

Automatic tool compensation X


Automatic tool compensation Z
Corner circular interpolation
Tool nose radius compensation cancel

07

00

Tool nose radius compensation left

Workpiece coordinate system preset


Polygonal turning cancel
20
Polygonal turning
Local coordinate system setting
00

G53

G53

G53

G54

G54

G54

Workpiece coordinate system 1 selection

G55

G55

G55

Workpiece coordinate system 2 selection

G56

G56

G56

Machine coordinate system setting

Workpiece coordinate system 3 selection


14

G57

G57

G57

G58

G58

G58

Workpiece coordinate system 5 selection

G59

G59

G59

Workpiece coordinate system 6 selection

G60

G60

G60

G65

G65

G65

G66

G66

G66

G67

G67

G67

Workpiece coordinate system 4 selection

Single direction positioning


00
Macro calling
Macro modal call
12
Macro modal call cancel

B-2

G code system(Note 7)

Group

Function

G70

G70

G72

Finishing cycle

G71

G71

G73

Stock removal in turning

G72

G72

G74

Stock removal in facing

G73

G73

G75

G74

G74

G76

End face peck drilling

G75

G75

G77

Outer diameter/internal diameter drilling

G76

G76

G78

Multiple threading cycle

G71

G71

G72

G72

G72

G73

G73

G73

G74

G74

G74

G75

Traverse grinding cycle (for grinding machine)


Traverse direct constantdimension grinding
cycle
(for grinding machine)
Oscilation grinding cycle (for grinding machine)
Oscilation direct constantdimension grinding
cycle
(for grinding machine)
Canned cycle for drilling cancel

00

01

G80 G80 G80

Pattern repeating

G83

G83

G83

Cycle for face drilling

G84

G84

G84

Cycle for face tapping

G86

G86

G86

G87

G87

G87

Cycle for side drilling

G88

G88

G88

Cycle for side tapping

G89

G89

G89

Cycle for side boring

G90

G77

G20

Outer diameter/internal diameter cutting cycle

G92

G78

G21

G94

G79

G24

G96

G96

G96

G97 G97 G97


G98

G94

G94

G99 G95 G95


-

01

G91

G91

G98

G98

G99

G99

Cycle for face boring

Thread cutting cycle


End face turning cycle

02
05

G90 G90

10

Constant surface speed control


Constant surface speed control cancel
Per minute feed
Per revolution feed
Absolute programming

03

Incremental programming
Return to initial level

11

Return to R point level

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

M61 Chip conveyor forward


M63 Chip conveyor stop
M64
M65
M68
M69

Auto door close


Auto door open
Parts catcher out
Parts catcher in

M70 Spindle center air blow off


M71 Spindle center air blow on
M73 Living tool rotate on clockwise
Living tool rotate on
M74
counter-clockwise
M75 Living tool stop
Living tool control from pmc trans to
M76
nc
Living tool control from nc trans to
M77
pmc
Two-sides of pneumatic chuck
M80
simultaneity on
Two-sides of pneumatic chuck
M81
simultaneity off
M82 Spindle chuck unclamp pressure #2
M83 Spindle chuck clamp pressure #2
M84
M85
M86
M87

B-5

Steady rests #1 clamp


Steady rests #1 unclamp
Steady rests #2 clamp
Steady rests #2 unclamp

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

M97 Same with m0, and chuck stop


M98 Call sub program
M99 Sub program end
M108 Spray washing on
M109 Spray washing off

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

M138 PMC TAILSTOCK PIN CLAMP


M139 Pmc tailstock pin unclamp
M159M166 8 m code

M196 Load monitor function on


M197 Load monitor function off
M203 Sub spindle rotate on clockwise
Sub spindle rotate on
M204
counter-clockwise
M205 Sub spindle stop
M210 Sub chuck unclamp
M211 Sub chuck clamp
M218 Sub spindle c-axis function off
M219 Sub spindle c-axis function on
M220 Sub air blow on
M221 Sub air blow off
Sub-spindle center jet out water
M227
on
Sub-spindle center jet out water
M228
off
M237 Sub spindle brake clamp
M238 Sub spindle brake unclamp
M270 Sub spindle through air blow off
M271 Sub spindle through air blow on

B-6

Spindle load setting


1 degree indexing of main spindle
0.088 degree indexing of main
spindle
1 degree indexing of sub-spindle
0.088 degree indexing of
sub-spindle

2. T-Code function
No.

DATA
ADDRESS

OUTPUT
ADDRESS

T00

R812.2

PARTS CONVERYOR TIME.

T02

R103.3

CHUCK PROXIMITY SWITCH CHECK TIME.

T04

R53.6

AIRBLOW TIME WHEN CONNECTION PIN


OUT. (TAILSTOCK BY PMC CONTROL)

T06

A7.4

POWER ON ALM DISPLAY DELAY TIME.

T08

R51.7

THE CHECKING TIME AFTER QUILL ADV.

T10

R1033.6

SPINDLE LOAD DETECTION DELAY TIME.

T12

R1032.5

SPINDLE LOAD DETECTION CONFIRM


TIME.

T14

R816.7

THE STOP TIME OF LUBRICATOR OIL OF


PRESSURE RELIEF TYPE

T16

R816.6

THE ON TIME OF LUBRICATOR OIL OF


PRESSURE RELIEF TYPE

10

T18

R813.7

LUB. PRESSURE DELAY CHECKING TIME


OF PRESSURE RELIEF TYPE.

11

T20

R826.2

DH-65 B/F Z DELAY

12

T22

R826.3

DH-65 B/F Z TIMER

13

T24

R826.4

DH-65 B/F Z FINISH DELAY

14

T26

R826.5

DH-65 LOADING FINISH DELAY

DESCRIPTION

B-7

No.

DATA
ADDRESS

OUTPUT
ADDRESS

15

T28

R22.4

CHIP CONVEYOR C.W. TIME

16

T30

R22.5

CHIP CONVEYOR C.W. STOP TIME

17

T32

R52.6

18

T34

R52.7

M15 FINISH TIME (JUST FOR GS-200


SERIES)
M14 FINISH TIME (JUST FOR GS-200
SERIES)

19

T36

R703.3

PROXIMITY SIGNAL DELAY CHECKING


TIME OF SUB-CHUCK.

20

T38

R75.7

HYDRAULIC PROGRAMABLE
TAILSTOCK ADV. DELAY TIME.

21

T40

R76.7

HYDRAULIC PROGRAMABLE
TAILSTOCK BRAKE DELAY TIME.

22

T42

R160.5

LUBRICATION OIL SPRAY ACTION


TIMER (JUST FOR GS-400 SERIES)

23

T44

R160.6

LUBRICATION OIL SPRAY STOP TIMER


(JUST FOR GS-400 SERIES)

24

T46

R845.2

1ST PNEUMATIC CHUCK UNCLAMP


DELAY FINISH TIME

25

T48

R845.6

1ST PNEUMATIC CHUCK CLAMP DELAY


FINISH TIME

DESCRIPTION

26

T50

R849.2

2ND PNEUMATIC CHUCK UNCLAMP


DELAY FINISH TIME

27

T52

R849.6

2ND PNEUMATIC CHUCK CLAMP


DELAY FINISH TIME

28

T54

R403.2

I/O TURRET UNCLAMP DELAY FINISH


TIME

29

T56

TMR40
~TMR73

LOAD MONITOR FUNTION

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

1: TOOL SETTER IS EQUIPPED.


0: TOOL SETTER IS NOT EQUIPPED.

BIT 1

1: ENABLE CYCLE START WHEN CHUCK IS UNCLAMP


0: DISABLES CYCLE START WHEN CHUCK IS UNCLAMP

BIT 2

1: PARTS CATCHER IS EQUIPPED.


0: PARTS CATCHER IS NOT EQUIPPED.

BIT 3

1: HYD. PUMP START BUTTON IS UNUSED


0: HYD. PUMP START BUTTON IS USED

BIT 4

1: THE SPINDLE WILL NOT ROTATE WHEN PROGRAM IS


RUNNING IN DRY RUN CONDITION.
0: THE SPINDLE RUNNING ENABLEIN DRY RUN
CONDITION.

BIT 5

1: CHUCK CLAMP/UNCLAMP CONFIRMATION SWITCH IS


EQUIPPED.
0: CHUCK CLAMP/UNCLAMP CONFIRMATION PROXIMITY
SWITCH IS NOT EQUIPPED.

BIT 6

1: I/O LINK TURRET CLAMP/UNCLAMP CONFIRMATION IS


EQUIPPED WITH SINGLE PROXIMITY.
0: I/O LINK TURRET CLAMP/UNCLAMP CONFIRMATION IS
EQUIPPED WITH TWIN PROXIMITY.

BIT 7

B-9

K01

6
DH65

NAME&BIT

<
5

KEEP RELAY
4
3
SPNCKM SPNM

>
2

QLPS

LTCO

DESCRIPTION

BIT 0

1: USER COUNTER IS EQUIPPED, USE M-CODE (M30).


0: USER COUNTER IS EQUIPPED, USE M-CODE (M69).

BIT 1

1: LIVETOOL CONFIRM THE ORIGINAL POSITION BEFORE


TOOL CHANGE.
0: LIVETOOL DISCONFIRM THE ORIGINAL POSITION
BEFORE TOOL CHANGE.

BIT 2

1: QUILL PROXIMITY IS EQUIPPED.


0: QUILL PROXIMITY IS NOT EQUIPPED.

BIT 3

1: THE AUTO DOOR IS EQUIPPED.


0: THE AUTO DOOR IS NOT EQUIPPED.

BIT 4

1: CHUCK COMMAND M10/M11 IS EFFECTIVE ,WHEN THE


SPINDLE IS ROTATING.
0: CHUCK COMMAND M10/M11 IS NOT EFFECTIVE , WHEN
THE SPINDLE IS ROTATING.

BIT 5

1: LUBRICATOR IS PRESSURE RELIEF TYPE.


0: LUBRICATOR IS MICROELECTROMIC TYPE.

BIT 6

1: THE AIRBLOW CONFIRMATION SWITCH IS NOT


EQUIPPED ON THE TAILSTOCK BY PMC AXIS CONTROL.
0: THE AIRBLOW CONFIRMATION SWITCH IS EQUIPPED
ON THE TAILSTOCK BY PMC AXIS CONTROL.

BIT 7

1: SPINDLE SPEED ARRIVAL SIGNAL IS CHECKED.


0: SPINDLE SPEED ARRIVAL SIGNAL IS NOT CHECKED.

B-10

<
K02

7
MR

NAME&BIT

KEEP RELAY
4
3

>
2

BFM48

DESCRIPTION

BIT 0

1: PARTS CATCHER OF GS-200 TYPE.


0: STANDARD PARTS CATCHER TYPE.

BIT 1

1: QUILL OF GS-200 TYPE.


0: STANDARD QUILL TYPE.

BIT 2

1: FOUR PROXIMITY ON PARTS CATCHER FOR GS-200


SERIES.
0: TWO PROXIMITY ON PARTS CATCHER FOR GS-200
SERIES.

BIT 3

1: 0I-T AUTO DOOR KEY SELECT.


0: 18I-T AUTO DOOR KEY SELECT.

BIT 4

1: USE COOLANT LOW LEVEL DETECTION


0: UNUSE COOLANT LOW LEVEL DETECTION

BIT 5

1: SIGNAL IS TRIGGERED WHEN CHUCK CLAMPED FOR


LNS B/F.
0: SIGNAL IS TRIGGERED WHEN CHUCK UNCLAMPED FOR
LNS B/F.

BIT 6

1: TAILSTOCK SETTING OF GCL-2 PLUS TYPE.


0: OTHER TAILSTOCK SETTING.

BIT 7

1: MEMORY RESTART IS NOT EECTIVE.


0: MEMORY RESTART IS EECTIVE.

B-11

<
K03

NAME&BIT

KEEP RELAY
4
3

>
2

DESCRIPTION

BIT 0

1: SUB-CHUCK PROXIMITY IS EQUIPPED.


0: SUB-CHUCK PROXIMITY IS NOT EQUIPPED.

BIT 1

1: SUB-SPINDLE SPEED ARRIVAL SIGNAL CHECKING.


0: SUB-SPINDLE SPEED ARRIVAL SIGNAL NOT CHECKING.

BIT 2

1: GS-400 STEADY REST PIN SET


0: STANDARD

BIT 3

1: PNEUMATIC CHUCK.
0: STANDARD HYDRAULIC CHUCK.

BIT4

1: PNEUMATIC CHUCK CONFIRMATION PROXIMITY


SWITCH SIGNAL CHECK ON OUTSIDE AND INSIDE (TWIN
CHUCK).
0: PNEUMATIC CHUCK CONFIRMATION PROXIMITY
SWITCH SIGNAL CHECK ONLY ON THE INSIDE.

BIT 5

1: PNEUMATIC CHUCK CONFIRMATION PROXIMITY


SWITCH IS NOT EQUIPPED.
0: PNEUMATIC CHUCK CONFIRMATION PROXIMITY
SWITCH IS EQUIPPED.

BIT 6

1: NON-INDUCTION CHECK OF CHUCK PROXIMITY


SWITCH.
0 INDUCTION CHECK OFCHUCK PROXIMITY SWITCH.

BIT 7

1: CHUCK AND SUB-CHUCK IS CONTROLLED


RESPECTIVELY.
0: CHUCK AND SUB-CHUCK IS CONTROLLED TOGETHER.

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

1: EMERGENCY STOP ON CHIP CONVEYOR IS NOT


EQUIPPED.
0: EMERGENCY STOP ON CHIP CONVEYOR IS EQUIPPED.

BIT 3

1: 0I-T STEADY REST KEY SELECT.


0: 18I-T STEADY REST KEY SELECT.

BIT 4

1: USE PUSH BUTTON WITH MANUAL SPINDLE SELECT.


0: USE ROTARY SWITH WITH MANUAL SPINDLE SELECT.

BIT 5

1: THE KEY CAN CONTROL THE LED OF AXES DIRECTION.


0: PLC CONTROL THE LED OF AXES DIRECTION.

BIT 6

1: TO SET KIRIU COOLANT


0: TO SET 10 BAR COOLANT

BIT 7

1: TOOL CHANGE BEFORE Y AXIS MUST IN ORIGIN POINT


0: TOOL CHANGE THAT Y AXIS DO NOT NEED TO BACK
ORIGIN POINT

B-13

<
K05

KEEP RELAY
4
3

>
2

PAT

NAME&BIT

DESCRIPTION

BIT 0

1: EXTERNAL HANDWHEEL IS EQUIPPED.


0: EXTERNAL HANDWHEEL IS NOT EQUIPPED.

BIT 1

1: 2nd STEADY REST


0: WITHOUT 2nd STEADY REST

BIT 2

1: M02 CODE IS HOLDING PROGRAM AND NOT RETURN


TO PROGRAM HEAD.
0: M02 CODE IS HOLDING PROGRAM AND RETURN TO
PROGRAM HEAD.

BIT 3

POSITION SELECTION OF THE BOTTON OF OIL


PRESSURE PROGRAMMABLE TAILSTOCK KEY

BIT 4

1: AFTER SUB-SPINDLE BRAKED, SECOND C AXIS OFF.


0: AFTER SUB-SPINDLE BRAKED, SECOND C AXIS NOT
OFF.

BIT 5

1: AFTER SUB-SPINDLE BRAKED, SECOND C AXIS


POSITION MEMORY
0: AFTER SUB-SPINDLE BRAKED, SECOND C AXIS
POSITION NOT MEMORY

BIT 6

BIT 7

1: WHEN SECOND PNEUMATIC CHUCK(OUTSIDE)


UNCLAMP, THE SPINDLE CANT RUN.
0: WHEN SECOND PNEUMATIC CHUCK(OUTSIDE)
UNCLAMP, THE SPINDLE CAN RUN.

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

1: THE STATE OF OPERATE KEY WILL KEEPING WHEN DO


RESTART
0: THE STATE OF OPERATE KEY WILL CAN NOT KEEPING
WHEN DO RESTART

BIT 3

SPINDLE RIGID TAPPING DIRECTION SETTING (FOR BZ


SENSOR) (UNNECESSARY CHANGE).

BIT 4

1:C AXIS SERVO OFF AFTER SPINDLE BRAKED.


0: C AXIS SERVO NOT OFF AFTER SPINDLE BRAKED.

BIT 5

1: C AXIS SERVO POSITION MEMORY AFTER SPINDLE


BRAKED.
0: C AXIS SERVO POSITION NOT MEMORY AFTER
SPINDLE BRAKED.

BIT 6

SPINDLE DIRECTION SET (UNNECESSARY CHANGE).

BIT 7

1: SPINDLE ORIENTATION CANCEL BY RST IS


EFFECTIVE.
0: SPINDLE ORIENTATION CANCEL BY RST IS NOT
EFFECTIVE.

B-15

<
K07

KEEP RELAY
4
3

>
2

LNKJG

NAME&BIT

BIT 0

0
TE

DESCRIPTION

TURRECT ERROR STATE ( UNNESSARY CHANGE )

BIT 1

BIT 2

1:THE SPINDLE NOT STOP WHEN BREAK VALUE ARRIVE.


(FOR LOAD MONITOR FUNCTION)
0:THE SPINDLE STOP WHEN BREAK VALUE ARRIVE.
(FOR LOAD MONITOR FUNCTION)

BIT 3

BIT 4

1: THE SET FROM JAPANESE CUSTOMER REQUEST (NO


DISPLAY EMG ALARM)
0: STANDARED

BIT 5

1: I/O LINK TURRET MANUAL ADJUST BY JOG IS


EFFECTIVE.
0: I/O LINK TURRET MANUAL ADJUST BY JOG IS NOT
EFFECTIVE.

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

SPRNMSH SPRNMSG SPRNMSF SPRNMSE SPRNMSD SPRNMSC SPRNMSB SPRNMSA

NAME&BIT

DESCRIPTION

BIT 0

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE B
0: STANDARD SETTING

BIT 1

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE C
0: STANDARD SETTING

BIT 2

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE D
0: STANDARD SETTING

BIT 3

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE E
0: STANDARD SETTING

BIT 4

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE F
0: STANDARD SETTING

BIT 5

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE G
0: STANDARD SETTING

BIT 6

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE H
0: STANDARD SETTING

BIT 7

1: SPINDLE RUNING COMMAND M10 (CHUCK


UNCLAMP ) ,SPEED RANGE I
0: STANDARD SETTING

B-18

<
K10

5
LNS

NAME&BIT

KEEP RELAY
4
3
MEG

>
2

IEMCA SBOTS

65WP

BF542

DESCRIPTION

BIT 0

1: STANDAR B/F (542) IS NOT EQUIPPED,


0: STANDAR B/F (542) IS EQUIPPED.

BIT 1

1: DH-65 B/F WITH PLC CONTROL IS EQUIPPED.


0: DH-65 B/F WITH PLC CONTROL IS NOT EQUIPPED.

BIT 2

1: IEMCA B/F IS EQUIPPED.


0: IEMCA B/F IS NOT EQUIPPED.

BIT 3

1: ARGENTINA B/F IS EQUIPPED.


0: ARGENTINA B/F IS NOT EQUIPPED .

BIT 4

1: MAGAZINE B/F IS EQUIPPED.


0: MAGAZINE B/F IS NOT EQUIPPED .

BIT 5

1: LNS B/F IS EQUIPPED.


0: LNS B/F IS NOT EQUIPPED .

BIT 6

1: USE TOPTEKS LOADING & UNLOADING


0: NOT USE TOPTEKS LOADING & UNLOADING

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

1: FOR SPINDLE RUNNING TEST


0: STANDARD SETTING

BIT 7

1: SPINDLE TOTAL RUNNING TIME RESET IS EFFECTIVE.


0: SPINDLE TOTAL RUNNING TIME RESET IS NOT
EFFECTIVE.

B-20

<
K20

M159

M151

NAME&BIT

KEEP RELAY
4
3
BF

SPLD

>
2

PMCTS

IOLNK

STTS

DESCRIPTION

BIT 0

1: STANDAR TAILSTOCK IS NOT EQUIPPED.


0: STANDAR TAILSTOCK IS EQUIPPED.

BIT 1

1: I/O LINK TURRET IS NOT EQUIPPED.


0: I/O LINK TURRET IS EQUIPPED.

BIT 2

1: TAILSTOCK BY PMC AXIS CONTROL IS NOT EQUIPPED.


0: TAILSTOCK BY PMC AXIS CONTROL IS EQUIPPED.

BIT 3

1: SPINDLE LOAD MONIT IS EFFECTIVE.


0: SPINDLE LOAD MONIT IS NOT EFFECTIVE.

BIT 4

1:BAR FEEDER IS EQUIPPED.


0: BAR FEEDER IS NOT EQUIPPED.

BIT 5

1: LOAD MONITOR FUNCTION IS EQUIPPED.


0: LOAD MONITOR FUNCTION IS NOT EQUIPPED

BIT 6

BIT 7

1: M159~M166 CODE IS USED.


0: M159~M166 CODE IS NOT USED.

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

1:SAUETR TURRET IS EQUIPPED.


0: SAUETR TURRET IS NOT EQUIPPED.

BIT 4

1: HYDRAULIC PROGRAMABLE TAILSTOCK IS EQUIPPED.


0: HYDRAULIC PROGRAMABLE TAILSTOCK IS NOT
QUIPPED.

BIT 5

1:EXTERNAL COUNTER IS EQUIPPED.


0: EXTERNAL COUNTER IS NOT EQUIPPED.

BIT 6

1:10 BAR COOLANT IS EQUIPPED.


0: 10 BAR COOLANT IS NOT EQUIPPED.

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

1:LIVE TOOLING BY SERVO MOTOR.


0: LIVE TOOLING BY SPINDLE MOTOR.

BIT 2

1: CS AXIS CONTROL IS EQUIPPED.


0: CS AXIS CONTROL IS NOT EQUIPPED.

BIT 3

1: CF AXIS CONTROL IS EQUIPPED.


0: CF AXIS CONTROL IS NOT EQUIPPED.

BIT 4

1: LIVE TOOLING (E) IN 3TH.


0:OTHERS

BIT 5

1: LIVE TOOLING (E) IN 4TH.


0: OTHERS

BIT 6

1: LIVE TOOLING (E) IN 5TH.


0: OTHERS

BIT 7

1: LIVE TOOLING (E) IN 6TH.


0: OTHERS

B-23

1
SVSP

<
K23

NAME&BIT

KEEP RELAY
4
3

>
2

DESCRIPTION

BIT 0

1: B AXIS DEFINE IN 3TH.


0: OTHERS

BIT 1

1: B AXIS DEFINE IN 4TH.


0: OTHERS

BIT 2

1: B AXIS DEFINE IN 3TH.


0: OTHERS

BIT 3

1: B AXIS DEFINE IN 4TH.


0: OTHERS

BIT 4

1: B AXIS DEFINE IN 3TH.


0: OTHERS

BIT 5

1: B AXIS DEFINE IN 4TH.


0: OTHERS

BIT 6

1: B AXIS DEFINE IN 3TH.


0: OTHERS

BIT 7

1: B AXIS DEFINE IN 4TH.


0: OTHERS

B-24

<
K24

NAME&BIT

KEEP RELAY
4
3

>
2

DESCRIPTION

BIT 0

1:HYDRAULIC TURRET IS EQUIPPED.


0: HYDRAULIC TURRET IS NOT EQUIPPED.

BIT 1

1:GS-400 SERIES SPINDLE HIGH/LOW SPEED IS


EQUIPPED.
0: OTHERS.

BIT 2

1:PARTS CATCHER IS EQUIPPED.


0: PARTS CATCHER IS NOT EQUIPPED.

BIT 3

1: SPINDLE CHUCK SECOND PRESSURE IS EQUPPID.


0: SPINDLE CHUCK SECOND PRESSURE IS NOT EQUPPID.

BIT 4

1:SUB-SPINDLE COOLANT IS EQUPPID.


0: SUB-SPINDLE COOLANT IS NOT EQUPPID.

BIT 5

1: SECOND PNEUMATIC CHUCK(OUTSIDE) IS EQUIPPED.


0: SECOND PNEUMATIC CHUCK(OUTSIDE) IS NOT
EQUIPPED.

BIT 6

BIT 7

B-25

<
K25

NAME&BIT

KEEP RELAY
4
3

>

DESCRIPTION

BIT 0

1:SECOND C AXIS DEFINE AT 5TH.


0:OTHERS.

BIT 1

1: SECOND C AXIS DEFINE AT 6TH.


0: OTHERS.

BIT 2

1: SECOND C AXIS DEFINE AT 7TH.


0: OTHERS.

BIT 3

1: SECOND C AXIS DEFINE AT 8TH.


0: OTHERS.

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

1:TAILSTOCK CONNECTION PIN CAN BE OUT AT ANY


POSITION
Z-AXIS.
0: TAILSTOCK CONNECTION PIN CAN NOT BE OUT AT
ANY
POSITION , JUST ONLY AT MEMORY POSITION
FOR Z-AXIS.

BIT 2

1:TAILSTOCK PIN-OUT SENSOR IS EFFECTIVE.


0: TAILSTOCK PIN-OUT SENSOR IS NOT EFFECTIVE.

BIT 3

1: PMC TAILSTOCK BRAKE WITH PROXIMITY SWITCH.


0: PMC TAILSTOCK BRAKE WITHOUT PROXIMITY SWITCH.

BIT 4

BIT 5

BIT 6

BIT 7

B-27

<

COUNTER

>

No.

DATA
ADDRESS

C1

THE SETTING OF LUB. FIRST RUN TIME AFTER


POWER ON.

C2

THE SETTING TIME OF BEFORE AUTO POWER


TRIP.

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

Parameter setting for


RENISHAW HPMA
Automatic Tool Setter
1.For FANUC 0T controller: (setting the parameter as below: )
(1)Parameter P923.3=1 (Enable MACRO B function)
(2)Diagnostic D306.4=1 (Enable Tool Setter function)
D306.5=1 (the tool setter is HPMA programmable type)
D306.6=1 (Allow the turret index without X-axis Zero return when
tool setter arm is pull down)
D306.6=0 (not allow the turret index without X-axis Zero return
when tool setter arm is pull down)
(3)Variable #509=1
#530=30
#531=15
(4)Upload the MACRO program (supplied by RENISHAW) into the machine.
(5)After uploading the MACRO program, set P10.4=1 (to protect the
program No.9xxx )
2.For FANUC 0I-T and 18-T controller: (setting the parameter as below: )
(1)Parameter P6200.0=1
(2)Keeprelay K0.0=1 (Enable Tool Setter function)
K4.1=1 (the tool setter is HPMA programmable type)
K4.0=1 (Allow the turret index without X-axis Zero return when
tool setter arm is pull down)
K4.0=0 (not allow the turret index without X-axis Zero return
when tool setter arm is pull down)
(3)Variable #509=1
#530=30
#531=15
(4)Upload the MACRO program (supplied by RENISHAW) to the machine.
(5)After uploading the MACRO program, set P3202.4 (NE9)=1 (to protect
the program No.9xxx )

RENISHAW model HPMA


Automatic tool setter
1.Run M35 to command the tool setter arm down

2.Run M36 to command the tool setter arm up.

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)

RENISHAW tool setter probe alignment steps:


A: Install the stylus and align the parallel according to the manual
B: Pull down the tool setter arm.
C: Select a tool. Touch the stylus by tool tip in JOG mode to measure the
Geometry value.
D: make a test program as below: (Please turn Single Block ON in and
Run the program step by step in this operation)
G65 P9011 K2. T1. H3 ;
M30;
T1.=Tool # 1
H3.=Right hand O.D tool (Please refer to Imaginary tool nose)

The argument P9011 is calling MACRO program for half


automatic measurement
The argument H3 is tool radius imaginary direction .
Please reference to.
T1 is tool number, T0101 (only accept 1 or 2 digit, 4 digit is not
acceptable.
**After this operation, an alarm 3093 shown on screen is normal !!

Imaginary tool nose

Imaginary tool nose


E: Pull up the tool setter arm.

RENISHAW manual measurement procedure:


A: Pull down the tool setter arm.
B: Move the tool tip close to the stylus (under 6mm for both X and Z
axis direction)

C: Make a test program as below: (Please turn Single Block ON in and


Run the program step by step in this operation)
G65 P9011 H3 T1. ;
M30;
The argument P9011 is calling MACRO program for half
automatic measurement
H3 is tool radius imaginary direction . Please reference to.
T1 is tool number, T0101 (only accept 1 or 2 digit, 4 digit is not
accept.)
D: Pull up the tool setter arm.

A:Please run manual measurement procedure or touch the stylus by


JOG mode when change a new tool. (If forget running manual
measurement procedure before automatic measurement ,the tool may
be cause damage of tool setter )
B: Make a test program as below:
M35; (pull down the tool setter arm)
T0101;
G65 P9012 H3; (call sub program #9012 , imaginary tool
nose direction =3)
M36; (pull up the tool setter arm)
M30;

The argument P9012 is calling MACRO program for automatic


measurement
H3 is tool radius imaginary direction . Please reference to
drawing: Imaginary tool nose

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

Tool setting cycles for lathes with


Fanuc macro B controls

Cautions

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-6235

II

This page is intentionally left blank

Publication No. H-2000-6235

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

Why calibrate a measurement probe? .............................................................................1-2


Software notes ................................................................................................................. 1-3

Chapter 2

Software installation

Control options .................................................................................................................2-2


Calling a cycle by G-code call ..........................................................................................2-2
Tool offset type setting .....................................................................................................2-2
Calibration data ................................................................................................................2-3
Adjusting the software back-off distance..........................................................................2-5
G94/G98 feed/minute mode .............................................................................................2-5

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

Publication No. H-2000-6235

IV

Table of contents

Chapter 4

Calibration

Manual calibration (macro O9011)...................................................................................4-2


Example............................................................................................................................4-4

Chapter 5

Manual tool setting

Manual tool setting (macro O9011)..................................................................................5-2


Example: Setting a turning tool .......................................................................................5-4
Example: Setting a cutter to a centre line .......................................................................5-4
Example: Setting the length of a cutter ...........................................................................5-5
Example: Setting a boring tool ........................................................................................5-5
Example: Broken tool checking.......................................................................................5-6
Example: Calibration and tool setting..............................................................................5-7

Chapter 6

Auto tool setting

Auto tool setting (macro O9012) ......................................................................................6-2


Example: Simplified programming format .......................................................................6-3
Example: Broken tool checking.......................................................................................6-5

Chapter 7

Macro alarms

Clearing an error ..............................................................................................................7-2


Error messages ................................................................................................................7-2
Illegal tool offset number T........................................................................................7-2
Illegal tool nose vector H...........................................................................................7-2
Inputs C and H1 H4 mixed .....................................................................................7-3
Format error ..............................................................................................................7-3
Probe open................................................................................................................7-3
Probe fail ...................................................................................................................7-4
Broken tool ................................................................................................................7-4

Publication No. H-2000-6235

Before you begin

Before you begin


This manual contains describes how to use the Renishaw tool setting software packages
covering all Fanuc (macro B) T/iT controls.
Split into seven self-contained chapters, the manual is structured to provide the
information that you require to use the software effectively:

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.

Measurement values used in this manual


Throughout this manual, metric units of measurement, i.e. millimetres, are used in the
examples. The equivalent inch measurements are shown in brackets.

Publication No. H-2000-6235

Before you begin

About Renishaw software


It has been the policy of Renishaw to standardise software packages as far as possible.
However, changes have evolved due to enhanced features and control differences.
Where these differences are significant, they are described in the documentation.
Renishaw reserve the right to make changes to, and update, software packages without
prior notice.
All programming examples have been written for general guidance. The format will suit
most machines, but careful consideration should be given in case the format does not suit
your machine.
Prior to using this manual, the hardware installation should be complete and tested to
ensure that skip and other signal requirements are working correctly.
Renishaw macro program O9011 has no nested macros (one nesting level deep).
Renishaw macro program O9012 calls macro O9011 (two nesting levels deep).

Warnings, cautions and notes


Throughout this manual, warnings, cautions and notes have the following meanings:
Warning this is information which, if disregarded, could lead to the injury or death of an
individual.
Caution this is information which, if disregarded, could lead to damage to equipment or
to software or stored data.
Note this provides additional information to assist the reader when reading a particular
paragraph.

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).

Publication No. H-2000-6235

Before you begin

Software and controllers covered by this manual


This section identifies each controller type covered by this manual. Software for each
controller type is supplied on floppy disk. The Renishaw part numbers for each software
kit and the floppy disk supplied as part of each kit are also listed below.
This section also lists the total amount of memory (in Kbytes) that is required by the
macros on a floppy disk. Before you load macros, you should first calculate the total
amount of memory required by the macros you wish to load. Next, you should check that
the memory capacity in the machine controller is sufficient for these macros.
If you have a version of the software supplied in Mylar paper tape format, use the
following conversion data to convert from length to Kbytes, or vice-versa.
Conversion:

1 Kb
8 Kb

=
=

2.5 m (8.2 ft)


20 m (65.6 ft)

All Fanuc (macro B) T / Ti controls


Memory
required
(Kbytes)
Tool setting

(Manual tool setting


(Auto tool setting

Kit No. A/4012/0528


Disk No. A/4012/0513

6.1

Macro 9011
Macro 9012 (optional)

3.7)
2.4)

This manual also covers:


Tool setting (special)

Publication No. H-2000-6235

Kit No. A/4012/0747


Disk No. A/4012/0748

Before you begin

Renishaw customer services


Calling a Renishaw subsidiary office
If you have a question about the software, first consult the documentation and other
printed information included with your product.
If you cannot find a solution, you can receive information on how to obtain customer
support by contacting the Renishaw support staff if you have the appropriate product
documentation at hand. Please be prepared to give the following information (as
applicable):

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).

The exact wording of any messages that appear on your screen.

A description of what happened and what you were doing when the problem
occurred.

A description of how you tried to solve the problem.

For contact details of Renishaw companies, refer to the back cover of this manual.

Publication No. H-2000-6235

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.

Contained in this chapter


Why calibrate a measurement probe? .............................................................................1-2
Software notes..................................................................................................................1-3

Publication No. H-2000-6235

1-2

Getting started

Why calibrate a measurement probe?


In Chapter 4 of this manual you will find details of the macros used to calibrate your
Renishaw probe. But why is it so important that your probe is calibrated?
As each Renishaw probe system is unique, it is important that you calibrate it in the
following circumstances:

If it is the first time your probe system is to be used.

If a new stylus is fitted to your probe.

If it is suspected that the stylus has become distorted or that the probe has crashed.

At regular intervals to compensate for mechanical changes of your machine tool.

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.

Two different operations are used to calibrate a probe. They are:

Calibrating using the manual cycle macro O9011

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

Publication No. H-2000-6235

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.

Auto tool setting


The auto tool setting macro O9012 can be used to automatically position the tool to the
stylus as well as set the tool. It will be necessary to load nominal tool data in the tool offset
registers prior to running a cycle. If using the macro for calibration, it will also be
necessary to enter nominal calibration data.

Publication No. H-2000-6235

1-4

Getting started

This page is intentionally left blank.

Publication No. H-2000-6235

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.

Contained in this chapter


Control options .................................................................................................................2-2
Calling a cycle by G-code call ..........................................................................................2-2
Tool offset type setting .....................................................................................................2-2
Calibration data ................................................................................................................2-3
Adjusting the software back-off distance..........................................................................2-5
G94/G98 feed/minute mode .............................................................................................2-5

Publication No. H-2000-6235

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.

Fanuc user macro B programming option must be available.

Parameters must be set for feed rate by part program.

Sufficient part program memory must be available to install this package together
with working part programs (see memory requirements in Before you begin).

Calling a cycle by G-code call


During installation it is possible to set machine parameters which will allow the macros to
be called by a shortened G-code method. Refer to your Fanuc Parameter Manual or the
Renishaw installation manual for further details on parameter setting.
Any spare two or three-digit number can be used, but the following are recommended:
G-code

Macro number

Description

G124

O9011

Semi manual tool setting

G125

O9012

Auto tool setting

Tool offset type setting


Macro variable #509 must be set:
#509 =0

Combined geometry and wear tool offset register.

#509 =1

Separate geometry and wear tool offset registers.

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.

Publication No. H-2000-6235

Software installation

2-3

Standard calibration data base number 522


Calibration data will be stored in the following macro variables using the default base
number (this is the pre-set value as supplied).
#522=
#523=
#524=
#525=
#530=
#531=

X+ cube face
X- cube face
Z+ cube face
Z- cube face
X direction stylus size
Z direction stylus size

Calibration data using spare tool offsets base


number 2020
Calibration values will be stored in the following macro variables using the default base
number 2020 (offset T20 onwards).
T20 (#2020)=
T23 (#2023)=
T24 (#2024)=
T25 (#2025)=
T30 (#2030)=
T31 (#2031)=

X+ cube face
X- cube face
Z+ cube face
Z- cube face
X direction stylus size
Z direction stylus size

Base number setting


The software can be configured to use a different variable range for storing the calibration
data. This is done by changing a base number embedded in macros O9011 and O9012.
Edit macros O9011 and O9012 as follows:
#10 = 522 (EDIT FIRST MACRO STORE)

.... Edit 522 to the required base number

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)

Publication No. H-2000-6235

....Edit value as required

2-4

Software installation

Adjusting the software back-off distance


The software will use the standard back off distance of 1 mm, which is adequate for most
installations.
If the cycle will not run when installed, examine the tool measuring movements when
triggering on the stylus. If the tool does not retract off the surface sufficiently after the first
touch to enable a reseat of the probe, the back off distance should be increased to suit.
Edit variable as follows in macro O9011:
#12 = 1.0

....Change value to suit

For optimised operation, this value should be adjusted during installation to suit the
machine.

G94/G98 feed/minute mode


Software versions A-4012-0513.0E onwards have automatic feed per minute defection
and setting. The following notes only apply to earlier software versions.

Notes (pre A-4012-0153.0E versions)


The software as supplied does not include any G-codes controlling the feed rate mode.
Therefore the G98 or G94 mode must either be programmed before the cycle call (NOT
SHOWN IN THE EXAMPLES), or to simplify the programming format, this code may be
added at the top of macro O9011 and O9012 during installation if desired. However, the
feed/rev mode may need to be restarted for subsequent machining operations.

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.

Publication No. H-2000-6235

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.

Contained in this chapter


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

Publication No. H-2000-6235

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.=

This is used to indicate a probe stylus calibration cycle. One or two


adjacent stylus faces will be set depending on the H input used.

Publication No. H-2000-6235

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- stylus face = X+ stylus face - #530


Z- stylus face = Z+ stylus face - #531

Typical values for a 10 mm (0.3937 in) cube stylus:


#530 = 19.940 (0.7850 in)

X diameter/radial width

#531 = 9.970 (0.3925 in)

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=

Broken tool checking tolerance


(M.2 indicates a +.2/-.2 tolerance).

Rr

r=

Approach position in front of stylus.


Default = 25 mm (0.984 in).

Ww

Uu

Uu

Ww
Figure 3.1
Uu

u=

X axis tool tip geometry positioning adjustment. This is additional to the


Bb distance.
Default = 0.

Ww

w=

Z axis tool tip geometry positioning adjustment. This is additional to the


Bb distance.
Default = 0.

Publication No. H-2000-6235

3-4

Inputs

* Xx

x=

X axis tool offset result adjustment amount.


Default = 0.

*Zz

z=

Z axis tool offset result adjustment amount.


Default = 0.

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.

Publication No. H-2000-6235

Inputs

3-5

Tool nose vector Hh

The tool movement directions are established by the selection of a suitable Hh


vector number.

Tools must be positioned to one of the positions shown according to the type of tool
when using the manual cycle macro O9011.

Hh numbers correspond with the T address on the tool offset page.


Bb
H4

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

Publication No. H-2000-6235

H3

3-6

Inputs

List of common variables used by Renishaw macro


programs
#100 to #149

None are used by the standard Renishaw macro programs O9011 and
O9012.

List of common retained variables used by Renishaw


macro programs
#522

X+ stylus cube face position (machine co-ordinates)

#523

X- stylus cube face position (machine co-ordinates)

#524

Z+ stylus cube face position (machine co-ordinates)

#525

Z- stylus cube face position (machine co-ordinates)

#530

X direction stylus size (use with K2. calibration only)

#531

Z direction stylus size (use with K2. calibration only)

#509

Tool offset type setting


#509 =0
Combined geometry and wear tool offset register.
#509 =1
Separate geometry and wear tool offset registers.

Publication No. H-2000-6235

Calibration

4-1

Chapter 4

Calibration

This chapter describes how to calibrate the probe stylus on the machine before using the
tool setting cycles.

Contained in this chapter


Manual calibration (macro O9011) ...................................................................................4-2
Example............................................................................................................................4-4

Publication No. H-2000-6235

4-2

Calibration

Manual calibration (macro O9011)


Introduction
Calibration is achieved using macro O9011 directly as described here, or indirectly by
using the auto cycle O9012, which will also automatically position the master tool to the
stylus for you.
If using the auto cycle macro O9012, approximate calibration data MUST be entered in
the calibration data variables before calibrating, but otherwise the input information is
similar (see Chapter 6, Auto tool setting for details on macro O9012).

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)

The probe stylus faces must be set parallel to the axes.

(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)

Run the G124 cycle.

Publication No. H-2000-6235

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.

Publication No. H-2000-6235

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.

Calibration of two adjacent stylus faces.

M30

End program

Publication No. H-2000-6235

Manual tool setting

5-1

Chapter 5

Manual tool setting

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.

Contained in this chapter


Manual tool setting (macro O9011) ..................................................................................5-2
Example: Setting a turning tool........................................................................................5-4
Example: Setting a cutter to a centre line........................................................................5-4
Example: Setting the length of a cutter............................................................................5-5
Example: Setting a boring tool.........................................................................................5-5
Example: Broken tool checking .......................................................................................5-6
Example: Calibration and tool setting ..............................................................................5-7

Publication No. H-2000-6235

5-2

Manual tool setting

Manual tool setting (macro O9011)


NOTE: The procedure for tool setting is the same as for calibration, except that you do
NOT enter a Kk input.

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)

The tool probe stylus must be calibrated before setting tools.

(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)

Run the G124 cycle.

Publication No. H-2000-6235

Manual tool setting

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.

Publication No. H-2000-6235

5-4

Manual tool setting

Example: Setting a turning tool


When the following program is run, the X and Z tool offset registers are set
for tool 1.
H3

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.

Set the turn tool 1

M30

End program

Example: Setting a cutter to a centre line


When the following program is run, the side of the cutter will touch the stylus.
Because the Cc input is used, the tool is set to the centre line instead of the
edge of the tool. This is useful for drills etc. where the centre line position is
required.

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.

Set tool 3 to centre line

M30

End program

Publication No. H-2000-6235

Manual tool setting

5-5

Example: Setting the length of a cutter


When the following program is run, the end cutter face will touch the stylus
and set the Z length.

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.

Set tool 3 for Z length

M30

End program

Example: Setting a boring tool


When the following program is run, the X and Z tool offset registers are set
for tool 2.

H1

Figure 5.4
Setting a boring tool

Publication No. H-2000-6235

NOTE: Before running the cycle, position the tool within the box distance
from each face of the stylus.

0504
G124T4. H1.

Set the boring tool 4

M30

End program

5-6

Manual tool setting

Example: Broken tool checking


This is an example using an automatic arm (HPMA).

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

Complete the machining sequence with the current tool


.
(BROKEN TOOL CHECK)
G28U0W0

Return tool to home

G10P0X-12.1Z-160.2

Set program to X+, Z+ corner of the stylus

M??

Activate the tool probe/arm

G0X6.Z3.

Move to start position

G124T5. H3.M.1

Broken tools check. A BROKEN TOOL alarm


will result if the tool is out of tolerance.

G28U0W0

Return tool to home

.
.
Continue with next tool
.

NOTE: See the optional auto cycle macro O9012 in Chapter 6, Auto tool
setting for a simpler programming method.

Publication No. H-2000-6235

Manual tool setting

5-7

Example: Calibration and tool setting


This is an example using a manual probe arm (HPRA or HPPA).

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

Set program to X+, Z+ corner of the stylus

(OPTIONAL CALIBRATION)
/T0303(MASTER TOOL)
/G0X6.
/Z3.
/G124H3.K1.

Calibrate probe

/G28U0W0
/M00
(TOOL SETTING)
T0101(20MM DRILL)
G0X-10.
Z3.
G124H7.

Set drill length in Z

G0X26.
Z-15.
G124H8.C20.

Set drill to centre line

G28U0W0
T0303(TURN TOOL)
G0X6.Z3.
G124H3.

Set turn tool in X Z

G28U0W0
T0414(GROOVING TOOL T4 OFFSET 14)
G0Z-13.

Publication No. H-2000-6235

10 mm stylus

5-8

Manual tool setting

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.

Publication No. H-2000-6235

Auto tool setting

6-1

Chapter 6

Auto tool setting

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

Contained in this chapter


Auto tool setting (macro O9012) ......................................................................................6-2
Example: Simplified programming format........................................................................6-3
Example: Broken tool checking .......................................................................................6-5

Publication No. H-2000-6235

6-2

Auto tool setting

Auto tool setting (macro O9012)

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).

Publication No. H-2000-6235

Auto tool setting

Example: Simplified programming format


This is an example using an automatic arm (HPMA).
The Hh input is used in this example, but it is optional and default conditions could be
used.
O0050(TOOL SETTING)
(*)

Optional loading of tool data

(LOAD DATA)
G10P10001X76.Z85.Q2
G10P1X0Z0
(LOAD DATA)
G10P10003X95.Z38.Q8
G10P3X0Z0
(*)

End of tool data loading

G28U0
G28W0
M??

Tool setting arm active

(*)
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.

Publication No. H-2000-6235

6-3

6-4

Auto tool setting

T0707 (S/DRILL H7)


G125H7
T0707(S/DRILL X C/LINE H8)
G125H8C10.
M??

Tool setting arm de-active

M30

Publication No. H-2000-6235

Auto tool setting

6-5

Example: Broken tool checking


This is an example using an automatic arm (HPMA). The Mm input is
provided for use with an automatic arm .
H3

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

Return tool to home

M??

Activate the tool probe/arm

G125H3.M.1

Broken tools check. A BROKEN TOOL alarm


will result if the tool is out of tolerance.

G28U0W0

Return tool to home

.
.
Continue with next tool
.

Publication No. H-2000-6235

6-6

Auto tool setting

This page is intentionally left blank.

Publication No. H-2000-6235

Macro alarm list

7-1

Chapter 7

Macro alarm list

An error condition causes either an operator message or macro alarm message to be


generated to warn the operator of the error. This chapter identifies each alarm number
and associated message, explains the meaning of each message, and provides some
guidance as to the action required to clear the error condition.

Contained in this chapter


Clearing an error...............................................................................................................7-2
Error messages ................................................................................................................7-2
Illegal tool offset number T ........................................................................................7-2
Illegal tool nose vector H ...........................................................................................7-2
Inputs C and H1 H4 mixed .....................................................................................7-3
Format error ..............................................................................................................7-3
Probe open................................................................................................................7-3
Probe fail ...................................................................................................................7-4
Broken tool ................................................................................................................7-4

Publication No. H-2000-6235

7-2

Macro alarm list

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

O9011 and O9012

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.

Illegal tool nose vector H


ALARM NO

MESSAGE

PROGRAM

82
(582)

ILLEGAL TOOL
NOSE VECTOR H

O9011 and O9012

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.

Publication No. H-2000-6235

Macro alarm list

7-3

Inputs C and H1 H4 mixed


ALARM NO

MESSAGE

PROGRAM

83
(583)

INPUTS C AND
H1-H4 MIXED

O9011 and O9012

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

O9011 and O9012

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

O9011 and O9012

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).

Publication No. H-2000-6235

7-4

Macro alarm list

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

O9011 and O9012

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

O9011 and O9012

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.

Publication No. H-2000-6235

CHANGING THE STYLUS PROTECTION SYSTEM AND


ADJUSTING THE STYLUS ON RENISHAW TOOL SETTERS
The Renishaw tool setter incorporates a system that protects the stylus from deformation and
sensor damage by collapsing the system if overload or impact is applied to the stylus due to
interference between the stylus and a tool.
Changing the Stylus Protection System:
Install tool setter arm on the machine according to drawing.

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.

1. Adjust probe head to appropriate height.

A line to the bottom

Approximately adjust probe head parallelism to under 0.2mm

Tool setter arm (stylus height fine adjustment) angel adjustment:


Fit one OD tool onto turret, and move the tool tip close to the probe head
(Not in contact)
According to the drawing below:
1.
2.
3.
4.

Remove (4) seal and loosen screw.


Adjust tool setter arm until center of probe head is lined up with tool tip.
Tighten screw.
Refit seal.

Angular adjustment:

[SEE DRAWINGS ON PAGE 5]

1. Fix a dial indicator on the turret by using a magnet stand.


2. Apply the dial indicator stem to the side face of the stylus from the positive direction of the
x-axis.

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.

Loosen the stylus socket set screw.


Turn the stylus to adjust the parallelism to the Z-axis.
Tighten the socket set screw.
Tighten and loosen the 2 fine adjustment socket set screws on the base alternately to
make fine adjustments. (The allowable maximum inclination is .003mm over the entire
length of the stylus face.)

5. After the completion of adjustments, finally tighten the fine adjustment socket set screws.

SETTING TOOL SETTER PARAMETERS


The parameters and settings used to set the Renishaw tool setter.
The tool setter has four directions, which are: XP, XM, ZP, and ZM.

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.

You might also like