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

Programming Manual For VMVKVSHGHS Type

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

Programming Manual For VMVKVSHGHS Type

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

PROGRAMMING MANUAL

FOR
VM, VK, VS, HG, HS TYPE
MACHINING CENTER
SEIKI-SEICOS 21OM/16M/18M
Edition 1 10-1998

PSEiKl Hitachi S
S
f

a
TABLE OF CONTENTS

1. INTRODUCTION . 1-1
1-1 FLOW CHART FOR MACHINING WORK BY MACHINING CENTER 1-2
1-2 Programming type 1-3

2. PROGRAMMING LANGUAGE 2-1


2-1 Program No 2-1
2-2 PROGRAM 2-1
2-3 Main program 2-2
2-4 Subprogram 2-2
2-5 Composition of program 2-2
2-6 Address 2-5
2-7 Data 2-6
2-8 Word . 2-6
2-9 Block 2-6
2-10 Sequence No 2-7
2-11 How to prepare sequence No 2-7
2-12 Tape dimension specification 2-8
2-13 Tape code 2-8
2-14 Tape format 2-9
2-15 Address and meaning 2-10
2-16 Program zero point and coordinate system 2-11
2-17 Absolute command (absolute coordinate value) 2-12
2-18 Incremental command (incremental value) 2-13
2-19 Right hand perpendicularly crossing coordinate system. 2-14
2-20 Z-axis 2-14
2-21 X-axis 2-14
2-22 Y-axis 2-15
2-23 Z-axis zero point 2-15
2-24 X, Y, Z standard coordinate and actual work 2-16

3. M, S, T, F, B FUNCTIONS 3-1
3-1 Miscellaneous (M-function) 3-1
3-2 Command method of pallet change (For VK with APC) 3-2
3-3 Command method of spindle speed (S-function) 3-5

I
3-4 Tool No. call (T-function) 3-6
3-5 Programming example of tool change (Case of VM, VK, VS) 3-8
3-6 Programming example of tool change (Case of HG) 3-9
3-7 Command method of feed speed (F-function) 3-12
3-8 Table-indexing command method (B-function) HG series 3-13

4. G-FUNCTION (preparatory function) 4-1


4-1 G AAA 4-1
4-2 GOO (Positioning) 4-2
4-3 G01 (Linear interpolation) 4-3
4-4 G02, G03 (circular interpolation) 4-4
4-5 G02, G03 (program example) 4-5
4-6 G02, G03 (program example) 4-6
4-7 G02, G03 (program example) 4-7
4-8 Summary on GOO, G01, G02, G03 4-8
4-9 G04 (dwell) . 4-9
4-10 Exact stop (G09) . 4-10
4-11 G17, G18, G19 (plane indication) 4-11
4-12 G27 (zero-point return check) 4-12
4-13 G28 (auto-zero return) 4-13
4-14 G29 (auto-return from zero point) 4-14
4-15 G30 (2nd, 3rd, 4th reference point return) 4-15
4-16 G31 (skip function).....
. . 4-16

5. G-FUNCTION (length compensation,diameter


compensation, position compensation) 5-1
5-1 Philosophy of tool length compensation (G43, G44, G49) 5-1
5-2 Tool length compensation (G43, G44, G49) 5-2
5-3 Tool diameter compensation G41, G42, G40 . 5-5
5-4 Tool diameter compensation G41, G42, G40 5-6
5-5 Summary of tool diameter compensation 5-7
5-6 G41, G42 (start-up) 5-8
5-7 G41, G42 (offset mode) 5-10
5-8 G40 (cancel) 5-12
5-9 Example of tool diameter compensation program 5-15
5-10 Example of tool diameter compensation program 5-16

II
5-11 Example of tool diameter compensation program 5-17
5-12 Example of tool diameter compensation program 5-18
5-13 Example of tool diameter compensation program 5-19
5-14 Example of tool diameter compensation program 5-20
5-15 Tool diameter compensation vector keep (G38),
Offset vector change and Tool radius compensation
corner circular arc (G39) 5-21
5-16 Tool compensation by tool number 5-24
5-17 Tool position offset (G45, G46, G47, G48) 5-27
5-18 Example using the positional offset for tool radius 5-29
5-19 Example using the tool-position offset for milling machining 5-30

6. G-FUNCTION (coordinate system) 6-1


6-1 Setting of coordinate system (G92) 6-1
6-2 Caution for the use of (G54 ~ G59) and G92 work-coordinate 6-2 '

6-3 Work-coordinate system (G54 ~ G59) 6-3


6-4 Work-coordinate system G54, G55 and coordinate system setting G92 6-4
6-5 Example using work-coordinate system . 6-5
6-6 Addition of work coordinate system pair number (G540 ~ G599) 6-6
6-7 Selection of machine-coordinate system (G53) 6-10
6-8 Local coordinate system (G52) ..6-11
6-9 G52 program example 6-12
6-10 Data setting (G10) 6-13
6-11 One directional positioning .(G60) 6-16

7. G-FUNCTION (canned cycle) 7-1


7-1 Canned cycle (G73 ~ G89) 7-1
7-2 Ganned cycle 7-2
7-3 Canned cycle (data type, return level) 7-3
7-4 Canned cycle (G73, G74) 7-4
7-5 Canned cycle (G76, G80, G81) 7-7
7-6 Canned cycle (G82, G83) 7-8
7-7 Canned cycle (G84, G85, G86) 7-11
7-8 Canned cycle (G87, G88, G89) 7-12
7-9 Example of canned cycle program 7-13
7-14 f
7-10 Herical cutting G02, G03

III
7-11 Programmable mirror image G511, G501 7-15
7-12 Setting mirror image . 7-17
7-13 Direct tapping 7-19
7-14 Boring pattern cycle (G70, G71, G72, G77) .... 7-25
7-15 Bolt-hole cycle (G70) 7-26
7-16 Arc cycle (G71) 7-27
7-17 Line at angle cycle (G72) 7-28
7-18 Grid cycle (G77) 7-29
7-19 True circle cutting (G302 ~ G305) 7-30
7-20 Square side frame outer cutting (G322, G323) 7-42 *
7-21 Coordinate rotation (G68, G69) . 7-45
7-22 Surface cutting cycle (G324, G325, G326) 7-49
7-23 Pocket cutting (G327-G333) 7-61
7-24 Multibuffer . 7-86
7-25 Precedent control 7-88

8. OTHER FUNCTION 8-1


8-1 Optional block skip 8-1
8-2 Arbitrary angle chambering and comer (R, C, R) 8-2

9. PRACTICAL EXAMPLE OF PROGRAM 9-1


9-1 Machining diagram plate FC30 9-1
9-2 Selection of machining position 9-2
9-3 Setting of selected cutting condition of tool-cutter 9-2
9-4 Mounting method 9-3
9-5 Relation with work-coordinate system 9-3
9-6 0 95 Face cutter 9-4
9-7 0 30 Boring 9-5
9-8 018 Center 9-6
9-9 08.5 Drill 9-7
9-10 M10 Tapping 9-8
9-11 0 Borning finishing 9-9
9-12 Program of 2 spindles 9-10

IV
10. ATTACHED LIST 10-1
10-1 List of G function (preparatory function) 10-1
10-2 List for M function (miscellaneous functions) (VM, VK, VS, HG, HS) 10-5
10-3 Related items to the tool-set 10-15
10-4 Howto obtain the cutting condition 10-16
10-5 List for standard cutting conditions 10-17
10-6 List for tape code 10-18
10-7 MC MACHINE DATA 10-21
10-8 TOOLING LIST 10-22
10-9 If Alarm is Issued 10-23

v
!

!
!
1. INTRODUCTION

Thank you for your selection and introduction of our Machining Center.
This manual describes the programming of Machining Center with SEIKI-SEICOS 210M.
In order to use this machining center effectively, it is necessary to understand and program
the features and functions of machine.
Explanation is made for necessary items on programming, such as the programming words
and methods.
Some of the programming terms, the programming methods, etc. which are necessary for the
programs are described separately according to S-format (SEICOS specifications) and F-
format (FANUC specifications). Be sure to understand fully these descriptions according to
the specifications of the machine used for programming. List of S-format and F-format is
given at the end of the this manual.
Accordingly, make programming upon full understanding of the contents.
For detail of parameter, etc., refer to "SEIKI-SEICOS 210M Instruction Manual (Mainte¬
nance)".
This manual describes the programming regardless the type of the machine, standard or
optional. Refer to "Delivery Description" provided at the time of delivery regarding the
difference between the standard and the optional.

1-1
1-1 FLOW CHART FOR MACHINING WORK BY MACHINING
CENTER

m II
c>
Function of using machine:
stroke, machining faculty, accuracy,
ATC faculty, work-limit
Selection of machining position

Machining diagram £
Mounting method Tool, cutting tool Program

Mounting device Decision of machining


4Z Standard face
Stopper
Selection of tool,
Tool, cutting tool order
Decision of cutting
condition_
'

•* Preparation of tooling list


Decision of program
O. c? zero point. Coordinate
system and cutter

4 q. Tooling list path calculation


ICondition and drawing
m
H/A S F
11Phase T01 HOI
PS Drill
3| Boring
T02 H02 IOOO'
T03

+Y
200
c
'50
Centering for
setting _
Work-coordinate Preparation of tool, cutting tool
Measurement of tool length,
9°//30.
diameter 3ÿP2_/ /
Input of work
coordinate Program zero
system point +X

Programming

01234
rp G40G80G98

Mn TOOL OFFSET
01
G9IG30ZO
G30X0Y0
N00I
Input of tool
compensation
02
03
04— T01M06
GS4G90GO0X0

oo fnrio
o
\

Mounting on
Tape punch

CL £ _
tool magazine

Single
i block/Continuous
machining
Tape Card

7? o
t'A, fc'A
0

o [Zÿ> <32
0 II Finished
Material product

1-2
'I
1-2 Programming type
"Programming" means the preparation of process sheet while looking at the diagram.
Programming examples are as follows. In programming, the sequence to write, various
symbols and numerals are decided.

O Program No.00001 ~ O 1986 (TEST CUT PROGRAM)


099999999 (2-1)
G17G40G80G98
| G iG-function (10-Tf G91G28Z0
G28X0Y0
G28 Auto-zero point return (4-12) G91G30X0Y0Z0M19
G30 Second reference point (4-14)
return
N Sequence No.N0001~099999999 N001 (100 MM FACE)
(2-
101
T Tool No.ATC (3-3) T M06
G54G90G00X Y S DT
G43Z H
| M jM-code (10-2) M03
G01Z F
| F |Cutting feed (3-4) X F

M98 jSub-probram call (10-2) -» M98 P98


S Selection of spindle speed (3-2) -» N002 (10.2 MM DRILL)
G54G90G00X Y S T
G43 Tool length compensation (5-9) G43Z H
H
G73 Canned cycle (7-2) M03
G89
G98 G81 R Z F

X Coordinate word (2-13) X Y


Y
Z
M98P98
N005 (20MM END MILL)
T M06
G54 IWork-coordinate system (6-3) G54G90GOO X Y S T
G59
G43Z H
M03
GOO Positioning Linear in terpolation G00Z
G01 (4-8)
G01 Z F
G02 Circular interpolation (4-2) G02X Y R
G03 __
G01 X Y

G41 [Tool diameter compensation (5-1) -* G41 X Y D


G42 !
D
M98 P 98
| M30 iProgram end (10-2) M30 0

l-3

I
.
2. PROGRAMMING LANGUAGE

2-1 Program No.


OAAAA
Be sure to attach max. 8-digit numeral in
following "0" of alphabet on the head of the Program NO.
program.
'OAAAA 'OAAAA
*)The program without Program No. cannot be
registered in NC-system (memory).

M99

M30
d
Mark tor program end
2-2 Program
One program is certainly starts with Program No., and it ends with either one of M02, M03,
M99.
M02, M30 mean the end of main program.
M99 is the end of program.
OAAAA /oAAAA ; fI OAAAA ;

There 2 types of programs, the one is (D main


program and the other is (2) sub-program.

M99

i I M30
y
M02

(Note) 1. Be sure to attach Program No. at the head of one program.


2. Program No. is also certainly necessary for the head of sub-program.
3. Use No. 1ÿ99999999.
No.8000ÿ9999 may be used for special program.

2-1

I
2-3 Main program
Main program Main program
Main program means that there is Program No.
on the head and M30 or M02 Program at the OAAAA
// OAAAA ; /
end.
J

M02

M30 ;

2-4 Subprogram
Subprogram means that there is Program No.
at the head, and that there is M99 Program Subprogram
certainly at the end.
OAAAA ;

M99
kJ
2-5 Composition of program
Program is subdivided into
(D Main program Main program Sub-program
(D Sub-program.
/OAAAA /OAAAA
The NC generally moves in accordance with
the indication of the main programs.
When a command, "Obey the indication of the
subprogram" is contained in the main program,
the NC moves in accordance with the
indication of the subprogram therafter. This
is named SUB-PROGRAM CALL.
When a command, "Return to the indication of M30 M99
the main program" is contained in the
subprogram, the NC moves in accordance
with the indication of the main program.
This is named RETURN FROM SUB¬
PROGRAM.

2-2
It is possible to call other sub-program further among the sub-programs.

Main program Sub-program

01000 ; 02000 ; 03000 ; 04000 ;

M9 8 M98 M9 8
P2000 ; P3000 ; P4000 ;

M30 ; M9 9 ; M9 9 ; M9 9

One fold Two fold Three fold

When counting a sub-program called from the main program as onefold of sub-program call,
sub-program can be called up to max. eightfold.
When some program calls other program, that program to be called is named kid program.
When some program is called from other program, that calling program is named parent
program.

OAMA ; 0xXXX ;

M98
PXXXX ;

M99 ; M9 9 ;

Parent Kid
<-

2-3
H
2-5-1 Sub-program call
The method calling a sub-program is as follows.
M98 P L
A "i_i Number of repeated call

Sub-program No.
The sub-program call of the program No. designated by P is executed by L times.
When M98 P. _ _ L is commanded in the same block as the travel command, the sub¬
program is called after the travel is finished.

2-5-2 Return from the sub-program


The return from the sub-program is performed as follows M99 ;
When M99 is commanded, it returns to the block next to the command of the parent program
call.
(Example) Procedures executing the sub-program I

Twice Once Kid program


N1 ; 02000 ;
M98 P2000 L2 ; N101 ;
N2 ;
7 N102 ;
:
N3 ; N103;
M98 P2000 ; N104 ;
N4 ; M99

2-5-3 Special using method :

a) M99 P a ;
When returning from the sub-program to the parent program, it returns to the sequence
No. designated by p.

Parent program Kid program


N1 ; 02000 ;
M98 P2000 ; N101
N2 N102
N3 N103
N4 N104
N5 M99 P5

2-4

I
b) M99 L /3 ;
The L value of number of the sub-program call is shifted forcedly to the /3 time.

Parent program Kid program


N1 ; 02000 ;
M98 P2000 L99 ; N1
N2 N2
N3 N3
N4 N4
N5 M99L0

c) M99 of the main program


When M99 in the main program is executed, it returns to the top of the main program
and the program is executed repeatedly from the top.
In this case, it doesn't return to the top when it becomes M99Pa, but returns to the
position of the sequence No. designated by P.

Main program
01000 ;
N1
N2
N3
N4
N99 ;

01000 ;
N1
N2 <c
N3
N4
N99 ; P2;

2-5
I
2-6 Address
"Alphabet" is particularly called "address".
G90 GOO X- 100.0 ;

Address

2-7 Data
Numerals (including decimals, symbols)
following the address (alphabet) are called
data. G90 GOO X-100.0 ;

Data

2-8 Word
Address + data is called "word".
Symbol of EOB (CR)

iG90 1 GOO i X-100.0

Word

2-9 Block
The interval between EOB(CR) and EOB is
expressed as a block.
o o O

G90 GOO X-100.0 G01 Y10.0 F50 M08

EOB : It means end-of block (END OF


BLOCK).
Block
CR : It means (CARRIAGE RETURN) or
return of carriage in puncher word (starting of new line). In connection with this
operation, punch is made at the deletion on tape.
EOB and CR are synonym.

2-6
2-10 Sequence No.
Initial part of block can be attached with
number by numerals within 8 digits following N00000001 ~ N99999999
the address No. Example N1 G_ X_ Y_ S_ ;
It is called "Sequence No. "Sequence No. N2 Z_ M_ ;
is not related with machining. G Z_ R F_ ;_
N3_ X_ ;

N10 ;
G_ M_ ;
M_ ;

2-11 How to prepare sequence No.


For setting the actual Sequence No., it is convenient to put it at a well punctuating position for
the program, for instance, tool is changed to be a new tool
Also, the following way is convenient for taking the number.
in case of VM, VK and VS
N
— Operations for every tool
When machined by 1st tool : N1
When machined by 2nd tool : N2
When machined by 3rd tool ; N3
In case of HG and HS
N
/\ 7K Operations for every tool
Identification of pallets
When machined by 1st tool of 1st pallet, N101 is attached.
When machined by 2nd tool of 1st pallet, N102
When machined by 3rd tool of 1st pallet, N103
When machined by 1st tool of 2nd pallet, N201
When machined by 2nd tool of 2nd pallet, N202
When machined by 3rd tool of 2nd pallet, N203

2-7
2-12 Tape dimension specification
Dimension specification is based on EIARS227-A.

Unit:mm
<£ 1.83 ±0.05 Channel
Cord hole
o8
°7
.
o
2.54 ± 0.05 os o

°ot •°
• °OL.
ol
15.44 ± 0.1 o
o
X
TH direction
25.4±0.08 Tape horizontal
9.96 ±0.1 direction
2.54 ±0.08
Feed
hole <t> 1.17±0.05

Tape-
vertical direction
1 pc. 2 pcs
Feed direction

0.108± 0.005
Less than 0.270

2-13 Tape code


Character (word) is a minimum information of command given on tape, it can be variously
combined to make into readable word by the system.
Character as minimum information can be expressed by the existence of 8 holes on tape.
Character using NC-machine:
a) Numeral 0, 1,2, 3, 4, 5, 6, 7, 8,9
b) English character A, B, C, D, •X, Y, Z
c) Special symbol +, -, / (slash) CR (EOB), ER, SP (space) Del (delete), etc.

2-8
3
2-14 Tape format
Format of command tape is as follows:
N8G3X (Y, 2) ±5.31 (J, K) ± 5.3B3 F6 H3 T4 S5 M4 ;
(D3)

N8 Sequence No. in 8 digits


G3 Preparatory function of 3 digits
X (Y, Z) ±5.3 5 digits over decimal point, 3 digits less than decimal point in
the positive/negative values of axial commands X, Y, Z.
I (J, K) ±5.3 5 digits over decimal point, 3 digits less than decimal point in
the positive/negative values of axial commands I, J, K.
B3 B means 3 digits of positive value alone.
F6 6 digits feed function.
H3 or D3 3 digits Offset No.
T4 4 digits' tool function code.
S5 5 digits' spindle function code.
M4 4 digits' miscellaneous function code.
It shows end of block.

2-9
2-15 Address and meaning
Address usable with NC and its meaning are as follows:
Same address may be used for different meanings by the indication of preparatory function
J
(G-function).
Pay attention to the fact that the indicated value range is different by the specifications of
machine.

Function Address Meaning Range of indication Remarks


value
Program No. : (ISO)/ Program No. 1 ~99999999
0 (EIA)
Sequence No. N Sequence No. 1 ~99999999
Preparatory G Indication of operation mode 0~999 See the attached list
function
X. Y. Moving command of coordinate ±99999.999 mm
Z axis _
A. B. Moving command of additional ±99999.999°
Coordinate C axis
language R Circular radius ±9999.999 mm
R-point of canned cycle ±9999,999 mm
I. J. K Circular Center coordinate ±9999.999 mm
Feed rate F Indication of feed rate 1'~999999mm/min
Spindle S Indication of spindle speed Based on machine S5 digits
function specification
Tool function T Indication of Tool No. 0~9999 T4 digits
Miscellaneous M Indication of ONFF on machine 0~9999 M4 digits See the
function side _ attached list
Second B Table indexing 0~359° 0-point return of B-axis
miscellaneous B=0
function_
Offset No. H. D Indication of Offset No. 0~400
Dwell P. X Indication of dwell time 0"-'99999.999 sec.
List of P Indication of sub-program No. 1 ~99999999
Program No.
Repeating L Repeating frequency of sub- 1-99999999 Calling frequency is up
frequency program No. _ to eight fold.
Shift amount Q Cut-in amount of canned cycle 8388.607
Shift amount _ ±9999.999 mm

Note) Decimal-point input possible addresses X. Y. Z. I. J. K. R. A. B. C

2-10
2-16 Program zero point and coordinate system
V

z In case of program, be sure to decide the


program-zero point (O-point) firstly.
Program zero point is decided by
programmer by looking at the machining
X diagram.

X
Y

z
Coordinate: Numeral to decide the

X
* Y position of diagram with the standard of
3 straight lines cros-sing mutually
perpendi-culariy for firm decid-ing the
position of optional point in the space.

Y(+)
X

Z(-)
X(+)
K

Y
t X(-)
Z(+)
z
Y(-)

2-11
?
1

2-17 Absolute command (absolute coordinate value)


This is done by G90.
In program, there are 2 commands for axial (X, Y, Z) movement, and one of them is absolute r.
(absolute coordinate value) command.
Command is made at the position (absolute coordinate value) from program zero point. There
is one zero point.

Y
I
250
50
150
120 30 50
P4
.60 ,
30 -ÿ-P1
-ÿ-P2
X
Program zero point

P4

t
90 60
t

1t''
30 PI P2
i
J

& X

— 50

200
150

N1 G90 X50.0 Y30.0 G90 hereafter-moving command is absolute command.


Moving to P1.
N2 X200.0 Y30.0 Moving from P1 to P2.
N3 X200.0 Y90.0 Moving from P2 to P3.
N4 X50.0 Y90.0 Moving from P3 to P4.
N5 X0 Y0 Movement from P4 to program zero point.

2-12
1
2-18 Incremental command (incremental value)
It is done by G91.
In program, there are 2 commands of axial (X, Y, Z) movement.
One of them is the incremental (value) command.
Now, the place where there is the spindle is program-zero point.
Accordingly, zero point moves with the axial movement.


Y

7
'
120
_ - 30 /
P4
250
150
SO
60
~ÿ~P3
30 ~ÿ-.P\
-f£~P2
X
Initial program zero point
(zero point)
Y

P4 P3
/ 1
t

60
/
/

30 t-'' PI P2
X


* 50 150

N1 G91 X50.0 Y30.0 G91 hereafter-moving command is incremental (value)


command. Moving to P1.
N2 X150.0 Y0 With P1 as zero point moving to P2.
N3 X0 Y60.0 With P2 as zero point moving to P3.
N4 X-150.0 Y0 With P3 as zero point, moving to P4.
N5 X-50.0 Y-90.0 With P4 as zero point moving to the start point.

2— 1 3
2-19 Right hand perpendicularly crossing coordinate system.
Standard axis X, Y, Z +Y
Swivel axis A, B, C
'k+V
Auxiliary axis U, V, W +B
+U

+c
u +x

2-20 Z-axis +z
+W
J/ +A

In case of Vertical-type machining center


Vertical movement of spindle unit is r
expressed as Z-axis. ©
With the horizontal type machining center, si z
J \

P
axis of spindle is expressed as Z-axis. Le V,

DIRECTION
Z-minus : movement approximating to the
article.
Z-pius : movement getting away from the
article.
Y

2-21 X-axis
Lateral movement of the spindle unit is
expressed as X-axis.
p x
Axial movement is mainly considered with the ••To. ©
©
center of spindle (tool). X
©
DIRECTION .©
X-plus : Right-ward (table:
leftward) © *
X-minus : Leftward (table: rightward)
* Movement should be considered with C3
spindle mainly, and should not be sticked to
\
the movement of table.

2-14
2-22 Y-axis
In case of Vertical-type machining center
Longitudinal movement of spindle (tool),
namely, column-longitudinal movement is
expressed by Y-axis.
m \
C3
/> Y
©

With the horizontal type machining center,


vertical direction of spindle is expressed as Y- ©
axis.

r
DIRECTION
Y-plus : direction getting away from e
operator side.
Y-minus : direction towards the operator
(in front).
t
2-23 Z-axis zero point
Program is generally made by deciding the I
standard face at the machining diagram as
zero, namely,
(D machining surface with face-milling,
.
© surface regarded as standard by the
description of dimension even without
machining.
G28
$
(First reference point)
With (D, © decided as ZO (zero), program is Tool length
performed.
Z-value on the program is always tool-nose
position.
Tool-length compensation will be mentioned
later. Z 30.0
30
Z 0 face
50
Z-50.0

Work

/ / / / ///////
Table

*) Instruction of ZO (zero) to machine side is made with one touch by


the use of W-setter.

2-15
j
2-24 X, Y, Z standard coordinate and actual work


A
z Y
v
© e

©
©

Z
*
A © >5/J
© \

Vertical-type machining center


V

* e' X
•Display is made by the movement
of spindle
i

0
Z© 0 Y©
,x©
.
’• Table


X ©
JÿX© k Spindle
Horizontal type machining center

* In programming on the desk, do not mind the movement of table by considering it on the
diagram.

2-16
3. M, S, T, F, B FUNCTIONS

3-1 Miscellaneous (M-function)


At the time of operation of this machine,
command is made with spindle-rotation start,
stop, coolant ON, OFF, mirror image, table M AAAA ;
rotation, ON-OFF control on the side of tool- MOO
change, etc. within 4 digits (machine for use
with 2 digits usually) following the address-M.
M01
M02

S
M99

Note 1) It is impossible to make command for


M-function over 2 pieces on the same
block.

program G90 G54 GOO X100.0 Y150.0 S1000 :


Spindle rotation ON M03 G43 Z50.0 H01 :
Coolant ON M08 M03 :
Spindle rotation stop M05 M08 :
Coolant stop M09 ZO;
G01 X300.0 F250 ;
M05 :
M09 :

For the list of M-functions, refer to the attached list.

3-1
3-2 Command method of pallet change
1. Case of VK
1) Home position at the pallet change
<2> X-axis 3rd reference point position. (G91G3OP3X0)
(D A pallet is mounted on the table and clamped.
(D The slider forwards. !;

@ The pallet has been completed to turn either clockwise or counter-clockwise.


(D The APC door is closed. (The notch for manual openlosed is inserted.)
!
© The position of the Z-axis G28.
2) Program example
i
G91G28Z0 Z-axis machine reference point
,
G28Y0 Y-axis machine reference point
G30P3X0 X-axis 3rd reference point
M60 Pallet change
Note 1) M60 is executed in the cycle of the macro program.

2. Case ofVSVS, VS
1) Program example
G91G28Z0 Z-axis machine reference point
G30P3Y0M60 or G30P4Y0M60 -Y-axis 3rd reference point or 4th reference
point pallet change
G30P4Y0M60 or G30P3Y0M60 X-axis 4th reference point or 3rd reference
point pallet change
Note 1) The above program calls the macro program by M60 command, andis executed all.

....
;

3. Case of HG400 type


1) APC program is executed by a following M code.
1) M60 cycle Changing operation is performed without disting-wishing between the
left pallets and the right.
2) Program example
G91G28Z0
(
G28X0B0
M60

3-2
4. Case of HG500 type

.. .. ....
1. There are three kinds of APC programs as follows:
1) M60 cycle Changing operation is performed without disting-wishing between the

....
left pallets and the right.
2) M61 cycle A pallet on machine is carried out left side and A right side pallet is
carried in.
3) M62 cycle A pallet on machine is carried out right side and A left side pallet is
carried in.
2. Program example
1) M60 cycle 0 1234
G91 G28 ZO
The contents of M60 canned cycle G28 XO YO
M60
M60
T01 M06
In case a pallet is left side In case a pallet is right side

G91 G28 ZO BO G91 G28 ZO BO


G30 P3 XO YO M60 G30 P4 XO YO M60- - out
A pallet on machine is carried
left side.
G30 P4 XO YO M60 G30 P3 XO YO M60'~.
A right side pallet is carried in.
End

2) M61 and M62 cycle


The contents of M61 canned cycle

M61 0 0001
G91 G28 ZO
In case a pallet is left side In case a pallet is right side G28 XO YO
In case pallets are both sides M61—A right side pallet is carried in.
M98 P1234’"Pr°gram for'A work
G91 G28 ZO BO machining.
G30 P4 XO YO M60
G30 P3 XO YO M60

(ÿEncP)
The contents of M62 canned cycle

M62
In case a pallet is left side In case a pallet is right side
In case pallets are both sides -M62---A left side pallet is carried in.
G91 G28 ZO BO M98 P2345 for B Work
machining.
G30 P3 XO YO M60
M30
G30 P4 XO YO M60
L

End

3-3
....
5. Case of HS type
1) APC program is executed by a following M code.
1) M60 cycle

2) Program example
Changing operation is performed without disting-wishing between the left
pallets and the right.

G91 G30 XO YO ZO P4
i
:

;
BO
M60

3-4
;
i
3-3 Command method of spindle speed (S-function)
A. Make direct command for spindle speed by
5 digits following the address S.
S AAAAA

B. Command value
S45 (45 min*1)

/
S4500
/
(4500 min'1)

C. Programming example
Change to lower feed, 500 min*1 S500;
Spindle rotation M03;

Change spindle speed to 5000 min*1 for S5000


rotation.

Reverse rotation M04;


Spindle stop M05;
Change the speed for rotation. S500 M03;

Note 1) S-command makes speed change alone, and spindle does not rotate.
Whereas, in case of S-command during rotation, change the speed for rotation.
Note 2) With S-command except for max/min spindle speed, upperower maxin speed can be
set.
Note 3) By spindle rotation with auto-mode (MDI, Memory, tape), spindle is stopped by manual
mode, thereafter, the auto-mode will induce “alarm".
Set to auto-mode by rotating the spindle by manual mode again.
Note 4) Simultaneous command for axial movement with M03 or M04 will induce rotation with
axial movement. Simultaneous command of axial movement with M05 will cause
spindle stop after the end of axial movement.
Note 5) With movement in high/low speed area, gear-shift operation is made automatically.
Note 6) Changing speed with gear shift in feeding operation is not allowed for fear of tool
damage.

3-5
3
:

3-4 Tool No. call (T-function)


A. Command is made within 4 digits (2 digits
generally) of numerals in following the
T AAAA
address-T. After execution, tool is called to
the stand-by position, and arm is hold.
This code is effective until the next T is
commanded.
B. Program example
A Case in calling the Tool No.15 T15 :

C. Case in calling the Tool No.20 during the


positioning operation
G90 GOO X200.0 Y15Q.0 T20:

While making rapid feed to absolute


coordinate values X200.0 Y150.0, select
Tool No.20, and then, it is hold in arm.

D. Relation with tool change:

At N1, call T01. N1 T01 :


At N2 with T01 spindle, make automatic N2 M06 : V

change operation for tool.


After the end of operation, T01 is kept at the
spindle.

E. Tool No. is same as with Magazine No.


Then, T_No. is T01~T30 by (*Magazine
Tool mounted on Magazine No.
No. is the same as with Tool No. )
isT AA.

3-6
F. At time of tool change, there is stand-by
position for simultaneous change of the
current and next tools.
Case calling Tool No.15 to the stand-by
position. T15 ;
(Actual programming example)
Simultaneously with x, y-axial movement
and spindle change, Tool No.15 is called to G54 G90 GOO X100.0 YO S100 T15 ;
the stand-by position.

G. X, Y, Z-axial positions at time of tool change (Case of VK)


JG91 G30 ZO
(Second zero point) (Case of HG) [G30X0Y0

G91 G30 XO ZO
(Case of VM)
G30 P3 XO

H. Precaution for tool change


Note 1) There is a limit on tool shape, do not use other tool than limited.
Note 2) In case commanding TX XM06 of spindle-tool again, no tool exchange is done, and
advance is made to the next.
Note 3) In case of VM, VG, VK and HG, tool exchange is automatically done by the command
of M06 (ATC canned cycle).

3-7
3-5 Programming example of tool change (Case of VM, VK, VS)
01234 ;
M31 (Chip conveyor start) G17G40 G80 M31 ;
N1 ;
Keeping tool-change operation,
T01 spindle T01 M06 ;

T02 stand-by T02 ;


G54 G90 GOO XO YO S300 ;
G43 Z30.0 H01 ;
M06 (ATC canned cycle) M03 ;
Case of VK
M15 ; Machining program
G91 G30 ZO ; N2 ;
G30 G91 Y0M19; T02 M06 ;
(TXX) M06 ; T03 ;
G54 G90 GOO X100.0 Y-50.0 S1000 ;
Case of VM, VS G43 Z30.0 H02 ;
TXX ; M03 ;
G91 G30 P2X0ZOM1O6;
G30 P3 XO M06 ; Machining program
G30 P2 XO M107 ;
N8 ;
9 The above operations are performed by M06 T08 M06 ;
T01 ;
command.
G54 G90 GOO XO YO S800 ;
G43 Z30.0 H08 ;
Note) With the VM, VS, tool exchange is done in
the order of Z -* X. S Machining program
By adding the option, simultaneous move¬ G91 G28 ZO ;
ment of Z and X is can be done. G28 XO YO ;
M30 ;

i,

3-8
3-6 Programming example of tool change
3-6-1 Case of HG
1. There are three kinds of ATC program of HG as follows:
1) ATC position return is performed by main or sub-program.
2) A method of using ATC canned cycle (available by changing the parameter)
3) A method of performing ATC position return and arm swing operation, (effective to save
the ATC time)
2. Program example
1) Performing ATC position return by sub-program.
Registered as sub-program of ATC position return.

O 1234
0 0098
G91 G28 ZO
G40 G80 M19
G28 XO YO
G91 G30 ZO M09
M98 P98

.....
G30 XO YO
T01 M06
G90 M99
G54 G90 GOO XO YO S300 102
Machining program
M98 P98
T02 M06

2) A method of using ATC canned cycle.


Registered as ATC canned cycle in SEICOS.

O 1234
G91 G28 ZO
G28 XO YO
M15 T01 M06
G91 G30Z0M19 G54 G90 GOO XO YO S300 102
G20 XO YO .Machining program
TXX M06
T02 M06

3-9
1
3) Performing ATC position return and arm swing operation at a time.
The contests of the operation.
(D Axes of X, Y, Z are returned to ATC \
position. 0 1234
(2) M09, M05, M19 are performed. G91 G28 Z0
(3) Arm swing operation will be start when Z G28 XO Y0
Axis comes to 40mm before the ATC G91 G30 X0 Y0 Z0 T01 M06
position.
G54 G90 GOO XO YO S300 TO2
Note 1) Operation of 3) will be done when rapid
feed override is 100%.
Note 2) Take care that tool noses do not
s
G80
.Machining program

interfere with fixture and so on. G91 G30 XOYO ZO T02 M06

3-10
\
3-6-2 Case of HS
This is operated by ATC fixed cycle registered in SEICOS.
M06 Fixed cycle O 1234
G91 G28 ZO
N1 G30Z0M115 G28 XO YO
N2G30Y0P3X0TXX M106 T01 M06
N3 G30 XO G54 G90 GOO XO YO S300 T02
N4 M06 S
N5 G30 P3X0M107 l Machining |
N6M116 S
T02 M06

[Explanation]
M106: Spindle position deciding, shutter close , tools temporary stop W arm swing spindle.
TX X : Calling waiting position of tools called.
Spindle tools = instantly completed by TX x command.
M06: W arm turn -*• tools fixing.
M107: W arm swing return -* shutter closed.

Note 1) P3 XO position differs according to kinds of tools.


Note 2) Kinds of tools are set on tool layout screen. Be sure to set the kind.

3-11
3-7 Command method of feed speed (F-function)
A, Command the distance between 2 Command Actual speed
Commanded points by linear or circular
interpolation, also, command the moving
F0001 1mm/min (minimum)
speed by the numerals 1 ~999999 follow¬ F1 1mm/min
ing 1~5000. F0010 10mm/min
F0100 100mm/min
F5000 5000mm/min
B. Actual program
Note 1) Be sure to put F AAAA G01 X150-0 F80 :
on G01, G02, G03. G02 X200.0 Y300.0 R50.0 F4QQ ;
Note 2) F-unit is the moving amount (mm) G03 X250.0 Y50.0 R100.0 E3Q0 ;
per minute, namely, mm/min.
Note 3) It is possible to omit "0" of the upper digit by numeral.
It is called "reading zero".
Note 4) The range of F-function which can be actually commanded depends on the
machine specification.

Synchronous feed speed of plural axes>


Cutting feed speed commanded by F code becomes that of tools which move on the
straight lines.
In this case, the cutting feed speed is the composite speed of the axes commanded,
and the cutting feed speed of each axis is as follows.
Example G01 G91 Xa Yb Zc Ff ;
aXf
The cutting feed speed in the direction of X-axis Fx = but L = V ak+b2+c2
L

bXf
The cutting feed speed in the direction of Y-axis Fy = ——

c*f
The cutting feed speed in the direction of Z-axis Fz =

When a rotation axis is commanded in the same block, it is regarded as straight line
axis by degree unit, and linear compensation is made.
Example G01 G91 X100. C90. F200 ;
90.X 200
The cutting feed speed in the direction of rotation axis (C-axis) Fc =
L
But, L = V 100.ÿ+90.ÿ (mm)
Ending point

: point

3-12
3-8 Table-indexing command method (B-function) HG series
Command the table rotation by address-B and 3-digit numeral.
By machine specification, minimum indexing angle is 1 ° .
With absolute command, B00~B359 (1 ° ) is the standard.
Rotation is made short-circuit direction (the left diagram shows the case of 180° ).

B180
BOO

B180
B270
( B90

BOO
BOO

B90 JTL
Spindle

B270

B90

BOO

I
$ Waiting pallet position

J!L BOO- position

Spindle i

J+L Spindle

3-13
;

r
.
4. G-FUNCTION (preparatory function) ]
4-1 G AAA
it shows the meaning of program-command by
the numeral of 3 digits (usually 2 digits) GOO Positioning (rapid feed)
following Address
G01 Linear interpolation (cutting feed)
G.
G02 Circular interpolation CW
That is, it is a preparatory function
concerning the movement of spindle (tool). G03 Circular interpolation CCW

Refer to the list of G-functions. (The attached


list.)

4-1

'1
4-2 GOO (Positioning)
It is called rapid feed or rapid traverse, and
rapid feed is made from the present position to Y
the next destination (X, Y, Z).
A

Destination
40

+ X

Z Current position
50 80

How to write the program


GOO X80.0 Y40.0 :

Y
..
Note 1) The route at moving time is not A
necessarily limited to the straight line.

40
Note 2) Rapid traverse rate is different by the
type of machine.

Note 3) Movement may be different by the


following. about 45°
X
Absolute command G90 40 80

Incremental command G91


Absolute command
Note 4) After commanding once, it is possible G90 GOO X40.0 Y40.0
to omit by efficacy (called modal).
X80.0 Y40.0 :
Incremental command
G91 GOO X40.0 Y40-Q :
X40.0 Y0

4-2 z
4-3 G01 (Linear interpolation)
It called linear cutting or cutting feed, and Current
position Destination
linear movement is made from the current
position to the next destination. 400

Feed rate (feed function) F is necessary.


t

How to write program


™5*-- 43
© X©
G91 G01 X400.0 F200 ;

F is a moving amount (mm/min) per minute

Example
300
40 1t 200 10 40
2
1
50
I
100
250
50
4
T 3
100 150
-fil
Start “
point
250
Put clear arrow mark.

Start point -* 1 Rapid traverse rate G91 GOO X100.0 Y250.0;


positioning G01 X300.0 F300 ;
1 2 Movement by cutting G00Y-100.0 ;
speed
G01X-300.0 F300 ;
2 -*• 3 Rapid traverse
G00X-100.0Y-150.0 ;
3 -*• 4 Movement by cutting
speed
4 Starting point
Return to the start point
by rapid traverse rate.

4-3
4-4 G02, G03 (circular interpolation)

Rotary direction

It is called circular cutting, and it moves to the


direction in the feed rate F AAAA along the
circle (arc) towards the commanded point.
+Y axis
Circular radius is commanded with "R".
A
G03 G02

|G02 G03)
G03

+Z axis +X axis
G02

How to write program

X Coordinate value of end point G02 X_ Y _ R_ F


(destination) G03 X_ Y_ R_ F.
Y_
R_ Circular radius
F_ Feed rate per minute
Actual program
Y
Arc 1
Case of arc 1
G02 X70.0Y0R70.0 F150 ;
Case of arc 2 Arc 2
G03X-40.0 YO R40.0 F150 ; R70
:40

-40 70

O With R-indication, when the arc is over 180° , command it with R-_ .
Whereas, full circle (circle of 360° ) cannot be commanded with R-indication.
For full circle, command is made by the use of I, J, K. Without using R even by the
ordinary circular command, it is possible to command by using I, J, K.
In the use of I, J, K, command is made with the direction and distance in view of the circular
center from start point.
(I corresponds to X-direction, J to Y-direction, K to Z-direction)
4-4
4-5 G02, G03 (program example)

Program example

Y B (70. 80) Feed


80 F300

R50
40

40 -- Start A 60R
20 point
End
20 -- 30 20 60 ' point C
(130.20)

(00)/
Program
zero point
77
ou 70

I
130
>-X

How to write absolute command program


by radius R indication
A
B


B
C
G90 G03 X70.0 Y80.0 R50.0 F300 ;
G90 G02 X130.0 Y20.0 R60.0 F300 ;

How to write incremental command

——
program by radius R indication
A B G91 G03 X20.0 Y40.0 R50.0 F300 ;
B C G91 G02 X60.0 Y-60.0 R60.0 F300 ;

How to write absolute command program


by the use of I, J, K
A —>ÿ
B G90 G03 X70.0 Y80.0 1-30.0 J40.0 F300 ;
B -> C G90 G02 X130.0 Y20.0 10 J-60.0 F300 ;

How to write incremental command


program by the use of I, J, K


A -* B G91 G03 X20.0 Y40.0I -30.0 J40.0 F300 ;
B C G91 G02 X60.0 Y-60.0 10 J-60.0 F300 ;

_
G90, G91, F are modals, then, those after the second digit can be omitted.

4-5
I
4-6 G02, G03 (program example)

Example of circular program exceeding


180°

75.0 B ‘
R50.0

] Start point
(Program zero. 25.0
point)\
\
-50.oV A (X0.Y0I

'

How to write absolute command program


by radius R indication


A -> B G90 GOO Y75.0 ;
B C G02 X-50.0 Y25.0 R-50.0 F300 ;

How to write absolute command program

——
by the use of I, J, K
A B G90 GOO Y75.0 ;
B C G02 X-50.0 Y25.0 I0J-50.0 F300 ;

I
L .

4-6
:

4-7 G02, G03 (program example)

Full circular program example

* In case of full circle, R is not used.

.X70.0 Y50.Q
:o.o
jL A
B

50.0
Start point
Program zero
point
X
50.0
With absolute command
A -> B G90 GOO X70.0 Y50.0 ;

0

B B G30 (X70.0) (Y50.0) 1-20.0 F100 ;
B A GOO X50.0 (Y50.0) ;

With incremental command

A -» B G91 GOO X20.0 ;


B 0 B G03 (XO) (YO) 1-20.0 F100 ;
B
— A GOO X-20.0 ;

Note 1) ( ) word can be omitted.


Note 2) As explained on the above X-Y plane, the same can be said on Y-Z plane. Whereas,
command G18 in case of X-Z plane, and command G19 in case of Y-Zplane. Refer
to G17, G18, G19 (Refer to 4-11)

4-7
4-8 Summary on GOO, G01, G02, G03

GOO X _ Y_ (Z_ ) ;
<D

_
G01 X _ Y_ (Z _ ) F_ ;
© AVA
G02 X_ Y _ (Z_ ) R _F
<3>
o G03 X Y _ (Z_ ) R_ F

9
Case positioning with rapid traverse toward GOO X100.0 Y200.0 ;
<D destination GOO Z50.0 ;
Moving case with linear interpolation toward G01 X100.0 Y200.0 F250 ;
(D
destination G01 Z-20.0 F100 ;
Moving case with radius R, with circular G02 X100.0 Y200.0 R75.0 F250 ;
<s>. interpolation toward destination
(clockwise turn CW)
Same as the above (3) (Counter clockwise G03 X100.0 Y200.0 R75.0 F250 ;
<D C. C. W)

(Note) GOO, G01, G02, G03 are G-codes of the same group.
Once they are commanded, it is effective until the other G-code of the same group is
commanded.

4-8
4-9 G04 (dwell)
It is used for command of stop-ping time during
auto-operation.
G04P AAAAAAA ;
It stops for only the indicated time.
or
In addition to address-P, X can be indicated.
G04 X A AAA, AAA ;

Program example
G04 P2500 ; 2.5 sec. dwell
G04 P500 ; 0.5 sec. dwell
G04 X2.5 ; 2.5 sec. dwell
G04 P2.5 ; 2.5 sec. dwell
At time of address-P and X, decimal point
can be input.

Max. command time


99999.999 sec.

Example of actual program

A Case of rotation of finishing spindle at spot¬


facing final end with speed 60min'1
i

*) In 2 rotations of tool, cutting-in of Z-axis is 3.0


not made, thus plane-degree of surface can
be obtained. %
Howto obtain the dwell Calculating formula
P=K. 60 G91 G01 Z-3.0 F6 :
TT
G04 P2000 : 2 sec. dwell

P: Dwell (Second) GOO Z3.0 :

K: Rotating speed for dwell


N: Rotating speed per minute

4-9
I
4-10 Exact stop (G09)
When G09 command is commanded in the same block as travel command, the feed is
decelerated to stop when one block is finished, and after checking that the machine position is
located within the range designated by a command position, the program moves to the next
block.

(1) Command from


G09

(2) Program example


N1 G09 G91 G01 X100. F500;
N2 G01 Y-50. ;
When G09 is commanded, an edge occurs

I on the corner.
When G09 is not commanded, a round
occurs on the corner.

4-10
4-11 G17, G18, G19 (plane indication)

Plane indication

In performing the next ® or (2), it is necessary


to make plane indication previously.
(D Circular interpolation
G02, G03
(2) Tool diameter compensation

G41, G42 Y
/
X

/
Y
X
Z

G17 (X-Y plane)

X
I
z z X
G18 (Z-X plane)
i
/Y
i

G19 (Y-Z plane)


Note 1) G17 is selected at the time of power-
Y
A
input.
Note 2) Usually, it is used with X-Y plane.

4-1 1
I
I
4-12 G27 (zero-point return check)
:ÿ
It is also called "reference-point return check".
When the end point (positioning position) is G27 X _ Y _ Z_ ;
matched to the machine-zero point (first (Case of simultaneous 3 axes)
reference point), zero-point return lamp lights. I
When different, no lighting is made, then, alarm
occurs. Program zero
L-
Y point

/ k Current

—- 350

250
c
position
n ''X 50.0
Y —50.0 )
200

PO

- -300
X
( Machine-zero point
(first reference point)
( X- 300.0
Y- 250.0
)

* Case of incremental command :


Distance from current position to machine- G27 X - 350.0 Y - 200.0 ;
zero point
i
I
* Case of absolute command :
Coordinate value of machine-zero point G27 X - 300.0 Y - 250.0 ;

i
.

4-12
4-13 G28 (auto-zero return)
It is also called first-reference point. Zero-
point return lamp lights by positioning (return)
to zero point of machine-body proper.

Program command G28 X _ Y_ Z_ ;


(Case of simultaneous 3 axes)
Note 1) Here X_ Y_ Z_ is called mid¬
Y
point.
©
150 Middle point
Actual movement
©
Current
<X Current position position

.X
(D Middle point ©

ft
Moved with rapid
x
traverse (X50.0 50 200
Y150.0)
First
reference point

\/ G90 G28 X50-0 Y150.0 :


© First reference point O Move with rapid
feed Y
O Zero-point A
return lamp
lights.
Current
position
100 (middle
Note 1) Pay full attention to the movement with point)
G90 and G91.
Note 2) Mid-point can be taken at any point.

ft
Note 3) Execution with single block stops once X
at mid-point. 200
By pressing the re-start button, zero-
First
point return is made. reference point
Note 4) Right diagram shows the movement of
actual machine in case taking the
current position and mid-point as the © G91 G28 X0 Y0 : Same
same position. A G90 G28 X200.0 Y100.0 : J meaning

4-13
4-14 G29 (auto-return from zero point)
It is called auto-return from reference point.
positioning can be made for the command-
position (namely, X _ _ _
already command by G28) .
Y Z in the same
block of G29) through the mid point (mid-point

Y
G28 X
_ Y _Z
!

A
* Command is made just after G28 in general. Mid-point
200 "100
i
/
50 /
t
Case of absolute command Current
9
Auto-return
/
position' position
9
•Or
X
100 0 // (0, 0)
t
Program zero
100
( point
t
t
»

-60
&(0, 0) 100
+->-X
200

First
reference point

G29X100.0 Y50.0:

Case of incremental command


G91 G28X150.0 Y100.0 ;
G29 X200.0 Y150.0 ;

4-14
i
4-15 G30 (2nd, 3rd, 4th reference point return)
It is also called second zero point return (3rd,
4th) . _Z
G30 P2 X _ Y
Commanded axis by G30-command is
G30 P3 X _ Y_ Z
positioned through the commanded point to the
2nd (3rd, 4th) reference point. G30 P4 X _ Y_ Z
It is positioned by reference point.

Note 1) In omitting P", 2nd zero point can be G30 X_ Y _Z


selected.

Program example

Z-axial 2nd zero point return G91 G30 ZO

\ .

2nd-zero point return of X, Y 2 axes G91 G30 XO YO ;

_
Tool No. No.5 is kept at the spindle T05 M06
M01

Note 2) For G91, 2nd block is omitted.

Example using X-axial 3rd, 4th zero point for


pallet-change position.
G30 P3 XO ;
G30 P4 XO ;

Note 3) Previously set 2nd, 3rd and 4th reference point positions as parameters.
Note 4) This commandis used when auto-tool change (ATC) position is different from
reference point.
Note 5) Before commanding G30, reference-point return should be made by G28 or manual
reference point return once at least after power input.
Note 6) Similar to G28 command, when executing this command as a rule, cancel the tool-
diameter compensation, tool-position offset and tool-length compensation.

4- 1 5
4-16 G31 (skip function)
By the input of skip signal from the outside into
command of X, Y, Z following G31, this
command-remaining is intercepted, and next A
block is executed. _
Skip signal input
A

A
Similar to G01, up to the destination, linear 100 Y
inter-polation is made. T

Actual movement -200.0


X

Movement without
input of skip signal N1 G31 G91 X200.0 F150 ;
N2 Y100.0 ;

Y100.0-
A A
Movement of absolute command Skip signal input

0-
Actua! movement
(X200.0)

Movement without N1 G31 G90 X200.0 F150 ;


input of skip signal N2 Y100.0 ;

Note 1) Generally, it is used for auto-centering and tool-length measurement.


Note 2) Under G40 state, command G31.

4-16
I
5. G-FUNCTION (Length Compensation, Diameter
Compensation, Position Compensation)

5-1 Philosophy of tool length compensation (G43, G44, G49)

A. Command: G90 (G91) G43 (G44) Z H

L-
> Offset Number
G43 (+ Offset)
G44 (- Offset)

Final position of move


TOOL OFFSET command of Z-axis can
01 250.0 shift a value which has
02 set in offset memory to
03 Zffi plus direction.

Spindle

G90G43Z0H01 Spindle nose @>


(H01= 250.0)
Tool tip on \ i

At the time of programming,


program (G44# program Z-axis at the spindle
Tool length nose without considering tool
length.
G90GO0Z0 HQ
(Without offset)
V
S3 * Set a tool length in the
"TOOL
-11 measureOFFSET” screen,
a tool length
2 11
©
u
- before machining.

A
$ 250.0
5
I 5
ze
zo
ggWorkpiec e (Program zero point)
yyV//////////,
I
Table

70
(Program zero point)
M06T01
700.0 G54G90 GOO XIOO.O Y0 S1000

if'
50.0 30.0 G43-Z30.0H01
TOI gj M03
G01Z-50.0 F100

250.0
Table Tool length
H01

5-1
5-2 Tool length compensation (G43, G44, G49)
By this command, add or subtract a compensating amount, which is designated in H code, on
the final position of any one axis.
A. G code
G43 : Tool length offset (+) direction (Final position + compensating
amount by H code)
G44 : Tool length offset (-) direction (Final position - compensating
amount by H code)
G49 : Cancel tool length offset
j
B. Form of command
l
G43 a : any one axis
a H.
G44

By this command, add by G43 or subtract by G44 a compensating amount, which is designated
in H code, on the move command of axis on and after.

Alteration of offset No. (H_ )

_
In case of alteration of offset No. (H ) in the middle program, offset becomes tool
compensation amount designated by altered offset No.
;

Program example

(Final position) (Toll length compensation)


G54 G90 GOO XO YO ;
G43 ZO H01 ; Z-axis : 200. +200. compensation
G01 Z-30. F500 ; Z-axis: 170.
Z-100. ; Z-axis: 100.
G44 GOO ZO H02 ; Z-axis : -150. -150. compensation
G01 Z-30. F500 ; Z-axis : -180.
Z-100; Z-axis : -250.
G49 ; Z-axis : -250. Cancel
GOO ZO Z-axis : 0. Axis movement of cancellation : -150
Note) H01: 200.
H02: -150.

5-2
I
Tool length offset can be fixed on the Z axis by parameter setting.

G43 G43
Z_ H or H.
G44 G44

By this command, add by G43 or subtract by G44 a compensating amount, which is


designated in H code, on the move command of axis on and after.

C. Cancel of tool length offset

G49
H00

By this command, cancel the tool length offset.


When executing this block, there is no axix movement that an amount of cancel which is
corresponding tool length compensation
On and after the next block, at the time of axis movement of absolute command execute
cancelling thecompensation.

Program example (Example of incorrect program)

G54 G90 GOO XO YO ;


G43 Z30.0 H01 ;
S
G49 ; Cancel of tool length offset
GOO Z3.0 ; Z-axis movement with cancellation of offset amount
Collision

D, Precautions
(a) Alarm will occur by the following command in the block of G43, G44 or H.
G04, G53, G92, G52
G28, G30
(b) In case of commanding H individually, alarm will occur if in the condition with tool
length offset on any two axes.
(c) Tool length offset can be used maximum two axes one axis each.
Alarm will occur if applying offset on three axes or more.
G43 Z_ H_ ; Apply tool length offset on Z-axis.
G43 W. H_ _ ; Apply tool length offset on W-axis.
(d) In case of applying tool length offset on any one axis, alarm will occur if tool length
offset can not be determined in G43 or G44 block.
(e) When altering compensating amount, it becomes effective from the block with G43,
G44 or H.
5-3
H
(f) The following notice is required, about vector of tool length offset when pushing the
reset button. j
(i) In case of parameter No.5002 #5=0 (Clear a vector of tool length offset by reset.), j
clear a vector of tool length offset when pressing reset button.
Therefore, establishment of tool length offset is required by commanding any one j
of G43, G44, H even if reset condition is G43 or G44.
(ii) In case of parameter NO.5002 #5=1 (Hold a vector of tool length offset by reset.),
hold a vector of tool length offset when pressing reset button.
Therefore, a vector of tool length offset is established if reset condition is G43 or
G44. (Standard setting at delivery time)

5-4
i
5-3 Tool diameter compensation G41, G42, G40
A. Purpose

Generally, in machining the surrounding


inside), it is possible to obtain the intended /\.
/
QN Tool (radius R)

shape by offset of tool-radius (R) alone to /


the outside (inside).

z /777 \

X
L,

B. Program pattern
\ Program route
Tool-center rocks

Be sure to indicate the plane (G17, G18, CD G17G41 GOO X Y (D AA)


G19) and make DA A compensation by
G01, GOO modes. © G17 G42 G01 X Y F100 (DAA)
When it is the same offset No. as the
spindle tool No., D A A can be omitted.

C. Offset (to progressive direction)


Leftside -* G41
right side -»ÿ
G42 Progressive direction Progressive direction

With negative (-) compensation amount, Machining


workpiece
movement is made for changing G41 and
G42. Machiningÿ
workpiecepp
G41 left side G42 right side
'
Down-cut Up-cut

D. Offset amount (D-code)


The tool offset can be given by not the same
offset No. as the spindle tool No., but by the
offset amount designated by D code through
D command.
3 digits following the address-D D001 ~

Offset cancel G40


D00 D00 is plural offset cancel by D code.
Offset input amount 0~ ± 9999.999mm

5-5
(
5-4 Tool diameter compensation G41, G42, G40
A. Offset vector

This size equals to offset amount indicated


by D-code at right angle against the
progressive direction of tool, and it faces the
fool center from the workpiece. Tool center
Note 1) Make execution with GOO, G01.
No execution is made with G02, G03. Actual spindle center
movement
\
Start point "
Program route End point
(tool-progressive
direction)
Offset vector
(size of tool radius)

Case of tool diameter <t> 30


D01 15.000 Offset amount
* Good example
O G41G01 X_ Y _ (D ) F_ ;
O G42G01 X_ Y _ (D ) F_ ;
* No Good example
O G41G02 X_ Y _ I_ J_ (D ) F _;
O G42G02 X_ Y _ R_ (D ) F_ ;

B. Case of G40 offset cancel


Tool center locus
Offset vector at the start point becomes Offset vector
End point
zero at and point. (X_YJ
Note 1) Make execution with GOO, G01.
Start point
No execution is made with G02, G03.

GOO G40 X_ Y

5-6
C. Case of circular compensation
In case of G02, G03, (I, J) commands the New vector (X, Y)
circular center. Case of G02, G03 V
\

Old vector start point (I, J)

5-5 Summary of tool diameter compensation


Start-up block G41 offset mode Cancel block

Start-up block G41 offset mode Cancel block

G41X Y D
Actual tool locus \
at time of command Offset Program locus
amount
G40X _Y
Offset
amount

A
G42 offset mode
G42X Y D
End point
Actual tool locus at
Start point time of command

Offset direction to the outside by tool-radius With offset to the outside in the amount
(diameter compensation amount) takes a of tool-radius (diameter-compensation
right angle against the start-point A of the amount), machining is made, and it
next block to the start block. stops to the perpendicular direction to
the end point B of the block in front of
cancel block.

5-7
5-6 G41, G42 (start-up)

A. Start-up

This is a movement to change from cancel


mode (G40) to offset mode (G41, G42).

B. Case turning around the inside


(180° <a) Q

Linear —* Linear Programmed path


r
G42 s
Tool center path
I
7 : Offset amount |

C. Linear -*ÿ
Circular
a

r
G42
\ Programmed path

Tool center path

D. Case turning around the outside obtusely


0 0
(90 a < 180 ) v G42
a
Linear Linear
Programmed path
T

Tool center path

5-8
E. Linear —* Circular
VG42 a

\ Programmed path
Tool center path

jt
Start-up
/

G42 / ;
i
F. Case turning around the outside acutely 0/
0 Programmed path
( a < 90 ) -Tf
Linear -*ÿ
Linear
/ Tool center path

G. Linear —' Circular

/
G42! /,
f /
a/

r !
Programmed path

Tool center path \

5-9
I.

5-7 G41, G42 (offset mode)


A. Offset mode
During offset mode, offset can be made
Q(
not only for linear compensation and
Programmed path
circular compensation, but also for
positional command, r

Case turning the inside / Cross Tool center path


/ point
(180° £a) /

/
Linear Linear

B. Linear -»• Circular


a<

7 / \

/ Cross r
y point
\
f

t
\ Programmed path
Tool center path

C. Case turning around the outside obtusely


(90° a < 180° )
Linear -*• Linear
a

7 S)
Programmed path

'.Z_a
Cross point Tool center path

5— 1 0
D. Linear —' Circular

r/

V r

Cross
N
point

Tool center path Programmed


path

Offset mode

E. Case turning around the outside acutely


( a <90° )
-v\

Linear -* Linear r/
a
X j Programmed path
\
± r
\ i
n_
Tool center path
T

F. Linear -* Circular

r ; < T

* P" a

t r
V.. rL_ÿ
T \
\

Tool center path Programmed path

5-11

I
5-8 G40 (cancel)
A. Offset cancel
a
This is a movement to change from offset c
Programmed path
mode (G41, G42) to cancel mode (G40). T
Case turning the inside G40
Tool center path
(180°
Linear -» Linear

B. Circular -»ÿ
Linear a
Programmed path
r
G40
/

Tool center path

C. Case turning around the outside obtusely /t


G40 t
(90° 180° ) a /

Linear Linear Programmed path i

Tool center path

ff
D. Circular -*ÿ
Linear G40 t

/
a /

t
Programmed path /

r /

Tool center path

5-12
Offset cancel

E. Case turning around the outside acutely Programmed path a


( a <90° )
\
r
Linear -*• Linear Tool center path

G40
Q
\
F. Circular -* Linear r
Programmed path

Tool center path

Precautions

(a) When the offset plain is changed over during tool diameter compensation mode, an alarm
occurs.
(b)When no axial command is given for 3 blocks from the block next to G41 and G42
commands, the start-up will be stopped and the start-up will be done from the after axial
travel command block.
(c) When a travel command is commanded to the G39 command block, an alarm occurs.
(d) When more than 3 blocks without axial travel block are commanded, during offset mode,
the workpiece is left unmachined or machined excessively.
(e)When the following commands are given during offset mode, an alarm occurs.
G31,
G37,
G53,
G73, G74, G76, G81-G89
G45 ~G48
G302-G305
G322-G333

5-13
(f) When the following commands are given during offset mode, an interference check
(excessive machining) alarm occurs.
(i) When inner circumference of a circular arc smaller than the tool radius is machined.
(ii) A groove smaller than the tool radius is machined.
(iii) A step smaller than the tool radius is machined.
(g)ln case of start-up and its cancellation, an alarm occurs when G code in the same group
other than GOO or G01 is commanded.
(h) When tool offset is given to a circular arc, a full circle may become a short circular arc or a
short circular arc may moves in a full circle in a special case.
In such a case, make a program by dividing the circular arc. !
:

5-14
\
5-9 Example of tool diameter compensation program
(Left side offset) When D10 = 20,
G90 GOO X0 Y0.;
N1 G17 G01 G90 G41 X50. Y50. D10 F200; Start-up
N2X100.; Offset mode
N3G02X150. Y100. 150.;
N4 G01 G40 X200.; Cancel
(Right side offset) When D10 = 20.
G90 GOO X0 Y0.;
N1 G17 G01 G90 G42 X50. Y50. D10 F200; Start-up
N2X100.; Offset mode
N3G02X150. Y100. 150.;
N4 G01 G40 X200.; Cancel

Y
-.G40 Tool center path at left side offset

'C G40 Programmed path

'
/
1 / Tool center path at right side offset
N2
G41/fN1>“ Offset vector

startups Offset mode Cancel

Start-up : When either G41 or G42 is commanded in the state of cancellation, a tool will
move to the position offset by the radius value. The offset direction is on the
normal line of the start point of the next block.
Offset mode : When the tool radius compensation mode is applied by either D41, or G42, the
tool pass the path offset since then until either G40 or D00 is commanded.
Cancel : When either G40 or D00 is commanded during the offset mode, the tool radius
compensation is cancelled and the tool moves to the terminal point of the
program. The offset direction of the previous block becomes the terminal
point of the normal line.

5-15

I
5-10 Example of tool diameter compensation program
A. Too! NO.T01 when D21 = 15,000
The radius of end mill becomes the same dimension as that of the offset vector (arrow
mark).

\
n
/ t
End mill diameter: <j> 30
Y
<3><
20,
\

t
r

100 40
40R \

125
% j

111 KZZZZZZZI M
20
©
40
— 20
ftJT

/
/
1

:
20 ©
Start point
©
(D
Program reference point
x
G54 X0 YO
- 100

B. program (absolute value formula)


T01 M06;
G90 G54 GOO X0 Y0 S300;
(G43) Z3.0 (H01) ;
M03;
G90 G17 GOO G41 X100.0 (D01); Start-up left side offset
G01 Z-25.0 F2000; The radius value of end mill has been
set to D01.
Y60.0 F120;
This block is either GOO or G01.
X140.0 Y80.0;
The rest is during offset mode,
G02 X180.0 Y40.0 R40.0;
X160.0 Y20.0 R20.0;
G01 X99.0;
GOO Z30.0;
G40 XO YO; <- Cancel mode
M05;
M91 G28 ZO;

5-16

1
5-11 Exampie of tool diameter compensation program
A. Oblique-line-part surrounding cutting
Under machining state, downward cutting is
done.
r Crossing point

JSL
ri
*
30
©! 1 r®
T
f
4
20 Li
©

T-20 - 50 -*
j_L
30
5
:
'///////////////////////>
B. (D Start-up Incremental
Vector generation from zero to D02 for its CD G91 G17G00G41 (D02) X20.0 Y20.0;
setting value amount

Cutting to Z-direction G01 Z-45.0 F100;


(D, (D, © © Y30.0 F200;
(DX50.0;
<D Y-30.0;
Corner is linear with crosspoint calculation (D X-50.0;
GOO Z45.0;
system Z-axis escape © G40 X20.0 Y-20.0;
© To the start point by offset cancel M30

C. Coordinate system setting Absolute


Positional relation is set for current spindle G90 G54 GOO X0 Y0
;
(blade, tool) or cutter and program zero point. G43 Z10.0 H02;
Others are same as those of the above CD~ (D G91 G17 GOO G41 D02 X20.0 Y20.0;
©.
G01 Z-35.0 F100;
© Y50.0 F200;
© X70.0;
CD Y20.0;
©X20.0;
GOO Z10.0;
© G40 X0 Y0;
M30

5-17
5-12 Example of tool diameter compensation program
A. Example of circle-cutting in the use of
tool-diameter compensation (G41, G42)
>
— Endmill-movement
|jÿÿ$ÿ_rough machining time
®(D ll ©'
Machining ( (f> 80 x depth as 10) shown in right
diagram is attempted. !!©
O Using cutter : $ 30.0 II
2-blade endmill
Program zero point
O Machining : Rough machining and k
X = 0, Y = 0
method finishing can be done by one ©
endmill.
O Movement of endmill
Rough machining 080

a. -"’•b. — Z=0
m. 1 10
%
W//////A pm
fy, %

I
Shooting hole
o

B. Program at rough machining time


T2 M06;
G54 G90 GOO X0 Y0 S250;
G43 Z50.0 H02; /© @\
M03; y
© \® 3?
Z-9.8;
G01 G41 Y40.0 D21 F60;
G03 (X0 Y40.0) J-40.0; Rough machining
G01 G40Y0 F1000; G54X0Y0
A,
Z-10.0;

S300; Note 1) If 15.2 is set to the diameter


compensation of D21 and
G41 G01 X20.0 Y20.0 D31 F100;
15.000 is set to D31, the
G03 X0 Y40.0 R20.0 F80; finishing allowance is 0.2mm
Finishing on one side.
(G03 X0 Y40.0) J-40.0;
Note 2) Using G302, G303, similar
(G03) X-20.0 Y20.0 R20.0;
G01 G40 X0 Y0;
?3 program can be executed by
one block.
s Refer to G302, G303.

5-18

1
(Program example) However, radius offset amount: 20.0
G42G01 D10 F200;

N1 G01 G91 X100.;


N2 G39; Corner circular arc
N3 Y50.;
N4 X-50.;
N5 G39 1-50. J-35.; Corner circular arc
N6 X-50. Y-50.;

i
Y
. _
Corner circular arc

. /' i
N4 I
j
'si.N6 N3 (
I
N1
l7' Corner circular arc
X
I

5-23
5-16 Tool compensation by tool number
Tool length and tool radius compensation can be made by spindle tool number used as tool
compensation number.
(a) Tool length compensation
Shift work coordinate system by the tool offset amount corresponding to the spindle number.
Example) T02 M06
A tool of which tool
No. is T02 is

f
mounted on the
spindle.
Tool length
The offset amount
(length
compensation =
o work coordinate system Z shape + wear)
designated by the
tool 02 becomes
effective.
iProgram Program example
reference point ZO 50.0
G91 G30 ZO
wmÿm G91 G30 X0 Y0
Program reference point Z0 T02 M06
Work coordinate system Z G90 G54 GOO X100.0 Y0
S1000

pc* Z50.0
M03
GOO Z3.0
Tool length
50.0

Tool offset memory

Tool Tool name Length compensation Radius compensation


Shape Wear Shape Wear
001 0.000 0.000 0.000 0.000
002 200.000 -0.010 30.000 -0.010
003 0.000 0.000 0.000 0.000
004 0.000 0.000 0.000 0.000
005 0.000 0.000 0.000 0.000
006 0.000 0.000 0.000 0.000
* When making up a program, make up the program of the Z-axis based on the spindle nose
without considering the tool length.

_
* The tool length compensation amount designated by the tool 02 is shape (200.0) + wear
(-0.01) = 199.99
* Measure the tool length before machining and set the tool length on the | TOOL l screen.
* The terminal position of the travel command for the Z-axis can be shifted to the © side by
the value set in the offset memory.

5-24
(b)Tool radius compensation
Tool radius compensation becomes effective by G41, G42 command block.
Example)
T02 M06;
G41;
G40;
Tool radius compensation can be made by the T02 offset amount.
(c) Plural offset (by H code, or by D code)
Using H-;, work coordinate system is shifted by tool offset, amount designated by H code,
not by the spindle tool No.
H. Plural offset by H code is turned ON.
H00 Plural offset by H code is cancelled.
T01 M06
G90 G54 GO XO YO S300
G43 Z50.0 H70
(D M03
GOO Z30.0
G01 Z-5.0 F30
GOO Z50.0

X-100.0
H00 H00 is not for tool length compensation,
it means that the tool length
compensation returns to the offset
amount of the spindle tool No..
H10
f GOO Z3.0
(D #50
| G01 Z-21.0 F30 25.0
l GOO Z50.0 #40 HOI
UH
— #50—H
©
X X
x
x X M
X X
X
X 20
X
X X

#40

Note 1) By commanding T-M06;, plural offset is cancelled by H code.

5-25
(2) Tool radius compensation
Using D- ; tool radius compensation can be made by the offset amount designated by D
code, not by the spindle tool No.
i
D_ ••• ; Plural offset by D code is turned ON.
D00 ••• ; Plural offset by D code is cancelled.
Note 1) Plural offset by D code is cancelled when T-M06 is commanded.
Example)
T02 M06;
G41 Tool radius compensation can be made
by the T02 offset amount.

G40;

G41 -D102; Plural offset by D code is turned on.


Tool radius compensation can be made
by the D102 offset amount.
Plural offset by D code is cancelled.
G40;
D00;

(d) precautions
(1) D code (or H code) used in the tool position compensation is regarded as D code (or H
code) for plural offset. Pay attention to this procedure.
(2) Plural offset is cancelled when ATC (M06) is completed.
(3) When M code (M06) for tool exchange used, other M code can not be commanded in
the same block.

5-26
5-17 Tool position offset (G45, G46, G47, G48)
A. G45-G48
G45~G48 are one shot commands.
The offset vector of the tool position offset is
kept for the travel command after this block. AOffset amount +

For axial moving direction


«*- —
G Meaning
G45 Elongation
G46 Shrinkage
G47 2-fold elongation
G48 2-fold shrinkage AOffset amount -

When the sign of the offset amount is shifted to


minus, elongation and reduction are reversed. —£

G45
G46
G47 X_ _
Y D.
G48
By D-code, offset No. is indicated.

B. Indicating method G45X _D A A;


G45X Y DAA:
G45Z _D A A;
C. Z-axis program example
incremental command
(D G45 Z-200.0 D01;
(D G45 Z200.0 D01; Z-200.0 CD zo
©
Absolute command

(D G45 Z-200.0 D01;


(2) G45 ZO D01;

5-27
D. Example of X Y axial program
Upper stage means incremental command
Lower stage means absolute command at -> Program movement
time of X1Q0.0Y-100.0. > Compensation amount
Actual movement

G45 X— 20.0 Y15.0 D06 ; G45 Y20.0 D06 ; G45 X20.0 Y20.0 D06 ;
G45 X80.0 Y— 85.0 D06 ; G45 Y— 80.0 D06 ; G45 X120.0 Y— 80.0 D06 ;

iC M'
(
-*•
f
\\
!
G45 X— 20.0 D06 ; _.:ÿN G45 X20.0 D06 ;
-<•
G45 X80.0 D06 ; A
itSÿurrentTxiOO.F ''N G45 Y120.0 DOS ;
VY-i.oo.oJ
•< & I

W %ÿ


G45 X— 20.0 Y 10.0 D06 ;
G45 X80.0 Y-110.0 D06 ;
G45 Y~ 20.0 D06 ;
G45 Y- 120.0 DOS i
G45 X10.0 Y— 20.0 D06 ;
G45 X110.0 Y- 120.0 D06 ;

E. Circular arc interpolation G02, G03


Actual movement
The circular arc is a figure that is right angle to
the axis, the tool position offset can be A
commanded to only a quarter cycle and a Program command
Y D01+20.0
one-third cycle.
Compensation Center of program
amount command
G91 G45 G03 X-30.0 Y30.0 1-30.0 D01 ;
i Equal Actual center -30-

G90 G03 X-50.0 Y50.0 1-50.0 ;

5-28
1
\
5-18 Example using the positional offset for tool radius

130

90
40

40
&

r t

i
---- y
1

I
I
30

,20
30
ATool diameter
0 20
AOffset No.
D01

50

50
74J 14
40
—,
30 30
50
AOffset No.
+10.
80,.
1 f I I
(0.0) 80 130 170 200 230

Incremental command
N1 G91 G46 GOO X80.0 Y50.0 D01 ; Offset 10.0 is set before autooperation.
N2 G47 G01 X50.0 F200 ; Without offset No., D01 setting is
effective on and often N2.
N3 Y40.0;
N4 G48 X40.0;
N5 Y-40.0;
N6 G45X30.0;
N7 G45 G03 X30.0 Y30.0 J30.0;
* With G02, G03 command, G45, G46
can be used only in case of 1/4 and
N8 G45 G01 Y20.0; 3/4 circles.
N9 G46 X0; **With absolute command, offset-
N10 G46 G02 X-30.0 Y30.0 J30.0; amount alone cannot be moved.

N11 G45 G01 Y0;


N12G47 X-120.0;
N13G47 Y-80.0;
N14 G46 GOO X-80.0 Y-50.0;

5-29
5-19 Example using the tool-position offset for milling
machining
Tool diameter <f> 75
Offset No. D11
Offset amount +37.5

Actual moved
Moving amount "t~ amount
on program >

Offset amount
<s>.
@) \

70.0
<N7)

XO
m
y
V I N
55.0
@) * U11
P ¥
N
L
@> 160.0
160.0

Absolute command
N1 G54 G90 GOO -X160.0 S230 ;
N2 G43 Z50.0 H01 ;
N3 M03 ;
N4 G46 Y70.0 D11 : 1-fold shrinkage
N5 G01 Z0 F2000 ;
N6 X160.0 F460 ;
N7 GOO G47 Y-55.0 D11 : 2-fold elongation
N8 G01 X-160.0 ;
N9 GOO G45 Y0D11 : Cancel of offset amount
N10 M05 ; *

5-30
I
Program example 2
G17G54 G90 GOO XO YO;
G01 G91 F200;
N1 G46 X20. Y20. D01; Reduces X and Y axes by the offset amount
N2 G45 X40; Elongates X-axis by the offset amount
N3 G45 G03 X20. Y20. J20.; Elongates X and Y axes by the offset amount
N4 G45 G01 Y20.; Elongates Y-axis by the offset amount
N5 G47 X60.; Elongates X-axis by twice as much as the offset
amount
N6 G47 Y-40.; Elongates Y-axis by twice as much as the offset
amount
N7 G46 X-20. Y-20.; Reduces X and Y axes by the offset amount

r~
K5 ! Shape before offset
K4
Hfi

N2

s*—
Shape after offset

-X

Precautions
(a) H code in place of D code can be used through parameter setting.
(b) When D00 is commanded, the tool position offset is not available.
When D _ is omitted, the tool position offset is not available either.
(c) When the sign of the offset amount designated by D code is shifted to minus, elongation
and reduction are reversed.
(d) The tool position offset is treated after the tool radius compensation.
(e) When G45~G48 are commanded to simultanedous 2 axes travel command, excessive
cutting or no cutting portions may occur.
(f) When the tool position offset is engaged during the coordinate rotation mode, correct shape
is not obtained.

5-31
(g) G45 ~ G48 cannot be commanded during the too! diameter offset mode.
Example) Wrong example
G41 GOO X _ Y_ •*- Tool radius compensation mode

G45 X_ D. G45 is commanded during tool radius compensation


mode.
L
G46 Y. G46 is commanded during tool radius compensation
mode.
G40 X_ Y.

(h)When tool position compensation is commanded while tool offset by tool No. is being used,
tool position compensation is preferred.
T01 M06
G90 G54 GOO X_ Y_ S500
Z50.0 •*- The length compensation of tool No.01 engaged.
M03
G45 X__ D70 <- _
When D is commanded by G45~G48, it is not regarded as
D of the plural offset.
s
G46X

s
G41 X_ Y. The tool radius compensation is engaged not by D70, but the
radius compensation of the spindle tool No.01.

G40 X_ Y.

5-32
6. G-FUNCTION (Coordinate System)

6-1 Setting of coordinate system (G92)


Command
Coordinate system that the current position of
tool would be XAAAA YAAAA ZAAA G92 X Y Z ;
A can be set.

When program zero point is set as a, tool was


located at the current position (D.
It!
i
©

[tl
©
Coordinate system in this case is as in a. i
A
Case of b tool is at (D position. Z 150

,70
©

'200,
G) G92 XO Y70.0 Z150.0 : Y
©
© G92 X200.0 Y70.0 Z150.0 ; ©
X
©

* That is, command is made for the coordinate


value in view of tool-position (spindle position).
Note 1) G92 can be indicated with no-relation to the absolute/incremental.
In case of absolute, after commanding G92, movement is made in accordance with
the coordinate system.
Note 2) At power-input time, coordinate value ofX, Y, Z axes is 0.0.0.
It is necessary to set the coordinate system after manual zero-point return with power
input.

6-l
6-2 Caution for the use of (G54—G59) and G92
work-coordinate
In the use of G54~G59, there is no need of setting the coordinate system with G92.
Upon setting the coordinate system with G92, the coordinate system of G54~G59 would
move. Especially, do not mix G54~G59 except the case intending to shift G54~G59.

Y V

160 -- 100 -- ©Tool position

100 --
X’
A
100

100 200

At the state of G54, when tool is at the position (200.160), when commanding G92X100Y100,
work-coordinate system with deviation of vector-A amount alone can be formed.

v:

6-2
6-3 Work-coordinate system (G54~G59)

G54~G59
It is possible to set the machine-proper 6
coordinate system.
Selection is made with G54~G59. C 54X0Y0
zero point
v Pro gram
Setting of coordinate system is made by the
distance from the first reference point up to
the program zero point.
Setting value Yj

G54 G58
i1
A
Setting value [ X1 X5 Xt
Y1 ][Y5 Y
Ys point _
First reference
Z1 ][Z5 >f
G59 work-coordinate
G58 system
X6 Y6
Y6
Z6
rxTk
.r SG59 Work-coordinate system
p:

-1 X6 I- <ÿ
X ->

Work-coordinate system 1 ~6 (G54~G59) can be exactly established after zero-point return of


machine after power input.
When the power is turned ON, G54 has been selected.

& Z-axis First reference point

500.0 Z-direction

Zs
Zt
For instance, Z1 becomes
Z-500.000.
Z6

6-3
6-4 Work-coordinate system G54, G55 and coordinate system
setting G92

G54, G55 and G92


As shown in right diagram, previously set on G54 X-150.0 G55 X 50.0
the screen of offset before auto-operation. Y-100.0 Y -50.0
Z-500.0 Z -500.0
A By commanding G54G90GOOXOY30.O;
Movement is made to work-coordinate
system of G54, X0, Y30.0 namely, A point. first reference point G55X0Y0
\
A By commanding G55G90G00X0Y15.0;
Movement is made to work-coordinate
—- —- I$
A IY— 50-0
system of G55 X0Y15.0 namely, E point. | Y- 100,0 ]
R30.0
A Comparison in using G92 and G54, G55 is _ B XgJjOJ R15.0
as follows: Start point in using G92 can be
any place for starting G54, G55 on F
machine-zero point for both and X and Y. Q54 A
Program zero Y
(program of X or Y alone) '
, C
—IX-
point r
(X0, Y0)
> 150.01-
Z-axis first reference point

Program zero
lili/-£
I
_
i\
point
I Z-500.0 | Z
\ Z0 T

777777777777

Case using G92.


N10 G92X150.0Y100.0 ; Case using G54, G55.
N11 G90G00X0Y30.0 ; A. point N51 G54G90G00XQY30.O ;
N12 X30.0Y0 ; B. point N52 X30.0 Y0 ;
N13 X0 Y-30.0 ; C. point N53 X0 Y-30.0 ;
N14 X-30.0Y0 ; D. point N54 X-30.0Y0
N15 X200.0Y65.0 ; E. point N55 G55(G90) (GOO)XOY15.0 ;
N16 X200.0Y35.0 ; F. point N56 X0 Y-15.0 ;
N17 G91G28X0Y0 ; First reference point N57 G91G28X0Y0 ;
Code within ( ) can be omitted

6-4
6-5 Example using work-coordinate system

By commanding G55 G90 GOO XO Y30.0;, tool


G54 X 0 G56 X 70.0 moves to XO. Y30.0 (A-point) of work-coordinate
Y 0 Y 200.0 system of G55.
Z 0 Z 400.0

G55 X -50.0 G57 X 90.0 By commanding G56 G90 GOO X0 Y30.0;, tool
Y 300.0 Y 150.0
moves to X0. Y30.0 (E-point) of work-coordinate
Z 400.0 Z 300.0
system of G56.
50.0 70.0 G56X0. Y0
G55
X0. YO \
A
O
@ 130.0E
D B iooÿ?V F 100.0
P
©G 200.0
Mounting
device
——£ — 50.0

Table
X. Y axial machine zero point

In case of the above diagram G92 is compared with G54~G59 in each using time.
Start point at time using G92 shall be machine-zero point for both X and Y, while any start point
can be taken in case of G54~G59.
It shall be the program of X movement alone.

Case using G92 Case using G54, G55


(program-zero point: P-point) Code in ( ) can be omitted.
G92 X50.0 Y-300.0
G90 GOO X0 Y30.0 A-point- G54 G90 GOO XO Y30.0
X30.0 Y0 B-point- X30.0 YO
XO Y-30.0 C-point- X0 Y-30.0
X-30.0 Y0 -D-point -X-30.0Y0
X120.0 Y-70.0 E-point- G55(G90)(G00)X0Y30.0
X150.0 Y-100.0 F-point- X30.0Y0
X120.0 Y130.0 G-point- X0 Y-30.0
X90.0 Y100.0 H-point- X-30.0Y0

6-5

I
6-6 Addition of work coordinate system pair number (G54o~G599)
60 pcs. of proper coordinate system can be set by commanding G540~G599.
Before commanding G540~G599, set the offset amount (the position of the machine
coordinate system at the time when a tool nose is located on the reference point of the work
coordinate system.) form the machine reference to the reference point of each work coordinate
system.
(1) Command from
G540; G540 Work coordinate system selection
G541; G541 Work coordinate system selection
G542; G542 Work coordinate system selection

G599; G599 Work coordinate system selection

---
! G540 G541 G542 G599
Work coordinate
_
Work coordinate Work coordinate
system
Work coordinate
system_

system system
f G540 G541
Offset Offset amount G542
amount Offset amount. G599
Offset amount

Machine coordinate system

Machine coordinate system

Start point
-210.
m X

Qs

Nl\
(2) Program example
N1 G540 G90 GOO X0 Y0;
-260.
However, G540 offset amount G540 work coordinate system

X-210.
Y-260.
When this command is executed, the tool is positioned to the work coordinate system (0.0), and
the position of the coordinate system becomes (-210., -260.).

6-6
(3) Precautions
(a) G540~G599 and G54~G59 are the same group of G code.
(b) When G540~G590 are commanded after the coordinate system is newly set by G92, the
offset amount of the reference point of the machine coordinate system and the offset amount
of the work coordinate system of G540~G599 are relatively changed by the new setting
amount.
(c) When the work coordinate systems of G540~G599 are established after G92 commanded, it
is necessary to either perform the manual reference point return or give G921 (work
coordinate system preset) command.
(d) Set the offset amount of G540~G599 on the screen of the work coordinate.

6-7
Work coordinate system preset (G921) j
When the first manual reference point return is performed after the power supply for the NC
unit is turned ON, the machine coordinate system is set and next the work coordinate system j
is set.
When the manual reference point return is performed in the state of the reset, the work
coordinate system is set.
The work coordinate system is shifted from the machine coordinate system by the following
commands or operations.
In this case, to reset the work coordinate system by making the machine coordinate system a
reference is named work coordinate system preset.
(a) When manual intervention is made at the manual absolute signal OFF.
(b) When an axial travel command is given at the machine lock.
(c) When a tool moves by the handle interruption, and simultaneous manual and
automatic operations.
(d) When the work coordinate system is shifted by G92 command.
(e) When the work coordinate system moves to the origin by the MD! operation.
G54~Work coordinate system and G54~work coordinate system after the work
coordinate system preset.
G54~work coordinate system shifted by G92

G54~ Work coordinate system and G54~


Work coordinate system after the work
coordinate system preset.

G54~ Work coordinate system shifted by


G92

Shift by G92

Machine coordinate system


Shift by work coordinate system preset

6-8
(1) Command formperation
(a) The case by G code

_
G921 XO YO ZO
\
Preset axis of the work coordinate system
(b)Case by operation
The manual reference point return is performed at the state of reset (OP signal OFF).
(2) Precautions
(a) In the case when it is made by G921, too! radius compensation, tool length compensation
and tool position offset are cancelled.
(b)The work coordinate system can be preset immediately before executing the first block
changed over from the state of reset to the state of automatic operation by parameter
setting.

6-9
8-7 Selection of machine-coordinate system (G53)
G53
Upon making the first reference point return,
the display at (MACHINE) coordinate system G9QG53X0Y0Z0;
shall all be zero follows:

XO
YQ
ZQ

Program example
G90G53IP ;
G90G53G00X100.0Y-100.0;

CRT-screen after execution, namely, with


(MACHINE) coordinate system, tool moves to MACHINE
the command position. X 100.000
Y-100.000
z

Note 1) G53 is one-shot G-code, and it is effective for the commanded block alone.
Note 2) G90 is effective in the absolute mode, and G91 becomes the alarm No. 146 in the
incremental mode.
Note 3) IP means coordinate value.
X_ Y_ Z_ would be added with 3-axes, and A-axis or B-axis would be added with
4 axes.

6-10
6-8 Local coordinate system (G52)
G52 Local coordinate
zero point
In programming with work-coordinate system,
another coordinate system may be prepared in
the work-coordinate system for easier
programming.
It is called "local coordinate system".

How to prepare local coordinate system Yi


With the right command, another (child) local T
(G54~G59) coordinate system can be set to
(G54~G59). f
Zero-point of each local coordinate system Xj
becomes X[ | , Y| 1 of X1 Y1-position with Work-coordinate system
each work-coordinate system. (G54-G59)

G52 XI. Yl

(Example G52 X I 1 Y I-I


- ;

Note 1) By manual reference point return, zero-point is matched in between work-coordinate


system andlocal coordinate system of returned axis to reference point.
That is, it is the same as that commanding G52 a 0; (a: returned axis to reference
point).
Note 2) Even by setting the local coordinate system, there is no change in work coordinate
system and machine-coordinate system.
Note 3) By reset, local coordinate system is cancelled.
Note 4) In case without commanding the total-axial coordinate value for setting the work-
coordinate system by G92 command, cancel is made for the local coordinate system of
the axis without command of the coordinate value.
Note 5) At tool-diameter compensation, temporary offset cancelis made with G52.

6-11
6-9 G52 program example

X N10
First reference point N 9
v
(Machine zero point) \
\

\
100 — Local coordinate
50- system
*\

\
N5 \

V
I
S' \
Work-coordinate
Y N3\ 50’
:6 50
\
system
N8T\ G55
\t \ * t
\ $
J
N7
G54
.ÿWork-coordinate system
50 100

01986 ;
N Screen MACHINE display Screen ABS display
N1 G91G28Z0 ;
X Y X Y
N2 G28X0Y0 ;
1
N3 G54G90GOOXOYO ;
2 0.0 0.0 -300.0 175.0
N4 G52X50.0 Y50.0 ; Local setting
3 300.0 -175.0 0.0 0.0
N5 G54X0 Y30.0 ;
4 300.0 -175.0 -50.0 -50.0
N6 X30.0 Y0 ;
5 350.0 -95.0 0.0 30.0
N7 X0 Y-30.0 ;
6 380.0 -125.0 30.0 0.0
N8 X-30.0Y0 ;
7 350.0 -155.0 0.0 -30.0
N9 G54X100.0Y100.0 ;
8 320.0 -125.0 -30.0 0.0
N10 G52X0 Y0 ; Cancel
9 450.0 -25.0 100.0 100.0
N11 G90G55X0Y0 ;
10 450.0 -25.0 150.0 150.0
N12 M01 ;
11 500.0 -150.0 0.0 0.0
M30
* Refer to the position display of CRT-screen. f

* Machine-display Y-coordinate shows minus-


display.
•- «

6-12
6-10 Data setting (G10)
(1) Setting of an offset amount for the work coordinate system
(a) Command form

G10L2P_X_Y_Z_...R_ ; Setting of G54~G59


However, P0 : Designation of external work reference point offset
P1 ~ P6 : Designation corresponding to the work coordinate
system, G54~G59
X, Y, Z, ... : Work reference point offset amount for each axis
R : Rotating angle
G10 L20 P_ X_ Y_ Z_ ...R_ ; Setting of G540-G599
However, P0 : Designation of external work reference point offset
P10 ~ P60 : Designation corresponding to the work coordinate
system, G540~G599
X, Y, Z, ... : Work reference point offset amount for each axis
R Rotating angle

G10 L21 P_X_Y_Z_...R_ ; Setting of common reference point shift amount


However, P0 ~ P5 No. of common reference point shift amount
X, Y, X, ... : Common reference point shift amount for each axis
R : Length of attachment (effective only for P5)

(b) Precautions

(i) The commands such as the below mentioned can be given.


G10L2P_X_YZ...R ; Setting of G54-G59
However, P54 ~ P59 : Designation corresponding to the work coordinate
system, G54~G59
G10L20PXYZ...R ; Setting of G540~G599
However, P540~R599: Designation corresponding to the work coordinate
system, G540~G599

(ii) Do not put a decimal point down.

6-13

1
A. Example of change of work coordinate
system
By the following commands, each
coordinate system can be rewrite ten into
each work-coordinate system.
P = 1~6: Indication corresponding to
G10L2P1X _ Y _ Z_ ; the work-coordinate system 1
Example) ~6.
G90 ; P1 = G54
'G10L2P1X100.0Y-1(30.0Z-300.0 ;
G10L2P2X50.0Y-100.0Z-400.0 ;
$ $
N1 ; P6 = G59
G54G90G00X0 YO S500 ;
G43 Z50.0 H01 ; G54X100.0 G55 X50.0
M13 ; Y-100.0 Y-1 00.0
Z-300.0 Z-400.0

N2 ; By G10-reading with the left program,


G55G90G00X0 Y0 S1000 ; the above change is obtained.
Note) Change with G90 (absolute),
Adding calculation with G91
(incremental)
M30 ;

6-14
(2) Setting of tool offset amount
Tool offset amounts can be set by program commands.
(a) Command form
_
G10 L10 P R Setting of tool length form offset
G10L11 P_R_ Setting of tool length wear offset amount
G10 L12 P_R Setting of tool radius form offset amount
_
G10 L13 P R. Setting of tool radius wear offset amount
However, P : Offset No.
R : Offset amount
(b) Precautions
(i) The classification of absolutencremental for the offset amount commanded is in
conformity with G90/91.
(ii) When G10 L1 P R_ _ ; is commanded, a tool length form offset amount is set.
(iii) Do not put a decimal point down.

6-15
!|
6-11 One directional positioning (G60)
The final positioning shall be always made from one direction commanded.
By using this function, high accuracy positioning can be obtained.
(1) Command form
(a) Incase of one shot G code
G60 X _ Y_ Z_ ...; Effective only for G60 command block.
(b) In case of modal G code
G60 X_ Y_ Z
X„ Y _ Z_ ... One directional positioning

When a command other than G60 is given by G code in


GOO; the 01 group, G60 is cancelled.

(2) Program example


(b) When moved to the - direction.
(a) When moved to the + direction
G60 G91 X-100.;
G60 G91 X100.;
End point Start point
Start point
End point
I
Approach amount Approach amount

(3) Final positioning direction


Approach amount > 0 : Positioning direction is plus direction.
Approach amount < 0 : Positioning direction is minus direction.
Approach amount = 0 : One directional positioning is not made.
(4) Precautions
(a) Classification of one shotodal of G60 is set a parameter.
(b) During canned cycle, hole positioning is made by G60. However, one directional
positioning is not effective for the shift amounts for G76 and G87.
(c) During mirror image, the mirror image is not effective for the approach amount of one
directional positioning.

6-16
7. G-FUNCTION (Canned Cycle)

7-1 Canned cycle (G73 ~ G89)


A. Special operations are requested for
machinings such as drilling, boring, spot
G73, G74, G76
facing, tapping.
G80
It extends to the several blocks.
G81, G82, G83, G84, G85
Special movement was enabled by
command of 1 block. G86, G87, G88, G89

B. Command method

GM X Z R _P Q L F E ;

T t Returning
speed
Cutting feed rate
Return
position
Repeating frequency

Cutting-in amount or shift amount

Dwell time at hole bottom

Cutting start point


Hole-bottom
position
Hole-machining Hole-position
mode coordinate

C. Movement
With canned cycle, movement of (D~© Initial point
can be executed as one cycle.
©! ! ©
CD Positioning to the hole position
y
(2) Rapid traverse to R-point R-point

(3) Hole-machining to Z-point


?
H
© Operation at hole bottom
© Return up to R-point Z-DQint
© Rapid traverse up to the initial
I point m
7-1
7-2 Ganned cycle
A. List of canned cycle
Hole¬ Boring operation Operation at Escape operation
machining (-z direction) hole-bottom (+2 direction) Application
mode position
G73 intermittent feed Rapid feed High-speed deep hold
boring cycle _
G74 Cutting feed Spindle normal Cutting feed Reverse tapping
turn
G76 Cutting feed Oriented Rapid feed Fine boring
spindle stop
G80 Cancel
G81 Cutting feed Rapid feed Drill, spot-drilling
G82 Cutting feed Dwell Rapid feed Drill, counter boring
G83 intermittent feed Rapid feed Deep hole boring cycle
G84 Cutting feed Reverse turn of Cutting feed Tapping
spindle __
G85 Cutting feed Cutting feed Boring
G86 Cutting feed Spindle stop Rapid feed Boring
G87 Cutting feed Spindle stop Manual/Rapid Boring, Back boring
feed
G88 Cutting feed Dwell Manual/Rapid Boring
-ÿSpindle stop feed
G89 Cutting feed Dwell Cutting feed Boring

B. Canned cycle mode


Canned cycle operation can be specified by © Data type f G90 1 Absolute command
3 modes. IG91 / Incremental command
(D Return JG981 Initial level return
level LG99 J R-point return
@ Hold¬ fG73 See the list.
machining G74
mode G76
G80
G81

G89

7-2
7-3 Canned cycle (data type, return level)

A. Data type

G90 G91

Q Q T
zo R
R-point
=4 Z
R-point
!. Z

-6 —
Z-point J
--6 - 1
Z-point J

Absolute Incremental

B. Return level (initial level and R-point level)

G98 G99

-X?
<
Initial level
Q *9
/
Initial level

R-point

K
6 6
Initial level return R-point level return

Initial point means Z-axial position at time of canned cycle start.


R-point means cutting-feed starting point (Z-direction) at canned cycle.

7-3

i
7-4 Canned cycle (G73, G74)

Detail of movement

Case of G99 (R-point return) Case of G98 (initial point return)


G73 G73 X F
(Canned
(X. Y)
pitch) ) (X. Y)
Initial point
High¬ I I
I
speed i i

deep hold -j—


A
R-point t
Q Q
drill ir_s 8

Q Q
i 3 f .8

Q Q
1 i
LL Z-point
6 : Parameter No.5150 11 Z-point

G73
(Variable
pitch)
G73 X ......Y •••Z -B P -I ...J
I: Intial value
J: Detecting value
K ... L — — F

---
K: Final value

Q -
(X. Y) (X.Y)

i
j- Initial point

—- R point
-j- R point

I I
q q

I-J I-J
t t
I-2J
i
t
I-2J
Ii
H
K. K
Z point Z-point

6 : Parameter No.5150 (No.6120 in F-format)

7-4
• In G73, it is possible to command a cut-in for variable pitch by using the addresses I, J and K
instead of the address Q.
I: Initial value of cut-in amount
J: Detecting value after 2nd cut Command without sign.
K: Final value for cut-in amount

(Example)
_ _
G99 G91 G73 X Y R-10. Z-40. 110. J2. K5. F__;

Cut-in amount

——
1st cutting 10. mm 110.
2nd cutting 8. (110. -J2.)
3rd cutting 6. (110. -2XJ2.)
4th cutting 5. K5.
5th cutting 5.
6th cutting 5.
7th cutting 1. Final cut-in to the Z point

A
l A
R point

1st cutting
I
(10.)
A
i
A

2nd cutting I-J


(8.)
v A
,Tl

3rd cutting I-2J


(6.) v >t Ai
4th cutting K AI
(5.) _J1
< A
5th cutting K
(5.) A
A
6th cutting K A
(5.)
y o Z point
7th cutting
Final cut-in to the Z point
(1.)

7-5
Precautions of the variable pitch commands

Note 1)Q, I, Jand K are modal during canned cycle.


Note 2) Since Q is modal, before commanding variable pitches by I, J and K, command QO
when Q command was given previously.

G74
Reverse
G74 X......
............
Y ......
Z —R P L P E

J
—rr
tap (X.Y) (X. Y)
xp - Initial point
Spindle reverse turn Spindle reverse

/ R-point / turn
• R-point

F E F E

Z-point Z-point

Dwell diameter Dwell diameter


spindle forward turn spindle forward turn

7-6
7-5 Canned cycle (G76, G80, G81)

Detail of movement

G76

Boring
G76 X ...... ......
Case of G99 (R-point return)

Y Z R -P Q L
Case of G98 (initial point return)

Spindle start
J (X. Y) ) <X-Y) /

I Spindle start
T«= * Initial point

9 9 - R-point R-point

Shift speed Shift speed


Shift Shift
Dwell t
> r — 6—— Z-point
i Dwell i> —N 6- Z-point
;

/
Spindle index
" Q~*| 1
Spindle index
Q
stop stop

Note) The direction releasing the tool after the spindle


positioning has been set by the parameter
No.5127. (No.6240 in F-format9

G81
G81 X Y -Z R L —F
Drill
) (X. Y) (X. Y)
x>
-j~ - Initial point

R-point R-point
T

V V
Z-point Z-point

7-7
7-6 Canned cycle (G82, G83)

Detail of movement

G82 G82 X ............


Case of G99 (R-point return)

—-Y Z —R P L F
Case of G98 (initial point return)

Spot
facing
J (X.Y)
-
--- (X.Y)
“3*<> -r
— Initial point
t
A
R-point * R-point

.....
6— - Z-point Z-point

\ Dwell (P) \ Dwell (P)

G83 G83 X • — — Y Z
• -- R. Q• L —— F

y Q
(Canned
pitch)

Deep hole
---- (X.Y)
X)

T-lAUir-TT-ÿ1
(X.Y)
M

Jt A i A i A rt I
Initial point

R-point

drill Q Q
l s s
Q i Q
s s
Q Q i
s s
i
Z-point Z-point
6 : Parameter No.5151(No.6211 in F-format) 6 : Parameter No.5151 (No.6211 in F-format)

--
G83 X Y Z R ••I J K L F

--
G83
I: Initial value
(Variable (X.Y) J: Detecting vaiue (X. Y)
pitch) -~j>
K: Final value
- xf. -j — Initial point
tA | A i A I A R-point
A| A I A R-point

I I
q q
TT
I-J I-J

q : Parameter
I-2J

No.5151
I
I
I-2J
I
K
(No.6211 in F-format) K Z-point Z-point

7-8
• In G83, it is possible to command a cut-in for variable pitch by using the addresses I, J and K
instead of the address Q.
I: Initial value of cut-in amount
J: Detecting value after 2nd cut Command without sign.
K: Final value for cut-in amount

(Example)
__
G99 G91 G83 X Y R-10. Z-40. 110. J2. K5. F__;

Cut-in amount


1st cutting 10. mm 110.
2nd cutting 8. (110. -J2.)


3rd cutting 6. (110. -2XJ2.)
4th cutting 5. K5.
5th cutting 5.
6th cutting 5.
7th cutting 1. Final cut-in to the Z point

X R point
k
1st cutting
I
(10.)
ki

2nd cutting I-J


(8.) ki

3rd cutting I-2J


(6.) ki
4th cutting K kI
(5.)

5th cutting K
(5.) v
i

6th cutting K
(5.)
k
i
V o Z point
7th cutting
Final cut-in to the Z point
(1.)

7-9
J
Precautions of the variable pitch commands

Note-1) Q, I, Jand K are modal during canned cycle.

Note-2) Since Q is modal, command QO when the Q command is given previously, before the
variable pitch is commanded by I, J, K.

7-10

I
7-9 Example of canned cycle program

N003 (CENTER T03 H03)


T03M06
G54G90G00X-45.0Y85.0S800T04
45 G43Z50.0H03
45 M03
G99G81R2.0Z-3.9F100
X0
85 G98X45.0
7.(p
G99Y-75.0
Program zero
point XO Y0 Sfejr xo
G98X-45.0
G99X-30.0Y0


•Center. H03 X0Y-30.0
•Drill G98X30.0Y0
•Tapping 104 "'•-I
TvP3 G80M05
HOS
2.0

zo
N004(10.2 DRILL T04 H04)
T04M06
G54G90G00X-45.0Y85.0S820T05
G43Z50.0H04
M03

G99G81R2.QZ-20.0F164
(D Canned cycle block
*X0
(D During the canned cycle, if there is G98X45.0
hole-machining, indicate the hole G99Y-75.0
'-ÿ> X0
position alone. However, make
command in combination with the
data intended to change by the data
of canned cycle (R, Z, F, G99/G98). G80M05
(D Canned cycle cancel >

Calculation method of feed at time of


tapping cycle
F AA = S OO rotation x pitch
N005 (M12 TAP T05 H05)
(Example) M12 x P1.75 tapping T05M06
280 rotations G54G90G00X-45.0Y85.0S280T06
G43Z50.0H05
F = 280 X 1.75 = 490 M03
mm/min
G99G84R5.0Z-10.0F490
* That is, it is l F490 | . X0
G98X45.0

7-13
__ _
7-10 Herical cutting G02, G03

A. Function
By 1-block command, it is effective for spiral oil-groove machining.

B. Command format
G02 R
G17 X. Y Z F
G03 I _J
G02 R
G18 X Z Y F
G03 I_ K
G02 R.
G19 X. Y X_ F
G03 J_ K

C. F-command
Feed speed along the arc is commanded, Length of linear axis
thus the speed of linear axis is:
Fx
Length of circular arc

D. Program

© G17G03X100.0Y0I0J10Q.0Z2O.0F100;
or
© G17G03X100.0Y0R100.0Z20.0F100;
20
Program in the use of tool-diameter
compensation Start point
-X©
XOYO
Tool /100
G90;
route
G17G42G01Y-100.0D32F100;
G03X100.0Y0R100.0Z20.0F100;
-101
1
Route of tool at offset time
G40G00X0; of diameter


Note 1) Tool-diameter compensation is applied for arc alone.
Note 2) With the block to commandhelical cutting, it is impossible to command tool-position
offset and tool-length compensation.

7-14
7-11 Programmable mirror image G511, G501

A. Function Command format


Program of quadrant-unit can
be automatically obtained as G511 X _ Y _ Z _ ;To set program mirror image
mirror-image by G-code. Command value of X, Y, Z sets the mirror to the
desired position.
B. Program example G501; Cancel
G55G90G00X0Y0 ;
* G511X-100.0 ;
GDOX30.0Y10.0 ; Mirror image ON Mirror image OFF
G41 GOOX16.0D32 ;
G01 YO F500 ;
G02 1-16.0 ; & X0 $
G01 Y-10.0 ; YO
G40 GOO X30.0 ; A

* G501
G91 G28X0Y0Z0
;
;
e 30.C
e
M30 ;
In case of 1 axis mirror image 100.0 100.0
Note 1) Circular command:
Clockwise turn is
reversed to counter¬
clockwise turn.
Note 2) Tool diameter
compensation C: Mirror image OFF

Right offset is reversed to


left offset.

C. Program example
xo
Y0
$
G55G90GOOXOYO ;
* G511X-100.0Y-30.0 ; 30.C
e
GOOX30.0Y10.0 ;
G01Y0F500 ;
G02I-1 6.0 ; 100.0

G01 Y-10.0
G40G00X30.0
;
;
e 30.C

* G501 ;
G91G28X0Y0Z0
M30
;
;
e
Note 1) When designating 2 axes, 100.0
the movements become
as the right figure. Mirror image ON
Note 2) When G501 is
commanded, the
programmable image is
cancelled for all axes.

7-15
D. Program example
Y
G54 G90 GOO X70.0 Y20.0;
X-axis mirror image ON Mirror image cancel
G511 X70.0; N4
/ \
N1 G01 X90.0 Y40.0 F200; R20
N2 X120.0; N3 \ N3
\N5 N5
N3 G03 Y80.0 R20.0;
\(302 \
T«-\ \ N2

_
N4 G01 X90.0; NI
N5 X70.0 Y20.0;
G501; X

Mirror point
1
70.

E. Precautions
(a) When commanding the coordinate rotation and the mirror image, command as the
following order.
G511 X _Y Z ; _ Programmable mirror image ON
G68; Coordinate rotation ON

G69; Coordinate rotation cancel


G501; Programmable mirror image cancel
(b) G511 and G501 shall be commanded in the independent block.
When it is commanded by other than the independent, an alarm occurs.
(c) The position display becomes a coordinate value after the program mirror image is
applied.
(d) When the programmable image and the setting mirror image are engaged, the setting
mirror image is engaged after the programmable mirror image is engaged.
(e) The commands that the programmable mirror image is not engaged are as follows:
(i) Commands such as G28, G30, G53, G27 and G29 etc..
(ii) Shift amount of fine boring (G76) and back boring (G87).
(f) G511 and G501 shall be commanded in the G69 and G50 modes.
When they are commanded by G68 and G51, an alarm occurs.
(g) The first travel command after the block that G511 and G501 are commanded shall be
commanded in absolute.
(h) When a circular arc is commanded for the first travel command after the block that
G511 and G501 are commanded, there are instances where a correct circular arc is not
obtained.

7-16
7-12 Setting mirror image
The mirror image can be engaged for every axis by the ON/OFF operations on the setting
screen or by the external input signal (PC -* NC) ON/OFF.
(Note) The program image is engaged through regarding a coordinate value at the time when
the mirror image is turned on as the mirror point regardless of the absolute incremental
command of programs.
When the work coordinate system setting, G54~ is commanded, the mirror image is
engagedby setting the mirror point as 0.

(1) ON/OFF operations on the setting screen.


(a) Press the lSETTING] key and next press the | C | key.
(b) By operating the cursor l t | | I | |
ineffectiveness of a designating mirror image axis.
(c) Press the l iNPUT | key.

[ ( -» | , meet it with effectiveness or

(2) The change-over for the mirror image ON/OFF becomes effective from the next buffering
block.

(3) Program example


G54 G90 GOO X70. Y20. ;
X-axis mirror image ON
N1 G01 G90 X90. Y40. F200 ;
N2X120. ;
N3 G03 Y80. R20. ;
N4 G01 X90. ;
N5X70. Y20. ;
Mirror image OFF
Y

X-axis mirror image ON Mirror image cancel

s
\
\
\
\
"\\
j,70. X

Mirror point

7-17
!
(4) When the mirror image is engaged only 1 axis of the designated plane.
(a) Circular command (G02, G03) : CW and CCW are reversed.
(b) Tool radius compensation (G41, G42) : The right side offset and the left side offset are i
reversed.

(5) Precaution
(a) The position display becomes the coordinate value after the setting mirror image is
engaged.
(b) When the programmable image and the setting mirror image are engaged, the setting
mirror image is engaged after the programmable image is engaged.
(c) The commands that the setting mirror image is not engaged are as follows:
(i) Commands such as G28, G30, G53, G27 and G29 etc..
(ii) Shift amount of fine boring (G76) and backEoring (G87).
(d) Arrange so that the setting mirror image ONFF position may become the same
position.
(e) In the state of reset, the setting mirror image becomes OFF.
(f) When the setting mirror image ON/OFF is the first axial command shall be
commanded in absolute.
(g) When the setting mirror image is shifted from OFF to ON, there are instances where a
correct circular arc is not obtained when a circular arc is commanded in the first axial
command.

7-18
I
7-13 Direct tapping
7-13-1 S format (G841, G741)

_
A. Function
By this synchronizing method of spindle rotation and Z-axis feed, high-speed/high accurate
tapping cab be done.
Conventional tapper is not needed.
M03 and M04 commands are not available.
B. Command format
TG741ITG98 1 TG94 1 X_ Y_Z_ R _ P_ Q _
|_G841 J [G99 J [G95 J L S_ F_ E.
G841: Normal direct tap

_
G741: Counter direct tap
G98/G99: Initial point return/R-point return
G94/G95: feed per minuteeed per rotation
X__/Y_ : Tapping hole position
Z _ : Z-point po.sition
R : R-point position
P _ : Dwell time
Q_ : Cutting amount
L_ : Number of repeating
S_ : Number of spindle turn
F_ : G94 mode...Forwarding feed speed of tapping-axis CR-point Z point(mm)
G95 mode...Pitch of tapping (mm)
E_ : G95 mode...Number of pitch per inch (Commanded with decimal digits)

--"7 i
\
G8 rJ / X e ,< v € T
ti of

p (V
S G p M.

F UdC "ASA
v t* L oe
L~

op
C. Operation cycle
General cycle of direct tapping consists of (D~(Z) action.

o-
[G841]

©
(D !
3

o
!
©
--- rapid traverse -cutting feed

© Positioning of tapping hole


© Rapid feed to R-point
© Operation until Z-point by tool normal rotation
© © <D Dwell by parameter setting
initial point © Return to R-point by tool counter rotation and
stop of tool rotation
6 o
© R-point
© Dwell by parameter setting
l
© Rapid traverse to initial point
Note 1) Too! rotation is reverse with G741.
Note 2) The spindle rotates automatically by G841(G741) command.
Note 3) Command ordinary cutting mode (G94) after G95 mode is used.

D. Pecking cycle
When deep tap is operated in direct tapping, cutting operation by dividing from R-point to
Z-point into several sections can be mode.
Rapid traverse
Z-axis (Spindle synchro-feed)
P. Dwell
G841

G841 (G98) G841 (G99)

q
Spindle stop
"*?
2
?6
!
Initial point Q
Spindle stop
X
2

Spindle forward turn • Spindle forward turn Y ©spindle stop


X ©spindle stop
,. R-point Q R-point
t it
Qlpftnz *hzl
Ql
Spindle stop
2-point spindle
reverse turn
__
Q1
Spindle stop
Z-point spindle
reverse turn
0
4 4

Note 1) During synchro-feeding of spindie/Z-axis, feeding speed and spindle override shall
be regarded as 100%.
Note 2) Tapping cycle with single block causes the stopping at end-point of operation 1, 2

7-20
'1
and 6.
Note 3) At program 1 STOP 1 in between operations 3—5, \ STOP 1 lamp lights, however,
it stops after the end of operation 6.
Note 4) Don't command Ein G94 mode.

G741

G741 (G98) G741 (G99)

•XD Initial point •Xo


Spindle stop
2!
? Spindle stop
X
2
!6

u
i
Spindle reverse turn Spindle reverse turn
£ ©spindle stop ©spindle stop
R-point R-point
3
«iat Z-point spindle
<4P,I T
5

Z-point spindle
forward turn
Spindle stop '
© Spindle stop W forward turn
4 4

Note 1) The caution is the same as that of G841 (pecking cycle).

7-21
7-13-2 F format (G84.2, G84.3)

A. Function

tapping cab be done.


Conventional tapper is not needed.
M03 and M04 commands are not available.
B. Command format
rG84.21p98 "I H394 1 X_ Y Z R P Q.

J
[G84.3 |G99 J [<395 J
G84.2: Normal direct tap
__ _
L_ S F
_
By this synchronizing method of spindle rotation and 2-axis feed, high-speed/high accurate

__

G84.3: Counter direct tap


G98/G99: Initial point return/R-point return
G94/G95: feed per minuteeed per rotation
X /Y : Tapping hole position
Z_ : Z-point position
R _ : R-point position
P_ : Dwell time
Q_ : Cutting amount
L_ : Number of repeating
S_ : Number of spindle turn
F_ : G94 mode...Forwarding feed speed of tapping-axis CR-point -* Z point(mm)
G95 mode...Pitch of tapping (mm)

7-22
C. Operation cycle
General cycle of direct tapping consists of (D~(Z) action.

[G84.2]
—-rapid traverse -cutting feed
o- *9
© ! ?©
(D Positioning of tapping hole
t © Rapid feed to R-point
? £ (D (D Operation until Z-point by tool normal rotation

© © @ Dwell by parameter setting


initial point © Return to R-point by tool counter rotation and
stop of tool rotation
6 o
© R-point
© Dwell by parameter setting
© Rapid traverse to initial point
Note 1) Tool rotation is reverse with G84.3.
Note 2) The spindle rotates automatically by G84.2(G84.3) command.
Note 3) Command ordinary cutting mode (G94) after G95 mode is used.

D. Pecking cycle
When deep tap is operated in direct tapping, cutting operation by dividing from R-point to
Z-point into several sections can be mode.
—- Rapid traverse
- Z-axis (Spindle synchro-feed)
P. Dwell
G84.2
G84.2 (G98) G84.2 (G99)

*0 Initial point
Spindle stop
1 i

2J
? Spindle stop
1
i 16 2
Spindle forward turn >

4PT1-£ .A
,
©spindle stop
R-point
Spindle forward turn

1
Y
it i f
©spindle stop
R-point

Q; 3 5
:Pft T
Q: Z-point spindle
reverse turn Z-point spindle
Spindle stop @ Spindle stop ® reverse turn
4 4

Note 1) During synchro-feeding of spindle/Z-axis, feeding speed and spindle override shall
be regarded as 100%.
Note 2) Tapping cycle with single block causes the stopping at end-point of operation 1, 2

7-23
l
and 6.
Note 3) At program | STOP 1 in between operations 3~5, 1 STOP I lamp lights, however,
it stops after the end of operation 6.

G84.3
G84.3 (G98) G84.3 (G99)

*ÿ0 initial point


Spindle stop * 2!
!
? Spindle stop
1
2
16
Spindle reverse turn Spindle reverse turn

Qrar3
(pjspindle slop
R-point
l rr3
5
@spindle stop
R-point

Q
Ed n-5 7
Q: I
Spindle stop (g)
Z-point spindle
forward turn Spindle stop w
Z-point spindle
forward turn
4 4

Note 1) The caution is the same as that of G84.2 (pecking cycle).

7-24
7-14 Boring pattern cycle (G70, G71, G72, G77)
© G70 : Bolt-hole cycle
G70 X _ Y_ _ I_ J_ L_ 2
(Example) G70 X90. Y30. 140. J20. L6 ; 3,
I= 40mmA 1

=20°
T
Y=30
J 4
0 End point
6
(D G71 : Arc cycle Start point
5
G71 X _ Y_ I_ J_ K_ L
(Example) G71 X30. Y10. 1100. J30. K15.2 L7 ;
5
*
4
3
KA, 2
K,
1

Start point J J=30°


dD G72 : Line at angle cycle o xo
G72 X _ Y _ I_ J_ L_ ; 30
5 End point
(Example) G72 X50. Y20. 125. J30. L5 ; I= 25mm 4
3
,2 J= 30°
X = 50 XI
Y=20
12

l
Start point 1=25 11 C =25
© G77 : Grid cycle
G77 X _ Y _ I_ J_ K_ A 9
10. 5,
6 K=60°
L L=3 7 4
(Example) G77 X20. Y10. 125. C25. J30. K60. 3
8 A=4
A4L3 ; 2
1 )J=30°

o
) Y=10
Start point X=20

Note 1) G70, G71 , G72, G77 are non-modal G-codes.


Note 2) Be sure to command G70, G71, G72, G77 by canned-cycle mode.
Note 3) After machining of G70, G71, G72, G77, the next block should be cancelled by G80
exactly.

7-25
7-15 Bolt-hole cycle (G70)
A. Function
In case of equally distributed drilling on the

circumference, this function decides the (D CD
position by automatic calculation at I=40i l
rectangular co-ordinate value with the radius
and angle. «.J = 20°

X=90 (90,30)
Y=30

Starting
%
poinK. 5
6 ®
QS4X0Y0 End point
Q
B. Command format
G70 X _ Y_ I_ J_ L_ ;
G70: Bolt-hole cycle
X, Y: Make description based on circle-center coordinate, G90, 91.
I : Radius of circle. It should surely be positive number.
It can be indicated by minimum setting.
J : Setting of angle at initially positioned point.
0.001 degree unit CCW turn is positive.
L : Circle-dividing number. Positive is CCW turn. Negative is CW-turn.

C. Program example
G54G90G00X0Y0S1000T15; * Transfer to the start point
G43Z30.0H14; * Z-axis approach
M03; * Spindle forward turn
G98G81Z-30.0R3.0F150L0; * Drill-canned cycle command LO no-move.
G70X90.0Y30.0I40.0J20.0L6; * Bolt-hole cycle command, CCW-turn
G80M05; * Canned cycle cancel
M98P98; * Transfer to sub-program 098

Note 1) Be sure to set L0 for the canned cycle command.


Note 2) When "L" at bolt-hole cycle G70 is minus (-), machining sequence is (D~©.

7-26
7-16 Arc cycle (G71)
A. Function
It is used for machining of drilling-line
arranged in equal interval on the arc.
5
4
\3
1=100 j 2
15.2L--W 1

Start Point J) 10
i J= 30°

30
G55X0Y0

B. Command format
G71 X _ Y_ I_ J K _ L_ ;
G71: Arc cycle
X, Y: Make description based on circle-center coordinate, G90, 91.
I : Arc radius. It should surely be positive number.
It can be indicated by minimum setting.
J : Setting of angle at initially positioned point. 0.001 degree unit CCW turn is positive.
K : Angle-interval. 0.001 degree unit. Positive (plus) means CCW-turn.
L : Positioning frequency setting. It is surely positive number.

C. Program example
G55G90GOOXOYOS1500T20; Transfer to the start point
G43Z30.0H19; Z-axis approach
M03; Spindle forward turn
G98G81Z-25.0R3.0F200L0; Establishment of canned cycle mode.
L0, no movement.
G71X30.0Y10.01100.0J30.0K15.2L7 ; Arc-cycle command, CCW-turn .
G80M05; Canned cycle cancel
M98P98; Transfer to sub-program 098.

7-27
7-17 Line at angle cycle (G72)
A. Function

__
It is used for machining the arranged holes
in equal interval on the declined straight line.

'i End point


I= 25mm 4
3
J=30°
X=70mm
£ 1
Y=30mxn
/

G54X0Y0

B. Command format
G72 X _ Y_ I_ J_ L_ ;
G72: Line at angle cycle
X, Y : Coordinate of start point (machining start point)
I : Make setting with positive number. Interval-setting.
When "I" is negative, make positioning to the symmetric direction on the point with the
center of start point. Indication can be made by minimum setting unit.
J : Setting of angle. 0.001 degree unit. CCW-turn is positive (plus).
L : Positioning frequency setting. It is surely positive number.

C. Program example
G54G90G00X0Y0S1500T20; Positioning to work -coordinate X0Y0.
G43Z30.0H19; Z-axis approach
M03; Spindle forward turn
G98G81Z-25.0R3.0F200L0; Establishment of canned cycle mode L0, no
movement.
G72X70.0Y30.0I25.0J30.0L5; Line at angle cycle command No.1~5 boring.
G80M05; Canned cycle cancel
M98P98; Transfer to sub-program 098.

7-28
7-18 Grid cycle (G77)
A. Function
It is used for machining of arranged holes in
equal interval on lattice. mm

1=25 12
11 C=25
10. 5.
9 6 K=60°
L3
7
8 3/
A=4
Y-side.
1 = 30° X-side
c x=2° O Y=10
G54X0Y0

B. Command format
G77 X _ Y_ I_ C_ J_ K_ A_ L_ ;
G77: Grid cycle
X, Y: Coordinate of initial hole position
I : Setting of interval in X-direction
C : Setting of interval in Y-direction
J : Angle formed between X-axe and X-side (0.001 degree unit. CCW-turn is positive.)
K : Angle formed between X-side and Y-side (0.001 degree unit. CCW-turn is positive.)
A : Quantity of holes on X-side (setting with positive number)
L : Quantity of holes on Y-side (setting with positive number) Whereas, A x L shall not
exceed 32767.

C. Program example
G54G90G00X0Y0S1000T10; Positioning to work-coordinate X0Y0.
G43Z30.0H09; Z-axis approach
M03; Spindle forward turn
G98G81Z-25.0R3.0F200L0; Establishment of canned cycle mode it should
be L0.
G77X20.0Y10.0I25.0C25.0J30.0K60.0A4L3; Grid cycle command 1~12 boring.
G80M05; Canned cycle cancel
M98P98; Transfer to sub-program 098.

7-29
I.

7-19 True circle cutting


7-19-1 S format(G302~G305)
A. Function :

A series of operation cutting the inner side or outer side of the true circle can be commanded by
one block.

B. G code
G302: True circle cutting inner side CW (clockwise)
G303: True circle cutting inner side CCW (counterclockwise)
G304: True circle cutting outer side CW (clockwise)
G305: True circle cutting outer side CCW (counterclockwise)

C. Command form
a) True circle cutting ID (G302, G303)

[G3C32]L PZ]U- Q_ L__ D _ F.

However,I: Radius of finishing circle


I + is of approach for the plus
direction
(Sy I -is of approach for the minus
direction
S
4. R : R command for the high speed
,Q feed range
R— (D) - V. J : J command for the high speed
2 2 feed range
"73 0 7y
U : Radius of the final finish-ing
5S1 9/ V circle for spiral true circle cutting
o
ij Q : Circular arc increment for spiral
true circle cutting
L : Repeated number of times at the
true circle section
D : Tool radius compensation No.
F : Cutting feed rate
- + -I


= R (D) U I— fP)
Tool center path : 0-M ->2 -*3
U— (D)
4 — 5 -* 6
*ÿ
7
_U -+8 —*9 ->10ÿ0

7-30
!
I
b) True circle cutting OD (G304, G305)

U _ L_ D_ F

3
.9
1(

T)
T X
1
\ a
Tool center path : O-M -»2 -*3
~*4 ~*5 —6
(D)
-7 —8 —ÿ9
A ->o
sm,
I— CP) K+(D)
<
I+K

However,I: Diameter of approaching circle


I+ is of approach for the plus direction
I— is of approach for the minus direction
R : R command for the high speed feed range
J : J command for the high speed feed range
K : Radius of the finishing circle
U : Radius of the final finishing circle for spiral true circle cutting
Q : Circular arc decrement for spiral true circle cutting
L : Repeated number of times at the true circle section
D : Tool radius compensation No.
F : Cutting feed rate

7-31
D. Program example

a) Basic form

G302 150. DIO F500 ; G302 1-50. DIO F500 ; [

/
150.
4 / 3
1 50.
1 2
/
5 if
/
7 S 5 / 2 1
3 /
4

y (D10): Offset amount


(D10): Offset amount /
/

7-32
G303 150. DIO F500 ; G303 1-50. DIO F500 ;
Y Y
/

X / /
Xii / * I X/
50.
e 5
V 2 i
150v

7 t 2
4 5 5
3
4
/
/ (D10): Offset amount
(D10): Offset amount

G304 140. K30. D10 F500 ; G304 1-40. K30. DIO F500 ;
Y
k

3 4

K30
/
7K 3 0
1T A / 2 1
1 2.
7 7 7 .5 6,
/
. j,
4 3
(D10): Offset amount (D10): Offset amount
140. 1-40.

G305 140. K30. D10 F500 ; G305 1-40. K30. DIO F500 ;

4X 3

K3QV K30
1 2 A X £ 5 6
.6 5 7 ,/J
A
/ 2 1

3 4
(D10): Offset amount
(D10): Offset amount
140. 1-40.

7-33
b) R command for the high speed feed range

G302 150. R30, DIO F500 ; G304 140. R30. K30. DIO F500 ;
Y Y
/ J/ i
/
4 3
/
1 50.
/I 2
/ K3y?
A ,B~S' /
/ 5, \l 2 J,
3
/
(D10): Offset amount
4
(D10): Offset amount
/
/ High speed feed range:
High speed feed range: 140. R30. -(DIO)
R30. -(DIO)

c) J command for the high speed feed range

G302 150. J5. D10 F500 ; G304 140. J5. D10 F500 ;

/
u J : Clearance amount at the
high speed feed
J : Clearance amount at the high
speed feed

4
50. E’Gurm
,'fl |/ K3Q.;

& 7V
3
in /
& yÿ (D10) : Offset amount (D10) : Offset amount
&
7
/ / (By automatic calculation)
(By automatic calculation)
High speed feed range High speed feed range

d) Repeating designation at the true circle section. (L)

' Repeat the finishing circle twice.


4
/ (Note)
In case of spiral true circle cutting, the final
.150. finishing circle shall be repeated.
1 2

7 6 5
/
3 /
/

7-34
e) Spiral true circle cutting designation (U, Q)

G302 140. U70. Q10. DIO F200 ;

A
y
l Q: Circular arc
increment
!

5 .12

(D10):Offset amount

G304 150. K50. U20.0 Q10. DIO F200 ;

3
Q: Circular arc increment

/12
cQ.
1
2
32 (D10): Offset amount

8
+ (D10)
150. -(DIO)

7-35
E. Precaution

a) Give the G302~G305 commands in the state of tool radius compensation cancel.
b) The G302~G305 commands are of non-modal G does.
Address numerical values other than D and F commanded in the same block are effective
only for commanded blocks.
c) The numerical values of R, J, K, U and Q shall be always commanded by position values.
d) When R and J are omitted, high speed feed ranges become ineffective.
e) When U and Q are omitted, spiral true circle cuttings become ineffective.
f) When D and F are omitted, the D and F already commanded becomes effective.
g) When L is omitted, the repeated number of a true circle section becomes always 1.
h) When R and J are commanded in the same block, J has priority.
i ) When the following commands are given, an alarm occurs.
( i) When (radius of finished circle (I) - offset amount) is either 0 or a negative value
at G302 and G303.
(ii) When high speed feed ranges are not obtained at the R designation in the high
speed feed range.
(iii) When high speed feed ranges are not obtained by automatic calculation at the J
designation in the high speed feed range.
(iv) When (radius (U) of final finished circle — offset amount) is either 0 or a negative
value in the spiral cutting of G302 and G303 commands.
(v) When (diameter (I) of approach — offset amount) is either 0 or negative value at
G302 and G303 commands.
(vi) When the approaching circle doesn't exist through changing an offset amount.
j ) The XY plane can be selected regardless of G17 ~ G19 commands by parameter
setting.
k) When a negative value is set to an offset amount, it has been altered to a positive value.
I ) When R is commanded in the high speed range, cutting width can not be specified
according to R value, therefore, cutting may be done during movement in the high speed
range. Pay attention to this point.

7-36
7-19-2 Fformat(G12.2, G13.2)
A. Function
A series of operation cutting the inner side or outer side of the true circle can be commanded by
one block.

B. G code
G12.2: True circle cutting inner side CW (clockwise)
G13.2: True circle cutting inner side CCW (counterclockwise)

C. Command form
a) True circle cutting ID (G302, G303)

pK].- £t]« Q _ L_ D_ F.

Y However,I: Radius of finishing circle


I + is of approach for the plus
direction
I - is of approach for the minus
v6 direction
4 R : R command for the high speed
£
feed range
R-(D)
2 X J : J command for the high speed
v - feed range
i o
9/
U : Radius of the final finish-ing

1 4
3
JO
Si l circle for spiral true circle cutting
Q : Circular arc increment for spiral
true circle cutting
L : Repeated number of times at the
true circle section
D : Tool radius compensation No.

*1 - R - (D) + U. - I I-(D)
U-(D)
F : Cutting feed rate
Tool center path : 0-M ~*2 -*3 -*ÿ

4 5 -6 —> 7
U. -*8 >9 -’ÿ10—*0
~

7-37
:
1
D. Program example

a) Basic form

G12.2 150. DIO F500 ; G12.2 1-50. DIO F500 ;


Y Y

,
1 50.
4 / 3
ISO.
/ /
1 2 5 6 /

7 6 S 7 2 1
3 4

(D10): Offset amount / (D10): Offset amount


/

G13.2 150. D10 F500 ; G13.2 1-50. DIO F500 ;


Y
/

7 / 4 /
/ 4 /
/a s

50. V
< 2 I
15QV
/
7 I l 5 6
3
4
/ (D10): Offset amount
/ (D10): Offset amount

7-38
b) R command for the high speed feed range

G12.2 150. R30. DIO F500 ;

/
/ /
4
150. /
;
/ /
'l 5.
a
/
(D10): Offset amount
/
/
High speed feed range:
R30. -(D10)

c) J command for the high speed feed range

G12.2 150. J5. DIO F500 ;

// , J : Clearance amount at the


f high speed feed
/ 4
C) 50.
/I !
/

3 /
(D10) : Offset amount
7Y t

/ /
(By automatic calculation)
High speed feed range

d) Repeating designation at the true circle section (L)


G12.2 150. L2 D10 F500 ;
Y

ZJ ' Repeat the finishing circle twice.


4
/ (Note).
in case of spiral true circle cutting, the final
.150. finishing circle shall be repeated.
I 2
X
7 E 5
3 /
/

7-39
e) Spiral true circle cutting designation (U, Q)

G12.2 140. U70. Q10. DIO F200 ;


Y
.-tv

4.
/
L Q: Circular arc

1141-010
MIA! 4-x
increment

.12

(D10):Offset amount

7-40
E. Precaution

a) Give the G12.2, G13.2 commands in the state of tool radius compensation cancel.
b) The G12.2, G13.2 commands are of non-modal G does.
Address numerical values other than D and F commanded in the same block are effective
only for commanded blocks.
c) The numerical values of R, J, K, U and Q shall be always commanded by position values.
d) When R and J are omitted, high speed feed ranges become ineffective.
e) When U and Q are omitted, spiral true circle cuttings become ineffective.
f) When D and F are omitted, the D and F already commanded becomes effective.
g) When L is omitted, the repeated number of a true circle section becomes always 1.
h) When R and J are commanded in the same block, J has priority.
i ) When the following commands are given, an alarm occurs.
( i) When (radius of finished circle (I) — offset amount) is either 0 or a negative value
at G12.2 and G13.2.
(ii) When high speed feed ranges are not obtained at the R designation in the high
speed feed range.
(iii) When high speed feed ranges are not obtained by automatic calculation at the J
designation in the high speed feed range.
(iv) When (radius (U) of final finished circle - offset amount) is either 0 or a negative
value in the spiral cutting of G12.2 and G13.2 commands.
(v) When (diameter (I) of approach - offset amount) is either 0 or negative value at
G12.2 and G13.2 commands.
(vi) When the approaching circle doesn't exist through changing an offset amount.
j ) The XY plane can be selected regardless of G17 ~ G19 commands by parameter
setting.
k) When a negative value is set to an offset amount, it has been altered to a positive value.
I ) When R is commanded in the high speed range, cutting width can not be specified
according to R value, therefore, cutting may be done during movement in the high speed
range. Pay attention to this point.

7-41
7-20 Square side frame outer cutting (G322, G323)
A. Function
A series of operation of square side frame outer cutting can be he command in one block.

_
B. G code
G322 : Square side frame outer cutting CW (clockwise)
G323 : Square side frame outer cutting CCW (counterclockwise)

C. Command form

("G322 “I _ Z_ R _ I_ J_ K_ P_ A_ C_ D_ F
I G323 J x- Y
l
Q

r "~"1
¥!
Initial point
ir 7
! R point
£
i Q !
J 71 _„4 I
pi j_#L*.prl Q
i
p
___
j I
1 _ i

t
(G 3 2 3)Q t !£>' /
(G 3 2 2)
rn pr2
Z point

(X, Y) : Datum point of X and Y axes


Z : Z point
R : R point
Q : Cutting depth per one cutting for Z-axis
I : X-axis length of the quadrangle to be finished
J : Y-axis length of the quadrangle to be finished
K : Cutting width per one cutting for X and Y axes
P : Approaching amount
A : Radius of the corner R
C : Cutting allowance
D : Tool offset No.
F : Cutting feed rate
pr1 : Finishing allowance (parameter setting)
pr2 : Clearance amount (parameter setting)
(Note 1) When cutting the cutting allowance, an override can be applied to the cutting feed rate
by the ratio set by a parameter.
7-42
D. initial point
This is machining start point for G322 and G323 commands.
When a series of operation is finished, all the X, Y and Z axes return to their start point.

E. R point and Z point


The R point and the Z point become as follows by G90 and G91 commands.

[ G90 ] [G91]

— ZO position
Initial point Initial point
8

n
i CR point
S

V, 2
R point

Z
Si Z point iI
O Z point

F. Program example
G17;
G90G322X50. Y-100. Z-50. R-10. Q20. 180.
J40. K8. P30. A2. C15. D10F200;

3
9*
Initial point
ai i

R point
8 b, i

m 4 l.6,i
c1
i

M
dt ,
{
I
;h
:
i

Z point

0
o'<
30 However, --
-
*- rapid traverse
cutting feed


Tool center path : 0-*1-*a-*b-*2-ÿ3-ÿ4ÿ5->6-i*c-ÿd-ÿ2ÿ3
4->5ÿ6— e-»7

h ~*30~*0

7-43
G. Precautions

a) Tool radius compensation is applied regardless of the tool radius compensation (G41 and
G42) by G322 and G323. !

Accordingly, command them in the state that the tool radius compensation is cancelled.
b) G322 and G323 are the non-modal G codes.
c) When A is omitted in the G322 and G323 block, the corner R becomes ineffective.
d) When the numerical value of K is a negative in the G322 and G323blocks, finishining
becomes ineffective, and when the numerical value of Q is negative, the clearance value
becomes ineffective.
e) All the numerical values such as the address I, J, P, A and C shall be commanded by positive
values.
When negative values are commanded, an alarm occurs.
f) When D and F are omitted, the D and F already commanded become effective.

7-44

!
7-21 Coordinate rotation (G68, G69)
A. Function
By this command the shape commanded with a machining program can be ratted at the
angle designated.
There are 2 sorts of coordinate rotation as follows:
a) When the rotation center is regarded as the reference point of the work coordinate
system Type A
b) When the rotation center is commanded by a program Type B
The coordinate rotation is engaged by the type A after engaged by the type B. Besides, it
can be engaged by the type A and the type B independently.

Type B
Type A

s
<
\

Rotati
a-
ang
\ Rotation angle
\
Rotation center Rotation center
(Reference point of work coordinate (Command by program)
system)

B. G code
G68: Coordinate rotation ON
G69: Coordinate rotation cancel

C. Command form
G68 _ a _ /3 _R ; Coordinate rotation type B ON
G68 ; Coordinate rotation type A ON
(All a _ (3 _R are omitted)
G69; Coordinate rotation cancel
However, a , £ : Coordinate value of the rotation center
Command 2 axes of the plane designated with G17, G18 and G19 by
an absolute value.
R : Rotation angle
The counterclockwise direction is plus
The unit is -360.000~ +360.000 or -360.00000~ + 360.00000
Rotation angle of the type A : R value on the screen of the work coordinate
system offset.

7-45
I
a) When the type A and the type B of the coordinate rotation are used. j1
G68 a _ /3 _R ; Coordinate rotation type B ON
G68 ; Coordinate rotation type A ON

G69 ; Coordinate rotation cancel


b) When the type A of the coordinate rotation are used.
G68; Coordinate rotation type A ON

G69 ; Coordinate rotation cancel


c) When the type B of the coordinate rotation are used.
G68 a _ j3 _R ; Coordinate rotation type B ON

G69; Coordinate rotation cancel

D. Program example
G17G54 G90 GOO XO YO;
G68 X30. Y20. R45. ; Coordinate rotation type BON
G68; Coordinate rotation type A ON
N1 G01 G91 X30. Y20. F200;
N2 X60. ;
N3 Y30. ;
N4 X-60. ;
N5 Y-30. ;
G69 X-30. Y20. ; Coordinate rotation cancel

Program shape rotated by the type A after rotated


j 1 by the type B

" \ Program shape rotated by the type A


s
/
>
Program shape before coordinate rotation
L___
~f\
-6
/
- Rotation angle of type B
- Rotation of
center type B
X
Rotation angle of type A
Rotation center of type A
7-46
E.When the coordinate rotation is used together with tool radius, scaling and compensation,
programmable mirror image etc., command in the order as below.
G511...; Programmable mirror image ON
G51...; Scaling ON
G68 a _ /3 _R ; Coordinate rotation type B ON
G68; Coordinate rotation type A ON
G41...; Tool radius compensation ON

G40; Tool radius compensation cancel


G69; Coordinate rotation cancel
G50; Scaling cancel
G501...; Programmable mirror image cancel

F.When commanding repeatedly


Resister a program as a sub-program by setting a parameter and that program can be called
during changing the angle.
G17G54 G90 GOO XO YO;
G68 XO YO RO;
M98 P100;
M98 P200 L3;
GOO G90 XO YO;
G69;

0100G90G01 G42X0 Y-10. D10; •••• (1)


X10. ; .... (2)

--
YO. ; •••*
O) Program shape after coordinate rotation
G40;
I -j
Tool center path
M99; I i
i
1 -n
i i
i
0200 G91 G68 XO YO R90.; i i
G90 M98 P100; I i

---
(1)
I I (3)
M99
A.
I
_l
X*

7-47
G. Precautions

(a) G68 shall be commanded in the independent block.


When it is commanded by other than the independent block, an alarm occurs.
(b) When the plane is changed by commanding the plane selection (G17, G18 and G19)
i
during G68 mode, an alarm occurs.
(c) The first travel command after the block that G68 and G69 were commanded shall be
commanded in absolute.
(d) The commands that the coordinate rotation is not engaged are as follows.
(i) The shift amount for fine boring (G76) and back boring (G87).
(ii) G28, G29, G30, G53, G31, G27
(e) When G92 and G52 are commanded, the rotation center of the coordinate rotation type A
becomes (0, 0).
(f) Commanding tool position offset (G45 ~ G48) at the coordinate rotation mode causes
incorrect sharp.

7-48

'I
7-22 Surface cutting cycle (G324, G325, G326)
The surface cutting canned cycle consists of 3 kinds of cycles;
Square surface cutting (G324)
Square surface one side sizing (G325)
Square surface both sides sizing (G326)
It is convenient canned cycle to perform the surface cutting and groove cutting by using a face
milling cutter or end milling cutter.
In these cycles, assume the coordinate value designated by X and Y as the start point, and
assume the range of the length (I) in X axis direction and the length (J) in Y axis direction as the
work surface, and a cycle cutting is executed up to the coordinate value of the finishing surface
by the cut-in amount (Q) of one surface.
1. Surface G324 2. One side sizing G325 3. Both sides sizing G326

1. Surface G324 2. One side sizing G325 3. Both sides sizing G326

/ / y—y
~//
[ /
y
] / / [ 7
0 Z. Z-ZI Z-Z,
7
ZIZ Z ] [
7777 z
©l '—/~7 0 x x 7
/

__
/ / /

(1) Square surface cutting (G324)

A Function This is a function that machines square type plane surface in the lamp by
unidirectional or bidirectional cutting.
B Commanded from
G324 X_ Y _ 2_ R _ I_ J _K_ Q_ P_ C_ D_ E_ U F;
G324 : Square surface cutting
X, Y ; Start point coordinate value of the plane, entered based on G90 and G91.
Z : 3rd axis coordinate value of the finishing face, entered based on G90 and G91.
R : R point coordinate value in the 3rd direction.
I : Length in the X-axis direction Commanded with decimal point.
J : Length in the Y-axis direction Commanded with decimal point.
K : Surface cutting width (The cutting method is designated by the sign+ — .)
Q : cutting depth per cutting in the 3rd axis direction (- : No finishing)
P : Approaching amount (Absolute value)
C ; Release amount in the 3rd axis direction (Absolute value) Commanded with
decimal point.
D : Tool radius compensation No. (Radius register)
E : Feed rate for finishing (When omitted, the feed rate is F. ) (mm/min)

7-49
!
U : Spindle rotation speed for finishing (When omitted, the rotation speed is S. )
(min'1)
F : Cutting feed rate (When omitted, F commanded previously) (mm/min)

Q TxTT)
Y -HP

R
Q
T

1 T Finishing allowance
(No.5152)
Z

C Movements

x,y
' 1 0 ]
J j. ]
Oi to
tX,Y
I=© I=© I=© 1=0
J=© J=® J= © J=©

The start point and cutting direction can be changed by altering the sign ofIand J. And when
the cutting width: K is set in negative, the cutter center is stepped out to the outside by only the
approaching amount.

7-50

1
0
p p
Approach amount Approach amount
Y

Z G
t —> X

-- R
1st time +Q
2nd time +Q
3rd time (Z3 - Finishing allowance)
Z
Z

Y
1
&—»X

Solid line: Cutting feed


Dotted line: Rapid traverse

-J -J 13,2?---"'
R' 8.16,24
Rr in.ÿ- -9,
12.24.36
: 6/
2
?
-3
1
7

15
7
2
T 3 —
??.~-21
5.
11

733V3
23
: 14.,
:i0 ii 372 V 15
s 76
t
:
-jo u 34 -43.
2i 13Q--29..
ylS 19 lo P 27...
z is

Bidirectional cutting ( 1 Q I S C) Unidirectional cutting ( I Q 1 < C)

7-51
Bidirectional cutting ( I Q I Unidirectional cutting ( I Q I <C)

0 Q
P K=© P K=© P

0 p K=e
0 p K=©
0p

7-52
(2) Square surface one side sizing (G325)

A. Function Multi-directional cutting is enabled and the last face can be designated as well.

B. Commanded from
G325 X_ Y _ Z_ R_ I_ J_ K_ Q_ P_ C__ D_ E_ U_ F

G325: Square surface one side sizing


X, Y : Start point coordinate value of the plane, entered based on G90 and G91.
Z : Z-axis coordinate value of the finishing face, entered based on G90 and G91.
R : R point coordinate value in Z-axis direction
I : Length in the I-axis direction
J : Length in the J-axis direction
K : Surface cutting width (The cutting method is designated by the sign © 0.)
Q : cutting depth per cutting in Z-axis direction (©: No finishing)
P : Approaching amount (Absolute value)
C : Designation of cutting direction (1
D : Tool radius compensation No. (Radius register)
E : Feed rate for finishing (When omitted, the feed rate is F. ) (mm/min)
U : Spindle rotation speed for finishing (When omitted, the rotation speed is S. ) (min'1)
F : Cutting feed rate (When omitted, F commanded previously) (mm/min)

7-53
i
i
Finishing allowance ;C3)
(No.5152)f x /

K
G TXTYI
CI :C4)
p
Y

X
R
Q

i
Z
Z *
Finishing allowance
(No.5152)

C. Movements
Y X

P
Approach amount

7-54
1) X, Y approaching point, Rapid traverse until R point
I
2) Rapid traverse until the cutting high of Z axis
1
3) Machining in theIcommand axis direction
1
4) Machining in the J command axis direction, K=©: Rapid traverse, K=0; Machining
1
5) I-J plane 3) and 4) shall be repeated until the machining is finished.
1
6) Rapid traverse return until R point.
I

7) 1) 6) shall be repeated until 3rd axis coordinate value, and the bottom and the plane are
finished in the final step.

WMMZm WMMmm

Cl
$ X,Y X,Y
0
I=® 1= Q
' The start point and the cutting

aX,Y
direction are designated by
the sign C and I.

1 *1
1
C2 . I=©

I li
i
i=e

I I
X,Y
a
T=© i=e
X.Y

C3
$ &
mmmM
a X,Y

I i
i I=@
W i=©

i
C4

% i
7-55
(Program example)

ZO

Tool diameter: <6 30


20 An end mill is used.

100.0

G54 X0
YO
200.0
-»•

Too! diameter: 4> 30


An end mill is used.
G90 G54 GOO XO YO S300;
G43Z50.0 H01;
M03;
G325 XO YO Z-20.0 R3.0 1200.0 J100.0 K21.0 C1 Q10.0 D01 F100;
M05;

7-56
D. Precautions
(1) When cutting-in amount per cutting (Q) is made ©, finishing operation is not done
(including plane).
When ( I R-Z1 I ) one operation is performed.
(2) From R point, cutting-in is performed by one cutting amount (Q).
(3) J: J direction length becomes always positive regordless©, ©.
(4) When K is made©, center of cutter gose outside only at approaching. Cutting of
cutting width is done at cutting feed speed.

0 0
X,Y P_

(3) Square surface two sides sizing (G326)

A. Function
Used for inside surface cutting with two sides.

B. Commanded from
G326 X_ Y _ Z_ R_ I_ J_ K_ Q _P_ C_ D_ E_ U_ F_ ;
G326 : Square surface two sides sizing
X, Y : Start point coordinate value of the plane, enterd based on G90 and G91.
Z : Z-axis coordinate value of the finishing face, entered based on G90 and G91.
R : R point coordinate value in Z-axis direction
I : Length in the I-axis direction
J : Length in the J-axis direction
K : Surface cutting width (The cutting method is designated by the sign©©.)
Q : Cutting depth per cutting in the Z-axis direction (©: No finishing)
P : Approaching amount (Absolute value)
C : Designation of cutting direction (1=or 2)
D : Tool radius compensation No. (Radius register)
E : Feed rate for finishing (When omitted, the feed rate is F.) (mm/min)
U : Spindle rotation speed for finishing (When omitted, the rotation speed is S.) (min'1)
F : Cutting feed rate (When omitted, F commanded previously) (mm/min)

7-57
I
A

\j/
K

1
© ( XVY ) 1 \i/
Finishing allowance
(No.5152)
P «-
I
X

i
Z
T
J Finishing allowance
z (No.5152)

Y &
f —9-X
C. Movements
CD ©
Finishing allowance

T I

u. .-i
Finishing surface

© ® •

IT
L..

n i

7-58
(D Starting point side, cutting is done, leaving side finishing allowance
I
(D Ending point side, side finishing allowance is left.
1
(D Starting point side, cutting-in cutting is done from the position side finishing allowance is
left.
I
(D Ending point side, side finishing allowance is left.
1
d) Starting point side, side and bottom surface finishing operation
4
© Ending point side, side and bottom surface finishing operation.

D. Precautions
(1) When ( I R-Z I ) (Q), finishing is not done.
(2) When cutting-in amount per cutting (Q) is made©, finishing operation is not done
(inclading plane).
(3) When K is made©, center of cutter goes outside only at approaching.

7-59
j

I Cl C2
J
<- J
1 A I

©
I lf
I i
0
i(X,Y)
I
(X,Y) W////////M

wmM
(X,Y)
© i

1
1 i
I i
I
©

I
n


® i
( 1
i i
©
i i (X,Y)

(X,Y)

(X,Y)

© 1
© I
I
//

7-60
7-23 Pocket cutting (G327ÿG333)
A. Function
It is possible to command a series of movements for cutting the inner side or outer side of a
circle, truck and square in one block.

B. G code
G327: Inner circle
G328: Inner square
G329: Inner truck
G330: Outer circle
G331: Outer square
G332: Outer truck
G333: True circle

C. Command from
G_ X_ Y _ Z_ R_ Q_ I_ J_ K_ P_ A_ C_ U_ V_ W E _ D_ F
Initial point

1 R point
r I
i
i i i
! prl !! I
___
I
i i Pr2

m
I Z point

i

G_ : Mode
(X, Y) : Reference point of X and Y axes
Z : Z point
R : R point
I, J, K, P, A, C, U, V, W, E Refer to the description of each function.
I, J, K, P, A and C shall be commanded with decimal point.
D : Tool offset No.
F : Cutting feed rate
pr1 : Finishing allowance (Parameter setting)
pr2 : Clearance amount (Parameter setting)
7-61
D. Initial point
The initial point is the machining start point for G327~G333 commands.
When a series of movements are finished, all the X, Y and Z axes return to the start point.

E. R point and Z point


R point and Z point become as follows by G90 and G91 commands.
[G90] [G91]
ZO point
Initial point
?T i
R
Initial point
?~T R
4 i
:ft point <$4 X R point
I
[
Z
I z
(
'i
O Z point 6 Z point

1. Inner side of circle G327 2. Inner side of square G328 3. inner side of truck G329

e
4. Outer side of circle G330 5. Outer side of square G331 6. Outer side of truck G332

O CD

0
7. True circle G333

7-62

I
F. Precautions
(1) Tool radius compensation is engaged regardless of the tool radius compensation (G41
and G42) by G327~G333 commands.
Therefore, command them in the state of tool radius compensation cancel (G40).
(2) G327~G333 are non modal codes.
(3) When F is omitted, the F already commanded becomes effective.
(Note 1) As to the details of each function, refer to separate description.

7-63
.
A. Function

G327 X_ Y
_
1 Circle pocket cutting (G327)

This is used for pocket cutting of inner circle by end mill.

B. Command form
Z_ R

G327 : circle pocket


_ I_ J_ K_ Q_ D__ E_ U_ V_ F.

X, Y : Circle center coordinate value, entered based on G90 and G91.


Z : Z-axis coordinate value of pocket finishing, entered based on G90 and G91.
R : R point coordinate value in the Z-axis direction.
I : Radius of cutting circle (the cutting direction is selected by the sign © ©).
J : Radius of the semi-finished hole (the cutting method is designated by the sign ©
©)ÿ
K : Cutting width (©: No finishing in the side face direction).
Q : Cutting depth per cutting in the Z-axis direction (©: No finishing in the Z-axis
direction).
D : Tool radius compensation No. (radius resister).
E : Feed rate for finishing (When omitted, the feed rate is F). (mm/min)
U : Spindle rotation speed for finishing (when omitted, the rotation speed is S). (min'1)
V : Z-axis cut-in speed (when omitted, the feed rate is F). (mm/min)
F : Cutting feed rate (when omitted, F commanded previously), (mm/min)

I
(X, YA K

Y
\ \
I.

I tf/j; Finishing allowance


him '
X
Finishing allowance
(NO.5152) -Approach point

2ÿ-
I if R
f

0.
7-64
/
C. Movements
- (X, Y)

2|
i
I Cutting depth per cutting: Q
i
Approach point
f-t
3 *23 i Q
I

m
JLL_

2i
---—
-r

ii
R point

101 8( 6' TST1


13 20

19 17 1 16
Solid line: Cutting feed
Z
Dotted line: Rapid traverse

1. Moves to X, Y point in rapid traverse.


I
2. Moves to the Z-axis approaching point in rapid traverse.
(R point + cutting depth per cutting in the Z-axis direction (Q). )
i
3. Moves to the R point in rapid traverse
i
4. Cuts in by the cutting depth per cutting Q by the cutting speed, V or F, in the Z-axis
direction.
i
5. Cuts by the cutting width (K) considering the semi-finished hole (J) by the cutting speed (F),
in the spindle direction.
i
6. Circular cutting
Circle radius command:I © (CW)
Circle radius command:I © (CCW)
i
7~10. Item 5 and 6 are repeated.
I
11. Releases by the cutting depth per cutting Q by the cutting speed, V or F, in the Z-axis
direction.
1
12. Returns to the spindle center in rapid traverse.
1
13~21. Item 4~12 are repeated.
1
°1 Spindle, finish cutting until a designated dimension in the Z-axis direction.
22. Returns to the R point in rapid traverse.
I
23. Returns to the approaching point in rapid traverse to finish in the Z-axis direction.

7-65
D. Precautions
(1) When the cutting width (K) is 0, no finish cutting is done in the X-axis and Yaxis
directions. (Fig.1)
(2) When the radius of the semi-finished hole (J) is ©, the tool doesn’t return to the X-axis
center in the machining cycle. (Fig.2)

t
K i K IK

Designated dimension
1

V
t

\A
T

(3) When the cutting depth per cutting (Q) in the Z-axis direction is ©, finish machining is
not made in the Z-axis direction.

7-66
2. Square pocket cutting (G328)

A. Function
This is used when machining the inside of square workpieces by end mill.
The corner R can be designated as well.

B. Command form
G328: X_ Y_ Z_ R_ I_ J_ K_ Q_ C_ A__ D_ E _U_ V_ F

G328 : Square pocket


X, Y : Start point coordinate value of the plane, entered based G90 and G91.
Z : Z-axis coordinate value, entered based on G90 and G91.
R : R point coordinate value in the Z-axis direction.
I : Length of one side in the X-axis direction.
J : Length of one side in the Y-axis direction.
K : Cutting width (©: No finishing in the side face direction).
Q : Cutting depth per cutting in the Z-axis direction. (0: No finishing in the Z-axis
direction)
C : Cutting allowance of single side in the side face direction. (Absolute value)
A : Radius when the corner R is designated. (Absolute value)
D : Tool radius compensation No.. (Radius resister)
E : Feed rate for finishing, (when omitted, the feed rate is F.) (mm/min)
U : S-axis rotation speed for finishing, (when omitted, the rotation speed is S.) (min'1)
V : Z-axis cut-in feed, (when omitted, the feed rate is F.) (mm/min)
F : Cutting feed rate . (when omitted, F commanded previously.) (mm/min)
/

* 1
lii
! I
i£l
r
Semi-finished
hole' -- i i

.i
Y (X,Y) — Finishing allowance
*- (No.5152)

Z Ft point

IQ

zz
z
ZÿÿKZpoint
7-67
C. Movements

Cutting pattern

I=® 1=0 I=© I=©


J=© J=© j=e j=©

i x,y

1 I
J $ $ $ $ j-

t
X,Y X,Y

The cutting method can be changed by the sign,Iand J.

L.
I*"
2]
3 Approaching point
I
I
4I3S Q

45*. 19.34 x,
R point
-jr

5 18.33
14

15,
6
6
h
h 12 J
4-
29
10
16 20
L
23
'28
30/ 21 Ml1
7 25 32
31

7-68
1. Moves to the X, Y point in rapid traverse.
1
2. Moves to the Z-axis approaching point in rapid traverse. ’
(R point + cutting depth per cutting in the Z-axis direction (Q).)

3. Moves to the work center in the side face direction in rapid traverse.
I
4. Moves to the R point in rapid traverse.
I
5. Cuts in by the cutting depth per cutting Q at the cutting speed, V or F, in the Z-axis
direction.
1
6. Cuts by the cutting width, k, at the cutting speed F, in the X-axis direction.
I
7. Cuts at the cutting speed, nJmax. in the Y-axis direction.
I
8. Cuts at the cutting speed, nlmax. in the X-axis direction.
1
9. Cuts at the cutting speed, nJmax. in the Y-axis direction.
4
10. Cuts at the cutting speed, nlmax. in the X-axis direction.
4
11. Cuts until the work center at cutting speed in the Y-axis direction.
4

12~17. Item 6 11 are repeated.
I
18. Releases by the cutting depth per cutting (Q) at the cutting speed, V or F, in the Z-axis
direction.
4
19. Moves to the work center in rapid traverse in the side face direction.
4
20~32. Item 5~17 are repeated.
4
° isWhen only finishing allowance is left at item 32, the tool returns to the R point and the work
cut on the finishing condition until the dimension designated in the Z-axis direction. It is
cut by a designated dimension in the side face direction too.
4
33. Returns to the R point at cutting speed in the Z-axis direction.
4
34. Returns to the work center in rapid traverse in the side face direction.
4
35. Returns to the approaching point in rapid traverse to finish in the Z-axis direction.

7-69
D. Precautions
(1) When the semi-finished hole is machined, command cutting depth (C) of one side.
When no the command (C) is given, it is presumed that no semi-finished hole is
machined, and cutting is performed from the center. (Figure below)
(2) When the cutting width (K) is ©, no finishing is performed in the side face direction.
(3) When the cutting depth per cutting (Q) is 0 in the Z-axis direction, no finishing is
performed in the Z-axis direction.
(4) in case of corner R designation (radius A), an override is engaged based on the
parameter (No.5116) on the corner.
And when A is larger than half of one side or J side, no machining is done.

When the semi-finished hole is machined. When the semi-finished hole is not
machined.

I 1
I I
I I
I
I I
I I
I 1
I
fCJ\ I
I
I
I
I

Final shape

7-70
1
1
3. Inner truck (G329)
A. Function G239)
A series of movements cutting the inner periphery of the truck by using an end mill can be
commanded in one block.
The below explanation is for G17 (XY plane).

B. Command form
G329 X_ Y _ Z_ R_ I_ J_ A_ C_ K _Q_ D_ V_ E U_ F.

Initial point
?i
IC \K Usl i R point
Q fiT|
! prz
1
prl
I
l
"I -*j-Zprl
/
/s s'

/ Y) J
7i
/1 J Pr2
\7/
I

\\VL~
/ / / p
/ / /prl
2 point

A>0

A<0 (~C J~)

7. G-function (canned cycle)


(X, Y) : Reference point of the X and axes.
Z : Z point R: R point
I : Circular arc center constituent in the opposite side (X-axis).
J : Circular arc center constituent in the opposite side (Y-axis).
A : Circular arc radius, commanded with decimal point.
C : Cutting depth, commanded with decimal point.
K : Cutting width per cutting (XY plane), commanded with decimal point.
Q : Cut-in amount per cutting for the Z-axis.
D : Tool offset No. .
V : Cut-in speed for the Z-axis (when omitted, the cutting feed rate is F).
E : Feed rate for finishing (when omitted, the cutting feed rate is F).
U : Spindle speed for finishing (when omitted, S already commanded).
F : Cutting feed rate.
prl : Finishing allowance (set to the parameter No.5152).
pr2 : Clearance amount (set to the parameter No.5153).

7-71
(Note 1) When E is omitted, the feed rate for finishing becomes FX override for finishing
(parameter No.5155).
(Note 2) When the numerical value of A is positive, a circular arc becomes CW, and when it is
negative, the circular arc becomes CCW.
And when A = 0, an alarm occurs.
(Note 3) When the numerical value of K is negative, finishing of the side face becomes
ineffective.
(Note 4) When the numerical value of Q is negative, finishing of the bottom becomes
ineffective.

C. Program example
G17;
G90G329X50. Y-100. Z-50. R-10. Q20. 150.
J20. A50. C15. K8. D10F200;

/ LU- ? Initial point

t - R point
> 3
he} in
/
Y 7]
/
/
121 5 ( 2 IX. YJ) // / Finishing del 1

/ '/ •
“7
allowance ‘!K* K
*4 Z point
! / / 7/7 / / / /• /

13\\/ / ' However,


---
-
•— Rapid traverse
Cutting rapid traverse
\ 0 (Start point)

— —
Tool center path : 0-*1 -*a -»b ->2 *3 -*4 -*5 ~*6 -*7 -*ÿ

c —8 d —2 -ÿ3 —4 —5 —6 —7 •e -*
8 —f ~*2 -»3
-ÿ13 —0
-*>9 —10 -*-11 ->-12 g

7-72

I
Movements : Start point
4
Moves to the (X, Y) in rapid traverse
4
Moves to the R point in rapid traverse
4-
4
Z-axis cut-in
1 4
1st inner periphery of truck cutting
4 4
2nd inner periphery of truck cutting Rough cotting
4 4
Moves to the R point in rapid traverse
4 4
Moves to the (X, Y) in rapid traverse -
4
Moves to the Z point in rapid traverse and cut in
4
Finish cutting of the bottom face Finishing
4
Finish cutting of the side face
4
Returns to the Z-axis initial point (Start point)
4
Returns to the X and Y axes intial point

D. Precautions
(1) The n merical values of the address V, E and U shall be commanded without decimal
point (in case of Millimetre system).
(2) When tool offset amount (D) > Radius of circular arc (A), an alarm occurs.
(3) WhenI= 0, J = 0 are commanded, an alarm occurs.
(4) When the address is omitted, the radius of circular arc shall be regarded as cutting
allowance.
(5) The values that the inner periphery of truck cutting can be obtained shall be commanded
for the numerical values of the addresses such as A, C, K and Q the tool offset amount
(D).

7-73
I
4. Outer periphery of circle cutting (G330)

A. Function
This is used for cutting the outer periphery of circle by end mill.

B. Command form
G330 X_ Y_ Z_ R _ I_ J_ K_ Q_ P_ D_ E_ U_ F

G330 : Outer periphery of circle


X, Y : Coordinate value of the circle center, entered based on G90 and G91.
Z : Z- axis coordinate value of pocket finishing, entered based on G90 and G91.
R : R point coordinate value in the Z- axis direction.
I : Radius of the cutting circle (Cutting direction is selected by the sign © 0.)
J : Cutting depth of the cutting circle (Absolute value).
K : Cutting width (0: No finishing in the side face direction).
Q : Cutting depth per cutting in the Z- axis direction.
(0: No finishing in the Z- axis direction)
P : Approaching amount (Absolute value) Commanded with decimal point.
D : Tool radius compensation No. (Radius register).
E : Feed rate for finishing (When omitted, the feed rate is F.) (mm/min)
U :Spindle rotation speed for finishing (When omitted, the rotation speed is S) (min'1)
F : Cutting feed rate (When omitted, F commanded previously.) (mm/min)

J P

X X
(X.Y)
_1_
/ j i
1“
Finishing allowance
(No.5152)

Y o
I — * * : Cutting start point
z X

7-74
/ÿ .1
R
1
ii_JU
I
I
I l Q
I
z
I
l
I I
•*. -t 1f
I t 4ÿ

Z
Finishing allowance
rY (No.5152)

C. Movements i
I
s
t

\ 3 Approaching point
Cutting start point 5.
: Q
I4
t i33
R point
/ I
2/ !13-25 JO/ !5-
*4 /
i /
20/ 6
4 1

.*
T
21
7
23 1

i/22 j

431
!
s
&
i1 7
1

1 J

k
1

30/ 16/
I / /
/ \ Z point

4 29 4 26 12
151
rzi i /n 14
!•
13

7-75
1. Moves to the X, Y point in rapid traverse.
I
2. Moves to the Z-axis approaching point in rapid traverse.
(R point + cutting depth per cutting in the Z axis direction (Q).)
4
3. Moves to the approaching point considering the cutting width for cutting allowance in rapid
traverse.
4
4. Moves to the R point in rapid traverse.
4
5. Moves by the cutting depth per cutting (Q) in the Z-axis direction.
(In this case, the tool moves to this side by the clearance amount (No.5153) in rapid traverse
and moves at cutting feed rate after that.)
4
6. Cuts to the Y point at cutting feed rate in the Y axis direction.
4
7. Circular cutting (Cutler periphery)
Circle rapid command :I + (CW)
Circle rapid command :I - (CCW)
4
8. Release by the cutting width (K) at cutting feed rate in the tangential direction of the outer
periphery circle.
4
9. Moves to the cutting start point in the Z-axis direction on rapid traverse.
4
10. Moves to the cutting start point in X-axis and Y-axis directions in rapid traverse.
4
11. ~16. Item 5~10 are repeated.
4
17. Returns to the R point in rapid traverse.
4
18. Returns by the cutting width (K) portion in X-axis direction.
4
19. ~31. Item 5~17 are repeated.
4
32. Returns to the initial cutting start point in rapid traverse in X-axis direction.
4
33. Returns to the approaching pint in rapid traverse in Z-axis direction.

D. Precautions
(a) When the cutting width (K) is ©, no finish cutting is done in X-axis and Y-axis (side face)
directions.

7-76
5. Square outer periphery cutting (G331)

A. Function
This is used for cutting the outer periphery of circle by using end mill.
The corner R can be designated as well.

B. Command form
G331 X_ Y _ Z_ R _ I_ J_ K _ Q_ P_ C_ A_ D_ E_ U_ F

G331 : Outer periphery of square.


X, Y : Start point coordinate value of the plane, entered based G90 and G91.
Z : Z-axis coordinate value, entered based on G90 and G91.
R : R point coordinate value in the Z-coordinate direction.
I : Length of one side in the X-axis direction.
Commanded with decimal point.
J : Length of one side in the Y-axis direction.
Commanded with decimal point.
K : Cutting width (© : No finishing in the side face direction)
Q : Cutting depth per cutting in the Z-axis direction.
(0 : No finishing in the Z-axis direction)
P : Approaching amount (Absolute value) Commanded with decimal point.
C : Cutting allowance of single side in the side face direction. (Absolute value)
A : Radius when the corner R is designated (Absolute value).
Commanded with decimal point.
D : Tool radius compensation No. (Radius resister)
E : Feed rate for finishing (When omitted, the feed rate is F.) (mm/min)
U : Spindle rotation speed for finishing (When omitted, the rotation speed is S.) (min'1)
F : Cutting feed rate (When omitted, F commanded previously.) (mm/min)

r T
r 1
1 Pr i
.r_ri
! 7:

I
.'
i
i

i i
J
i
i

• (I .Y >
I J
1

<h
Y I s — Finishing allowance
pr — 7-77
(No.5152)

Z x
Finishing allowance
(No.5152)
R

Q ttl
i
E
ri TT-
i
— T ““

t-iV
I I
1 I.

_
1
\ I J
I t -Jj.
I I !
I
!
z I

"Z point ! !!

Y ®- X

C. Movements

Cutting pattern

I i
© © X.Y

J
©
X,Y
I J
©
V

I I
© ©
X.Y
J,
J X.Y J
© ©
$
V
t-
3 U
f*- Approaching point
(X.Y)
35
4
19,34

T" TOFF"
26,33
-—- R
> i 8
25
• I
(
Q •5. ; ,io , \/s
i
23
!*s !/yÿ4 21
22y
7
/V
s
pi
!
in i32 ie,
i
15

12' I
30
i 21 29,
i i 14
Z pointy *• .w
i
/!ÿ
13
28

7-78
I
1. Moves to the X, Y point in rapid traverse.
1
2. Moves to the Z-axis approaching point in rapid traverse.
(R point + Cutting depth per cutting in the 3rd axis direction (Q).)
4
3. Moves to the approaching point considering the cutting width for cutting allowance in rapid
traverse.
4
4. Moves to the R point in rapid traverse.
4
5. Moves by the cutting depth per cutting (Q) in the Z-axis direction.
(In this case, the tool moves to this side by clearance amount (N.5153) in rapid traverse and
moves at cutting feed rate after arriving.)
4
6. Cuts at the cutting speed, nlmax. in X-axis direction.
4
7. Cuts at the cutting speed, nJmax. in Y-axis direction.
4
8. Cuts at the cutting speed, nlmax. in X-axis direction.
4
9. Cuts by one cutting width (K) at the cutting speed, nlmax. in Y-axis direction.
4
10. Release to the R point in rapid traverse in Z direction.
4
11. Returns to the cutting start point.
4
12. ~ 18. Item 5~11 are repeated.
4
19. Moves by the cutting width (K) from the cutting start point in rapid traverse in Y-axis
direction.
4
20. ~ 33. Item 5~18 are repeated.
4
o When leaving onhÿfinishincÿailowance at the rtem 33, cuÿby specified dimensions and under
4
34. Returns to the initial cutting start point in the side face direction.
4
35. Returns to the approaching point in rapid traverse in Z-axis direction. •f4

D. Precautions
(1) When the cutting width (K) is 0, finishing is not proceeded in the side face direction.
(2) In case of corner R designation (Radius A) an override is engaged at the corner on the
base of the parameter (N5116) it becomes nJmin. in the sub spindle direction. The
releasing direction for the remaining K portion is in the spindle direction. When A is
larger than theIside or half of the J side, no machining is proceeded.

7-79
!
I
6. Outside truck (G332)

A.Function
A series of operations cutting the outer periphery of a truck by using end mill can be
commanded in one block.
The below explanation is for G17 (XY plane).

B. Command form )

G332 X__ Y _ Z_ R_ I_ J_ A_ C_ K_ Q_ P_ D_ E_ U. F

o Initial point
C ? pr1 I
T $ -R point

Q
I
V * t
v
tj Q
i

(A <0) |
9$ÿ
Cr
( A> 0)
m-1 Pr2
Z point

A>0
q
t A<0
cc ZJ
(X, Y) : Reference point of X-axis and Y-axis. i
Z : Z point
R : R point
I : Circular arc center ingredient of the opposite side (X-axis).
J : Circular arc center ingredient of the opposite side (Y-axis).
A : Radius of circular arc.
C : Cutting allowance.
K : Cutting width per cutting (XY plane).
Q : Cutting depth per cutting for Z-axis.
P : Approaching amount Commanded with decimal point.
D : Tool offset No.
E : Feed rate for finishing (When omitted, cutting feed rate is F.)
U : Spindle speed for finishing (When omitted, S already commanded.)
F : Cutting feed rate.
pr1 : Finishing allowance (Set to the parameter No.5152.)
Pr2 : Clearance amount (Set to the parameter No.5153.)

7-80
(Note 1) When E is omitted, the feed rate for finishing becomes F x override (parameter
No.5115) for finishing.
(Note 2) When the numerical value of A is positive, a circular arc becomes CW, and when it is
negative, the circular arc becomes CCW.
And when A = 0, an alarm occurs.
(Note 3) When the numerical value of K is negative, finishing of the side face becomes
ineffective.

C. Program example
G17;
G90 G332 X50. Y-100. Z-50. R-10. Q20. 150.
J20. A50. C15. K8. P5. D10F200;

T initial point
£i

4
s 4 A i h
•R point

/ iiri'Hfjf
/
.i f hi u

(Start point) .
9
5
t! i t .Z point

JV
~lP3
However, -- •*— Rapid traverse
P2 Cutting rapid
PI
Approaching point

Tool center path : 0


— 1 —2 —a
— — — —— — — — —
b —3 —4 —5 —6 c P1 d—3 —4 —5 —6 e


-»P2

f—7 -*-8 -*-9 10— g P2 h 7 —8
-*9 — 0—*•! P3— j —11 -ÿ12. -*-13 —14 k —0

7-81
Movements : Start point
1
Moves to the (X, Y) in rapid traverse.
ir
Moves the approaching point in rapid traverse.
4 —4-£
Moves to the R point in rapid traverse. Rough cutting
4 4 4 4
Rapid traverse fer the Z-axis cut-in amount
4 4 4 4
Truck outer periphery cutting. - —
4 4 4 4
Moves to R point in rapid traverse.
4
Moves the approaching point in rapid traverse.
4
Moves to the Z point in rapid traverse and cut-in.
4 Finishing
Truck outer periphery cutting.
4
Moves to the initial point in rapid traverse.
4
Return to the X, Y axes start point.

D. Precaution
(1) The numerical value of the address E and U shall be commanded without decimal point
(in case of Millimetric system).
(2) WhenI= 0, J = 0 are commanded, an alarm occurs.
(3) When P = 0, an alarm occurs.
(4) When the address is omitted, the radius of circular are shall be regarded as cutting
allowance.
(5) The values that the inner periphery of truck cutting can be obtained shall be commanded
for the numerical values of the addresses such as A, C, K and Q the tool offset amout
(D).

7-82
7. True circle (G333)

A. Function
A series of operations cutting the inner periphery of a true circle by using end mill can be
commanded in one block.
The below explanation is for G17 (XY, plane).

B. Command form
G333 X_ Y_ Z_ R _ I_ Q_ C_ K_ D_ U_ V_ W_ E_ F_ ;
T Initial point
I -R point

/ft'/
C-ML1
.1 m\ Q i
I

ZZtd
prl
in \l\
> i
]
prl
7 Z point

Final shape 7777/


I> 0 I<0

(X, Y) : Reference point of X-axis and Y-axis.


Z : Z point
R : R point
I : Circle radius of the final shape.
Q : Cutting depth per cutting of Z-axis.
C : Cutting allowance.
K : Cutting width per cutting (XY plane).
D : Tool offset No.
U : Spindle speed for finishing (When omitted, S already commanded.)
V : Cut-in speed of Z-axis (When omitted, cutting feed rate is F.)
W : releasing speed of the approcahing circle (When omitted, cutting feed rate is F.)
E : Feed rate for finishing (When omitted, cutting feed rate is F.)
F : Cutting feed rate.
prl : Cutting allowance (Set to the parameter No.5152.)
(Note 1) When E is omitted, the feed rate for finishing becomes F x override (parameter
No.5115) for finishing.
(Note 2) When the numerical value ofIis positive, a circular arc becomes CW, and when it
is negative, the circular arc becomes CCW.
And whenI= 0, an alarm occurs.
7-83
1 1
(Note 3) When the numerical value of K is negative, finishing of the side face becomes
ineffective.
(Note 4) When the numerical value of Q is negative, finishing of the bottom becomes
ineffective. )

C. Program example i

G17;
G90G333X50. Y-100. Z-50. R-10. Q20. 150.
:

C15. K8. D10F200;

Initial point
/ /U-jj ?
*!
-t

///. 4
/ 4 R point

77
//
2
b e

/ /I 2
0 /
(Start point) VB
/
5
Finishing
allowance
/ c /

3 / d j
J V Z point

However, •> Rapid traverse


Cutting feed
Tool center path : 0 -*a -»b -M ~*2 -*3 -*4 -*5 —-6 -*c -*-1' -*2‘ -*7 ->8 5' —
6' -+d
Bottom face finishing (It starts by the circle of which
radius is the cutting width.)
->• 1' —>2' ~*9 -MO -*5' ~*e

7-84

l
Movements : Start point
4
Moves to the R point in rapid traverse.
i r
Cutting feed of the Z-axis cut-in amount.
4 4 4
X and Y axes approach Rough cutting
14 11
True circle inner periphery cutting
4 4 4 4
Approaching return of X and Y axes. —
4
Moves to the Z-axis at cutting feed rate.

X and Y axes approach


4
cutting of true circle and inner periphery.
(Starts from the circle of which radius is cutting width.) Finishing
4
Approaching return of X and Y axes.
4
Move to the initial point in rapid traverse.

D. Precaution
(1) The range moving in rapid traverse for approaching becomes automatically cutting feed
. rate, when rapid traverse is designated in the cutting range by setting cutting depth (K)
and offset amount (D).

7-85
I
7-24 Multibuffer J
7-24-1 S-format (G251)
This command reads one block in advance in time of ordinary automatic operation. By this
command, maximum twelve commands can be read.
By using this function, stop time between blocks can be removed when executing programs
consisting of consecutive minute blocks.
(1) Command format
G251 PO ; or G251 ; Multibuffer mode on
I
G251 P1 ; Multibuffer mode off
(2) Sample program i
G251 ; Multibuffer mode on
G91 G01 F500 ;
X0.5 Y0.21 Z-0.03 ; During these blocks, reads maximum twelve blocks
X0.4 Y0.22 Z-0.03; in advance.

G251 P1 ; Multibuffer mode off

(3) Remarks
(a) Macro sentences are not included in the number of blocks.
(b) G251 command must be commanded in a single block.
(c) When executing a block in consecutive so minute blocks, executing time becomes
shorter than that of one block operating, thus, blocks read in advance are removed.
(d) According to G code and M code, advance reading is not executed even in the status of
multibuffer mode on.
(Example) G10, G20, G21, G22, G23
G31, G28, G30, G53
Fixed cycle (G73 - G89)
Special fixed cycle (G302 - G333)
MOO, M01, M02, M30

7-86
7-24-2 F-format (G05.1)
This command reads one block in advance in time of ordinary automatic operation. By this
command, maximum twelve commands can be read.
By using this function, stop time between blocks can be removed when executing programs
consisting of consecutive minute blocks.
(1) Command format
G05.1 PO ; or G05.1 ; Multibuffer mode on
G05.1 P1 ; Multibuffer mode off
(2) Sample program
G05.1 ; Multibuffer mode on
G91 G01 F500 ;
X0.5 Y0.21 Z-0.03 ; During these blocks, reads maximum twelve blocks
X0.4 Y0.22 Z-0.03; in advance.

G05.1 P1 ; Multibuffer mode off

(3) Remarks
(a) Macro sentences are not included in the number of blocks.
(b) G251 command must be commanded in a single block.
(c) When executing a block in consecutive so minute blocks, executing time becomes
shorter than that of one block operating, thus, blocks read in advance are removed.
(d) According to G code and M code, advance reading is not executed even in the status
of multibuffer mode on.
(Example) G10, G20, G21, G22, G23
G31, G28, G30, G53
Fixed cycle (G73 - G89)
Special fixed cycle (G302 - G333)
MOO, M01, M02, M30

7-87

'I
7-25 Precedent Control
7-25-1 S-format (G08)
Objective of this function is to realize high speed and high accuracy operation. By using this
function, delay caused by acceleration and deceleration which increases by feed speed up, and
delay in servo system can be removed.
By this function, tools can follow faithfully commanded values, and errors in work shapes are
reduced.

I
(1) Command format
G08 P1 ; Precedent control mode on
G08 PO ; Precedent control mode off
(2) Effective function
Following functions become effective during the precedent control mode.
• Linear acceleration and deceleration function before compensation

• Automatic corner deceleration function


(3) Restriction
(a) Command G08 in a single block.

7-25-1 F-format (G05.1)


Objective of this function is to realize high speed and high accuracy operation. By using this
function, delay caused by acceleration and deceleration which increases by feed speed up, and
delay in servo system can be removed.
By this function, tools can follow faithfully commanded values, and errors in work shapes are
reduced.

(1) Command format


G05.1 Q1 ; Precedent control mode on
G05.1 QO ; Precedent control mode off

(2) Effective function


Following functions become effective during the precedent control mode.
• Linear acceleration and deceleration function before compensation

• Automatic corner deceleration function


(3) Restriction
(a) Command G05.1 in a single block.

7-88

l
8. OTHER FUNCTION

8-1 Optional Block Skip


This function makes the command ineffective for the block including
slash on the program.
<5* &
By Block Skip key, intention is expressed.

N101 G54G90X100.0 Y150.0 S500T03 ;


/N102 G43Z30.0 H02 ; Approach up to Z-axis 30mm
/N103 M08 ; Coolant liquid ON
/N104 M03 ; Spindle turn ON
/N105 G98G86R5.0 Z-5.0 F50 ; Cutting up to the inlet 5mm
by boring
/N106 G80M05 ; Canned cycle cancel spindle
stop
Skip
/N107 G91G28Z0M09 ; Return to Z-axis first
reference point, coolant
OFF.
/N108 G49 ; G43 length compensation
cancel
/N109 MOO ; Hold-diameter measure¬
ment, tool-nose blade
N110 G90G43Z30.0 H02 ; adjustment
N111 M08 ;
N112M03;
N113 G98G86R2.0 Z-30.0 F50 ;
N114X150.0 Y200.0 ; ,Z 30.0

N115X200.0 ;

Z 2.0

5mm
Z0

Z-5.0
-\ \ N
\
J_
vn 2mm

8-1
8-2 Arbitrary angle chambering and corner R (, C, R)
Chambering or corner R can be inserted by commanding ", C" or ", R" for linear interpolation or
circular interpolation.
(1) Command form
I
(a) Arbitrary angle chambering

G01 j
G02 . . . , C_; I
G03
I
U-lY. End point of command block

(b) Arbitrary angle corner R

G01
G02 . . . , R_;
G03 .R j
i /

End point of command block

(2) The plane of the arbitrary angle chambering corner R shall be designated by the plane
selections (G17, G18 and G19).
(3) The block next to the block commanding the arbitrary angle chambering corner R (, C, R)
shall be commanded by either linear interpolation or circular interpolation.
(4) Program example
(a) Arbitrary angle chambering
G17G54G90 GOO XO YO;
N1G03X50. Y50. R50. ,C10. F200;
N2 G01 X90. ;

jjH-
JffiO.
10. BZ N2

End point of N1 block

HI
X

8-2
!
(b) Arbitrary angle corner R
G17G54 G90 GOO XO YO;
N1 G03 X50. Y50. R50. , R20. F200;
N2 G01 X90. ;

-
, End point of N1 block

N2
?
R2Q.

N1

(5) Precautions
(a) When the plane is changed by commanding the plane selections (G17, G18 and G19),
an alarm occurs.
(b)The single block stop becomes the end point of the chambering corner R block newly
inserted.
(c) When the following commands are given to the command block of the ", C“ or “R" and
the next block, an alarm occurs.
G92, G52, G54 ~ G59,
G28, G29, G30, G53,
G31, G45 ~ G48
(d)When the angle difference between the command block of ", C" or ", R" and the next
block is within +1%, the chambering corner R becomes ineffective.
In case of circular arc, however, the angle difference shall be obtained from the tangent
at the intersecting point.
(e) When no axial travel command in the plane is given the command block of ", C" or ", R"
and the next block, an alarm occurs for the chambering corner R.
(f) When the original traveling range is exceeded through inserting either chambering or
corner R, an alarm occurs.

8-3
i

:
9. PRACTICAL EXAMPLE OF PROGRAM

Examples of programs when the easy setter is used are shown below.

9-1 Machining Diagram Plate FC30

4-0.025
4-M10xP1.5 screwing 3-g30 4-0
\

J Lower hole 4> 8.5 drilling /


A
LA
<SJ
v
& h

o
o o
o LA
CL.

LA

m B in
A

v
<SJ
y N
i 3
*22T
30 . P70.0 P70.0 30
50 P100.0 50
200
20

This face is set as program-zero


Program-zero point is decided here. point Z-direction.
(G54X0Y0 was set. ) (G54Z0)

9-1
9-2 Selection of Machining Position
Premise
(D Face-cutting
a. Bottom face and surrounding 4 faces are
(2) M10 tapping
already machined by previous process.
(3) 0 30 boring
b. <t> 30 boring hole is punched at bottom
hole <f> 25.

9-3 Setting of Selected Cutting Condition of Tool-Cutter


Machin- Compen¬ Compen¬
Name Speed (rpm) Feed
ing Tool sketch sation sation
dimension rate
sequence No. No.
1 d> 95 S335 VIOOmin H01 T01
Face- F335 1.Ommev
cutter
*y
i*4
M 150.0
C

2 <f> 30 S800 H02 T02


Boring V75m/min
(rough- F160 0.2mmev
ing)
(2-blades)
A

3 <f> 18 S1200- F120 H03 T03


Center tooi O.lmmev
90°

0ÿ 200.0

4 d> 8.5 S820 H04 T04


Drill V22m/min
F160 0.2mmev
s7I 240.0
T
L
B

5 (t> 10x S320 H05 T05


P1.5 V10m/min
Tapping F480 1.5mmev

240.0

6 c£> 30 S1600 H06 T06


Boring V150m/min F96
(finish-ing) 0.06mmev nt
B7 220.0
O
B
f

9-2
9-4 Mounting Method
Clamp with vice-mouth piece by taking a step

T7

HI Step-taking
Mouth piece
X-
direct-ion

Lateral direction {X-axial direction) should be


S’
decided by stopper. —{ÿSr:
Vice-mounting position on the table.
e
Y-direction

9-5 Relation with Work-coordinate System


By the specified procedure and work-standard
face (manual), make touch sensor contact with
Pi -»P2 ~*P3 , thereby, I X- | , |Y- l
_ First reference point
can be set automatically to the desired work
coordinate (G54 ~ G59) _
X-
f l

©° .+
e -e-ei
Y-

Touch

In this case, program-zero point is here.


sensor

+
«-P-
!

P2
Pi.
Make touch Touch sensor
sensor contact to
Y-direction
©
1 point (top face
of workpiece),
thereby, l Z- |
is set at work- ZG28-point i® k
coordinate (G54
~G59) of CRT- Z-
©
screen. ZO-face
The is, ZO-face is
memorized in
machine.
y////y///////7//7//A
Table
X-direction ©

9-3

1
9-6 <t> 95 Face Cutter
01968 (MODEL VK, VM FC30) ; Program No.
G91 G28 ZO M31 ; Z-axis machine zero point return, chip
conveyor starts.
G91 G28 XO YO ; Return-lamp lights on X-, Y-axis.
GOO G17 G40 G49 G64 G80 G90 G98 ; Set the inside of NC-head at initial state.
M01 ; Optional stop
N101 (<f> 95 CUTTER T01 H01) ; Sequence No. ( ) : memo-writing
T01 M06 ; Tool No.1 to spindle by tool change
G54 ; Work coordinate G54
G68 ; Coordinate rotation easy setter effective.
G90 GOO X260.0 Y115.0 S320 T02 ; Absolute spindle rotation 320, next tool
T02
G43 Z30.0 H01 ; Tool length compensation No. H01 is
effective.
Tool nose is positioned to Z30.0.
M03 : Start of spindle forward turn.
G01 ZO F3000 ; Tool nose reach to ZO face (finishing
face).
GOO X-60.0 Y115.0 F320 ; Cutting, feeding 320mmin. to column
side of chip
GOO Z30.0 ; Escape of Z-axis up to the height of
approach once.
X260.0 Y35.0 ; X_ Y_ positioning with rapid traverse
G01 ZO F3000 ; Reaching Z-axis ZO face with speed
3000mm/min.
G01 X-60.0 Y35.0 F320 ; Cutting
G69 ; Coordinate rotation cancel
M01 ; Stop with switch ON (optional stop) while
passing with OFF.

501rlD 200
"1 152.
- Y150
Y
— YllS
---

t Y 75
Y 35
Y 0
T X
X — 60 XO X200. X260

9-4
9-7 0 30 Boring
N102 (4> 30 BORING T02 H02) ; The inside ( ) of sequence No. means
memo.
T02 M06 ; Hold at spindle by T01 tool ATC
operation.
G54 ; Work coordinate G54
G68 ; Coordinate rotation easy setter effective
G90 GOO X30.0 Y75.0 S800 T03 ; Absolute, X Y
Spindle speed selection 800rpm, T03 call
G43 Z30.0 H02 ; Tool length compensation H02 plus side
offset.
Tool nose position : Z30.0
M03 ; Spindle forward turn ON.
G98 G81 R3.0 Z-22.0 F160 ; Boring canned cycle, initial point return,
cutting start position 3mm frontward, -
22.0 depth
X100.0 Y75.0 ; X Y positioning. Other operations are
the same as those of previous block.
X170.0 Y75.0 ; X Y (Same as the above)
G69 ; Coordinate rotation cancel
G80 ; Canned cycle cancel
M01 ; Optional stop

r e-e-e
/ k
Y75

75

& — YO
— 30
100 —~ -- >- X

z ¥ — Z30.0
— Z3.0
zo
Initial point

CM
A ra—

Z-20.0
'7777777777777777/
4 — Z-22.0 Z point

Table

9-5
9-8 0 18 Center
N103 (<f> 18 CENTER T03 H03) ; The inside ( ) of sequence No. means
memo.
T03 M06 ; With ATC, T03, . . to spindle
G54 ;
G68 ; Coordinate rotation effective
G90 GOO X50.0 Y125.0 S1200 T04 ; During X_ Y_ positioning operation,
spindle speed is selected.
1200rpm, T04 call
G43 Z30.0 H03 ; Offset of tool length H03 alone to Z plus
side
M03 ; Spindle turn ON
G99 G81 R3.0 Z-5.5 F120 L0 ; With R-point return and drill canned cycle
LO, no operation is made by this block.
M98 P100 ; To subprogram of hole position
coordinate
G69 Coordinate rotation cance
G80 Canned cycle cancel
M01 Optional stop

Y
125

i
50
150
X
Subprogram of hole position
Z
U -Z 30.0
A
u -Z 3.0 Z 0
0100 ;
G54 G90X50.0 Y125.0 ;
Z-5.5 X50.0 Y25.0 ;
X150.0 Y25.0 ;
X150.0 Y125.0 ;
y////////////zy
Table - M99;

9-6
9-9 cf> 8.5 Drill
N104 (<£> 8.5 DRILL T04 H04) ; Sequence No. inside ( ) means this
process memo.
T04 M06 ; To T04 tool spindle
G54 ;
G68 ; Coordinate rotation easy setter effective
G90 GOO X50.0 Y125.0 S820 T05 ; Coordinate rotation effective 820rpm
selection and T05 call during the
movement of work coordinate G54.
G43 Z30.0 H04 ; Offset of H04 value to Z-axis plus side
Tool nose to Z30.0 position
M03 ; Spindle turn ON
G99 G81 RO Z-24.0 F164 LO ; With R point return and drill canned cycle
LO, no operation is made by this block.
M99 P100 ; To subprogram of hole position
coordinate
G69 Coordinate rotation cancel
G80 Canned cycle cancel
M01 Optional stop

Y
125
A

1 —#-
1 -H2 150
X
z
A
U -Z 30.0
— Z0 RO
Z — 20
Z-24.0

Table

9-7
9-10 M10 Tapping
N105 (M10 x P1.5 TAP T05 H05) ; Sequence No. in ( ) means TAP-
process memo.
T05 M06 ; Tool No. 05 to the spindle
G54 ;
G68 ; Coordinate rotation easy setter effective
G90 GOO X50.0 Y125.0 S320 T06 ; Spindle speed selection 320rpm, next tool
T06 call
G43 Z30.0 H05 ; Z-axis plus side offset, shift of tool length
amount entering into H05.
M03 ; Spindle forwarding turn start
G98 G84 R10.0 Z-25.0 F480 LO ; Initial point return, with tap canned cycle
LO, in this block no tapping operation is
done.
M98 P100 ; Tap canned cycle hole position to the
same subprogram as in lower hole.
G69 ; Coordinate rotation cancel
G80 ; Canned cycle cance
M01 ; With switch ON, program stops.
With switch OFF, passing is made with no
relation to M01.

M 125

1 --

150 X
z
-Z 30.0 ..... Initial point
h u -Z 10.0 (R 10.0) R point
Z0
Z— 20.0
Z-25.0 Z point

Table

9-8
9-11 (f) 30 Boring Finishing
N106 (<j> 30 BORING FT06 H06) ; Sequence No. in ( ) means memo.
T06 M06 ; T06 tool is held to the spindle.
G54 ;
G68 ; Coordinate rotation easy setter effective
G90 GOO X30.0 Y75.0 S1600 T01 ; Initial tool T01 call
G43 Z30.0 H06 ; Tool length of length compensating H06
M03 ; Spindle forwarding turn
G99 G76 R2.0 Z-22.0 Q0.5 F96 ; R point return with canned cycle of
finishing boring
X100.0 Y75.0 ; The above operation X Y positioning,
after the, boring operation is done.
X170.0 Y75.0 ; Same as the above
G69 Coordinate rotation cancel (easy setter)
G80 Canned cycle cancel
M01 Optional stop
G91 G28 ZO M05 ; Z-axis zero point return, spindle turn stop
G28 XO YO ; X-, Y-axis zero point return
M30 ; End of tape automatic head forwarding

r75
i
170 —-
i4__ Z 30.0
- Z 2.0
Fra-zo
1 "Pj — Z-22.0
Z— 20.0
M06 (ATC canned cycle)
VK VM
M15 ; T XX ;
G91 G30 Z0 ; G91 G30 P2X0Z0M106;
G30 G91 Y0M19; G30 P3 XO M06 ;
T XX M06 ; G30 P2 X0 M107 ;

9-9
9-12 Program of 2 Spindles
(D Program is the same as that of single spindle (standard machine).
(D Movement of both X-Y and Z-axis (spindle unit) does not change with that of single spindle
(standard machine).
(D Set the work-coordinate system with the standard of spindle of one side.

G54X0Y0 -—1 375.0 |--


-4-
4- -efe-

(D Tool-change program is the same as that of standard machine.


(Whereas, it has a premise that the same tool is set to the same address of the left and right
magazines.)
(D In case of simultaneous machining of the same 2 workpieces, be sure to set
a. tool length
b. tool diameter ) to the same dimensions.

(D The difference of Z-direction (gage line) of 2 spindles is within 0.02, then, its difference can be
regarded as "0" by ordinary machining.

0.02 Within

9-10
1
10. ATTACHED LIST

10-1 List of G function (preparatory function)


(SEICOS- E10M)
Read "Delivery Description" regarding distinction of the standard and the option.
F format S format Function

Code Group Code Group


GOO *PPG00 Positioning
G01 01 G01 01 Linear interpolation
G02 G02 Circular/helical interpolation CW
G03 G03 Circular/helical interpolation CCW
G02.2 G222 Involute interpolation CW
G03.2 G223 Involute interpolation CCW
G04 G04 Dwell
G05.1 G251 Multi buffer
G05.1 G08 Antecedent control
G09 00 G09 00 Exact stop
G10 G10 Data setting
G11 G11 Data mode setting cancel
G12.1 22 G121 22 Extreme axis compensation mode
G12.2 00 G302 00 Right circle cutting function CW
G13.1 22 G120 22 Extreme axis compensation cancel mode
G13.2 00 G303 00 Right circle cutting function CCW
G15 20 G15 20 Polar coordinate command cancel
G16 G16 Polar coordinate command
G17 G17 Xp Yp plane However, Xp: X-axis or its parallel axis
G18 02 G18 02 Zp Yp plane Yp: Y-axis or its parallel axis
G19 G19 Yp Zp plane Zp: Z-axis or its parallel axis
G20 06 G20 06 Inch input
G21 G21 Millimetric input
G22 04 G22 04 Stored stroke check ON
G23 G23 Stored stroke check OFF
Code Group Code Group
G27 G27 Reference point return check
G28 G28 Reference point return
10-1

U
F format S format Function

G29 00 G29 00 Return from reference point


G30 G30 2nd, 3rd and 4th reference point return
G30.1 G301 Floating reference point return
G31 G31 Skip function
G37 G37 Tool length automatic measurement
G38 00 G38 00 Tool radius compensation vector keep
G39 G39 Tool radius compensation corner circular arc
G40 G40 Tool radius compensation cancel/3 dimensional tool offset
cancel
G41 07 G41 07 Tool radius compensation left/3 dimensional tool offset
G42 G42 Tool radius compensation right
G43 08 G43 08 Tool length compensation "+"
G44 G44 Tool length compensation
G45 G45 Tool offset increase
G46 00 G46 00 Tool offset decrease
G47 G47 Tool offset double increase
G48 G48 Tool offset double decrease
G49 08 G49 08 Tool length compensation cancel
G50 11 G50 11 Scaling cancel
G50.1 15 G501 15 Programmable mirror image cancel
G51 11 G51 11 Scaling
G51.1 15 G511 15 Programmable mirror image
G52 00 G52 00 Local coordinate system setting
G53 G53 Machine coordinate system selection
G54 G54 Selection of work coordinate system 1
G54.1 G540- Selection of additional work coordinate system
G599
G55 G55 Selection of work coordinate system 2
G56 12 G56 12 Selection of work coordinate system 3
G57 G57 Selection of work coordinate system 4
G58 G58 Selection of work coordinate system 5
G59 G59 Selection of work coordinate system 6
G60 00 G60 00 Unidirectional positioning
G61 13 G61 13 Exact stop mode
Code Group Code Group
G62 13 G62 13 Automatic corner override mode
G63 G63 Tapping mode
10-2
I

F format S format Function

G64 Cutting mode


G65 00 G65 00 Macro call
G66 G66 Macro modal call
G67 14 G67 14 Macro modal call cancel
G68 16 G68 16 Coordinate rotation
G69 G69 Coordinate rotation cancel
G70 G70 Bolt hole cycle
G71 00 G71 00 Arc cycle
G72 G72 Line at angle cycle
G73 G73 Peck drilling cycle
G74 09 G74 09 Reverse tapping cycle
G76 G76 Fine boring cycle
G77 00 G77 00 Grid cycle
G80 G80 Canned cycle cancel
G81 G81 Drilling cycle, spot boring
G82 G82 Drilling cycle, counter boring
G83 G83 Peck drilling cycle
G84 09 G84 09 Tapping cycle
G84.2 G841 Direct tapping cycle
G84.3 G741 Reverse direct tapping cycle
G85 G85 Boring cycle
G86 G86 Boring cycle
G87 G87 Back boring cycle
G88 G88 Boring cycle
G89 G89 Boring cycle
G90 03 G90 03 Absolute command
G91 P'G9? Incremental command
G92 00 G92 00 Work coordinate system change/Max. spindle speed setting
G92.1 G921 Work coordinate system preset
G93 G93 Inverse time feed
G94 05 05 Feed per minute
G95 G95 Feed per revolution

10-3
F format S format Function

Code Group Code Group


G98 10 G98 10 Canned cycle initial level return
G99 G99 Canned cycle R point level return
G113 21 G113 21 Oscillation mode ON
*G114 G114 Oscillation mode OFF
G130 18 u130 18 Tool life control OFF
G131 G131 Tool/live control ON
G304 G304 True circle cutting OP CW
G305 G305 True circle cutting OP CCW
G322 G322 Square side surface outer cutting CW
G323 G323 Square side surface outer cutting CCW
G324 G324 Square surface
G325 00 G325 00 Square surface one side sizing
G326 G326 Square surface both sides sizing
G327 G327 Inner circle (pocket cutting)
G328 G328 Inner side of square (pocket cutting)
G329 G329 Inner truck (pocket cutting)
G330 G330 Outer circle (pocket cutting)
G331 G331 Outer side of square (pocket cutting)
G332 G332 Outer truck (pocket cutting)
G333 G333 True circle (pocket cutting)

Note 1) G-code with the mark “shows G-code state power-input.


Note 2) G-code in 00-group shows G-code without modal, and only designated block alone is
effective.
Note 3) Command of G-code without being listed on G-code list will show the alarm display.
Also, command of G-code without corresponding option will show the alarm display.
Note 4) G-code in different group can be commanded to the same block in any quantity.
In commanding over 2G-codes belonging to the same group in the later commanded G-
code is effective.

10-4
I
10»2 List for M function (miscellaneous functions)
(VM)
Read "Delivery Desprition" Segarding distinction of the standard and the option
M Function M Function
00 PROGRAM STOP 26 MELODY SELECT 1
01 OPTIONAL STOP 27 MELODY SELECT 2
02 END OF PROGRAM 28
03 SP. FORWARD RUNNING 29
04 SP. REVERSE RUNNING 30 END OF TAPE
05 SP. & MIL. SP. STOP 31 CHIP CONVEYOR ON
06 A. T. C 32
07 MIST COOLANT ON 33
08 FLOOD COOLANT ON 34
09 COOLANT MIST OFF 35 RESTART ON
10 OIL MIST POSTUER NO.1 36 RESTART OFF
11 OIL MIST POSTURE NO.2 37
12 WORK COUNTER 38
13 SPINDLE C.W. & COOLANT ON 39
14 SPINDLE C.C.W & COOLANT ON 40 TOOL AIR BLOW ON
15 SPINDLE STOP & COOLANT OFF 41 TOOL AIR BLOW OFF
16 MEASUREMENT AIR BLOW ON 42
17 MEASUREMENT AIR BLOW OFF 43
18 SPINDLE POSITIONING FOR 44

MEASUREMENT 45 RESERVE TOOL SET ENABLE


19 SPINDLE POSITIONING 46 RESERVE TOOL SET CANCEL
20 47 JET COOLANT ON
21 48 FEED RATE OVERRIDE ENABLE
22 ROTARY WINDOW WIPER START 49 FEED RATE OVERRIDE CANCEL
23 ROTARY WINDOW WIPER STOP 50 OIL HOLE (THROUGH) COOLANT ON
24 51 CHECKING TOOL PREPARATION
25 52 TOOL BROKEN CHECK

10-5
M Name of function M Name of function
53 CANCELING M54 82
54 TOOL LIFE / CUTTING MONITOR 83
FUNCTION STOP 84
55 CANCELING M56 85

56 APPLING FEED HOLD ON RUNNING 86 TOOL BROKEN OF MEASUREMENT NG


57 TOOL LIFE DATA SETTING 87
58 CUTTING MONITOR DATA SETTING 88 FRONT DOOR OPEN
59 CHECK TOOL PREPARATION FINISH 89 FRONT DOOR CLOSE
60 APC PALLET CARRY ON 90
61 APC PALLET PULL OUT 91
62 APC PALLET PULL IN 92
63 93
64 94
65 95
66 PALLET CLAMP 96 CUSTOM MACRO INTERRUPT ON
67 PALLET UNCLAMP 97 CUSTOM MACRO INTERRUPT OFF
68 B-AXIS CLAMP 98 SUB PROGRAM CALL
69 B-AXIS UNCLAMP 99 MAIN PROGRAM CALL
70 EXTERNAL OUTPUT M CODE 1 100
71 EXTERNAL OUTPUT M CODE 2
72 EXTERNAL OUTPUT M CODE 3 106 ATC RM REVERSE
73 EXTERNAL OUTPUT M CODE 4
74 SKIP SIGNAL DISABLE 110 THER. EXP. REV. ENABLE
75 SKIP SIGNAL ENABLE 111 THER. EXP. REV. DISABLE
76 112 THER. EXP. REV. CONTINUE
77
78 A-AXIS CLAMP 122 CHIP CONVEYOR STOP
79 A-AXIS UNCLAMP
80 TOOL AIR BLOW ON 192 RIGHT PALLET CHECK

81 193 LEFT PALLET CHECK

10-6
(VK/VS)
Read "Delivery Desprition" Segarding distinction of the standard and the option
M Function M Function
00 PROGRAM STOP 26 MELODY SELECT 1
01 OPTIONAL STOP 27 MELODY SELECT 2
02 END OF PROGRAM 28
03 SP. FORWARD RUNNING & 29
POSITIONING OFF c t.w 30 END OF TAPE
04 SP. REVERSE RUNNING & 31 CHIP CONVEYOR ON
POSITIONING OFF eci w 32
05 SP. & MIL. SP. STOP & POSITIONING OFF 33
06 A. T. C 34
,16-

07 MIST COOLANT ON 35 RESTART ON


08 FLOOD COOLANT ON 36 RESTART OFF
09 COOLANT MIST OFF 37
10 OIL MIST POSTUER NO.1 38
11 OIL MIST POSTURE NO.2 39
12 WORK COUNTER 40 TOOL AIR BLOW ON / TOOL LENGTH
13 SPINDLE C.W. & COOLANT ON MEASUREMENT COVER OPEN
14 SPINDLE C.C.W & COOLANT ON 41 TOOL AIR BLOW OFF / TOOL LENGTH
15 SPiNDLE STOP & COOLANT OFF MEASUREMENT COVER CLOSE
16 MEASUREMENT AIR BLOW ON 42
17 MEASUREMENT AIR BLOW OFF 43
18 SPINDLE POSITIONING FOR 44
MEASUREMENT 45 RESERVE TOOL SET ENABLE
19 SPINDLE POSITIONING 46 RESERVE TOOL SET CANCEL
20 47 JET COOLANT ON
21 48 FEED RATE OVERRIDE ENABLE
22 49 FEED RATE OVERRIDE CANCEL
23 50 OIL HOLE (THROUGH) COOLANT ON
24 51 CHECKING TOOL PREPARATION
25 52 TOOL BROKEN CHECK

10-7
M Name of function M 1
Name of function
53 CANCELING M54 79 A-AXIS UNCLAMP
54 TOOL LIFE / CUTTING MONITOR 80 TOOL AIR BLOW ON
FUNCTION STOP 81
55 CANCELING M56 82
56 APPLING FEED HOLD ON RUNNING 83
57 TOOL LIFE DATA SETTING 84
58 CUTTING MONITOR DATA SETTING 85
59 CHECK TOOL PREPARATION FINISH 86 TOOL BROKEN OF MEASUREMENT NG
60 APC PALLET CARRY ON 87
61 APC PALLET PULL OUT 88 FRONT DOOR OPEN
62 APC PALLET PULL IN 89 FRONT DOOR CLOSE
63 90
64 91
65 92
66 PALLET CLAMP 93
67 PALLET UNCLAMP 94
N /
68 &-AXIS CLAMP "g 95
/
69 SÿAXIS UNCLAMP 96 CUSTOM MACRO INTERRUPT ON
70 EXTERNAL OUTPUT M CODE 1 97 CUSTOM MACRO INTERRUPT OFF
71 EXTERNAL OUTPUT M CODE 2 98 SUB PROGRAM CALL
72 EXTERNAL OUTPUT M CODE 3 99 MAIN PROGRAM CALL
73 EXTERNAL OUTPUT M CODE 4 100
74 SKIP SIGNAL DISABLE
75 SKIP SIGNAL ENABLE 122 CHIP CONVEYOR STOP
76
77 192 RIGHT PALLET CHECK
78 A-AXIS CLAMP 193 LEFT PALLET CHECK

10-8
(HG)
Read "Delivery Desprition" Segarding distinction of the standard and the option

M Name of function M Name of function


000 PROGRAM STOP 028 LOAD LEVEL 0 SELECT (C.M)
001 OPTIONAL STOP 029 LOAD LEVEL 1 SELECT (C.M)
002 END OF PROGRAM 030 END OF TAPE
003 SPINDLE START FORWARD 031 CHIP CONVEYOR ON
004 SPINDLE START REVERSE 032 CANCELING M33 (C.M)
005 SPINDLE STOP 033 IDLE CUTTING TIME SAVING FUNCTION
006 A.T.C & CANCELING M64 (MODAL)
007 MIST COOLANT ON 034 IDLE CUTTING TIME SAVING FUNCTION
008 FLOOD COOLANT ON (NOT MODAL)
009 COOLANT MIST OFF 035 RESTART ON
010 OIL MIST POSTURE NO.1 036 RESTART OFF
011 OIL MIST POSTURE NO.2 037 MACRO INTERRUPT ENABLE
012 WORK COUNTER 1 038 STOPPING SPINDLE NO LOAD DETECTION
013 SPINDLE START FOR. & COOLANT FUNCTION
ON 039 CANELING M38
014 SPINDLE START REV. & COOLANT 040 TOOL LENGTH SENSOR ON
ON 041 TOOL LENGTH SENSOR OFF
015 SPINDLE & COOLANT STOP 042
016 MEASUREMENT AIR BLOW ON 043
017 MEASUREMENT AIR BLOW OFF 044
018 SP. ORIENTATION FOR MEASURE 045 RESERVE TOOL OFF SET
019 SP. ORIENTATION 046 RESERVE TOOL OFF SET CANCEL
020 MONITORING MACHINEING TIME 047 JET COOLANT ON
021 048 OVERRIDE
022 049 OVERRIDE CANCEL
023 050 OIL HOLE COOLANT ON (THROUGH)
024 051 CHECKING TOOL PREPARATION
025 052 TOOL BROKEN CHECK
026 MELODY SELECT 1 053 MONITORING FUNCTION ON
027 MELODY SELECT 2 054 MONITORING FUNCTION OFF

10-9
I
M Name of function M Name of function
055 CANCELING M56 088 APC DOOR OPEN
056 APPLING FEED FOLD ON RUNNING 089 APC DOOR CLOSE
OUT TOOL LIFE (CM) 090
i
057 TOOL LIFE TIME DATA INPUT MODE 091
(CM) 092
058 SET CURRENT VALUE INPUT MODE 093
(CM) 094
059 CANCELING M51, M57, M58 095
060 APC CYCLE 1 096 CUSTOM MACRO INTERRUPT ON
061 APC CYCLE 2 097 CUSTOM MACRO INTERRUPT OFF
062 APC CYCLE 3 098 SUBPROGRAM CALL
|
063 099 MAIN PROGRAM CALL
064 APPLING OVERRIDE FOR OVERLORD 100
(CM) 101
065 102
066 PALLET CLAMP 103
067 PALLET UNCLAMP 104
068 EXTERNAL OUTPUT M68 105
069 EXTERNAL OUTPUT M69 106 I

070 EXTERNAL OUTPUT M70 107


071 EXTERNAL OUTPUT M71 108
072 EXTERNAL OUTPUT M72 109
073 EXTERNAL OUTPUT M73 110 EXPANSION OFF SET
074 SKIP SELECT OFF 111 EXPANSION OFF SET CANCEL
075 SKIP SELECT ON 112
076 RENISHAW AIR BLOW 113
077 114
078 TABLE CLAMP 115
079 TABLE UNCLAMP 116
080 TOOL AIR BLOW 117
081 THROUGH COOLANT AIR BLOW 118
082 PALLET CHECK RIGHT 119
083 PALLET CHECK LEFT 120 ATC SPEED LOW ON
084 MEASUREMENT NG 121 ATC SPEED LOW OFF
085 122 SCREW CONVYER OFF
086 TOOL BLOKEN OF MEASUREMENT NG 123
087 124

10-10
M Name of function M Name of function
125 162 PALLET CARRY OUT
126 163 M60 CYCLE STANDBY CHECK
127 164 M61 CYCLE STANDBY CHECK
128 165 M62 CYCLE STANDBY CHECK
129 167
130 168
131 169
132 170
133 171
134 172
135 173
136 174
137 175
138 176
139 177
140 178
.

141 179
142 180 NOTICE OF SP. TOOL NO.
143 181 NOTICE OF PALLET NO.
144 182 CANCEL M180, M181, M183
145 183 NOTICE OF SP. POT NO.
146 184
147 185
148 186
149 187
150 188
151 189
152 190
153 191
154 192
155 193
156 194
157 195
158 196
159 197
160 198
161 PALLET CARRY IN 199

10-11
M Name of function M Name of function
200 REMOTE CONTROL NOZZLE ABS. 279 REMOTE CONTROL NOZZLE INDIRECT
COM. 0° ~60° COM. 60“
260 280
261 REMOTE CONTROL NOZZLE 1 ROUND 281
COM. 282
262 REMOTE CONTROL NOZZLE 1 SERIES 283
ROUND COM. 284
263 285
264 286
265 287
266 288
267 289
268
269 600
270 REMOTE CONTROL NOZZLE INDIRECT 601 MULTI FACE 0“
COM. 6° 602 MULTI FACE 90°
271 REMOTE CONTROL NOZZLE INDIRECT 603 MULTI FACE 180°
COM. 12° 604 MULTI FACE 270°
272 REMOTE CONTROL NOZZLE INDIRECT 605 TOOL MEASUREMENT NG
COM. 18° 606 PROCESS OPS. CENTER NG
273 REMOTE CONTROL NOZZLE INDIRECT 607 AUTO MEASUREMENT NG
COM. 24° 608 PROCESS CANCEL
274 REMOTE CONTROL NOZZLE INDIRECT 609
COM. 30° 610
275 REMOTE CONTROL NOZZLE INDIRECT 611
COM. 36° 612
276 REMOTE CONTROL NOZZLE INDIRECT 613
COM. 42° 614
277 REMOTE CONTROL NOZZLE INDIRECT 615
COM. 48° 616
278 REMOTE CONTROL NOZZLE INDIRECT
COM. 54°

1 0— 12
(HS)
Read "Delivery Desprition" Segarding distinction of the standard and the option
M Name of func ion M Name of function
000 PROGRAM STOP 028 LOAD LEVEL 0 SELECT (C.M)
001 OPTIONAL STOP 029 LOAD LEVEL 1 SELECT (C.M)
002 END OF PROGRAM 030 END OF TAPE
003 SPINDLE START FORWARD 031 CHIP CONVEYOR ON
004 SPINDLE START REVERSE 032 CANCELING M33 (C.M)
005 SPINDLE STOP 033 IDLE CUTTING TIME SAVING FUNCTION
006 A.T.C & CANCELING M64 (MODAL)
007 MIST COOLANT ON 034 IDLE CUTTING TIME SAVING FUNCTION
008 FLOOD COOLANT ON (NOT MODAL)
009 COOLANT MIST OFF 035 RESTART ON
010 OIL MIST POSTURE NO.1 036 RESTART OFF
011 OIL MIST POSTURE NO.2 037 MACRO INTERRUPT ENABLE
012 WORK COUNTER 1 038 STOPPING SPINDLE NO LOAD DETECTION
013 SPINDLE START FOR. & COOLANT FUNCTION
ON 039 CANELING M38
014 SPINDLE START REV. & COOLANT 040 TOOL LENGTH SENSOR ON
ON 041 TOOL LENGTH SENSOR OFF
015 SPINDLE & COOLANT STOP 042
016 MEASUREMENT AIR BLOW ON 043
017 MEASUREMENT AIR BLOW OFF 044
018 SP. ORIENTATION FOR MEASURE 045 RESERVE TOOL OFF SET
019 SP. ORIENTATION 046 RESERVE TOOL OFF SET CANCEL
020 MONITORING MACHINEING TIME 047 JET COOLANT ON
021 048 OVERRIDE
022 049 OVERRIDE CANCEL
023 050 OIL HOLE COOLANT ON (THROUGH)
024 051 CHECKING TOOL PREPARATION
025 052 TOOL BROKEN CHECK

026 MELODY SELECT 1 053 CANCELING M54


027 MELODY SELECT 2 054 MONITORING FUNCTION

10-13
'

M Name of function M Name of function


055 CANCELING M56 088 APC LEFT DOOR OPEN
056 APPLING FEED FOLD ON RUNNING 089 APC DOOR CLOSE
OUT TOOL LIFE (CM) __ 090
057 TOOL LIFE TIME DATA INPUT MODE 091
(CM) 092
058 SET CURRENT VALUE iNPUT MODE 093
(CM) 094
059 CANCELING M51, M57, M58, M65 095
060 APC CYCLE 1 096 CUSTOM MACRO INTERRUPT ON
061 APC CYCLE 2 097 CUSTOM MACRO INTERRUPT OFF
062 APC CYCLE 3 098 SUBPROGRAM CALL
063 099 MAIN PROGRAM CALL
064 APPLING OVERRIDE FOR OVERLORD 100
(CM) 101
065 102
066 PALLET CLAMP 103
067 PALLET UNCLAMP 104
068 EXTERNAL OUTPUT M68 105
069 EXTERNAL OUTPUT M69 106
070 EXTERNAL OUTPUT M70 107
071 EXTERNAL OUTPUT M71 108
072 EXTERNAL OUTPUT M72 109
073 EXTERNAL OUTPUT M73 110 EXPANSION OFF SET
074 SKIP SELECT OFF 111 EXPANSION OFF SET CANCEL
075 SKIP SELECT ON 112 EXPANSION OFF SET
076 RENISHAW AIR BLOW 113
077 114
078 TABLE CLAMP 115 SPINDLE, COOLANT STOP & ATC
079 TABLE UNCLAMP SHUTTER OPEN
080 TOOL AIR BLOW 116 ATC SHUTTER CLOSE
'

081 THROUGH COOLANT AIR BLOW 117


082 PALLET CHECK RIGHT 118
083 PALLET CHECK LEFT
084 MEASUREMENT NG
085
086 TOOL BLOKEN OF MEASUREMENT NG
087 APC RIGHT DOOR OPEN

10-14
I
10-3 Related items to the tool-set

Tool length

m D

L
Tool-length and diameter are decided to
Tool length on program
match the machining dimensions.
Gage end
(matched to spindle end face)
Margin of tool nose
and work face (A)
Tap A
A Black
Drill Black cover 10mm
cover 5mm Machin- 5mm
*»ÿ» ing face

Incomplete screw unit


Drill-shoulder
A

Machining depth Machining depth +


A Incomplete screw unit
Machining depth +
Drill shoulder
A \Z
Centering drill Black
cover 5mm
IgSSZ
Boring
A
ISO0 Black
cover 5mm
9 3°
mftace 2mm
XZ X£l
A A A
A

i
0d
Chamtering size and cutting-in

010
0d

010
1 1 Margin 2~3mm

2.88

at time of 120° at time of 90°

10-15
10-4 How to obtain the cutting condition ,i

Spindle speed (rpm) _


N : Spindle speed (rpm)
V
N= ~3T4 XD X1000 V : Cutting speed (min)
D : Tool diameter (mm)

Example
3" Front milling <f> 8 drill M8 tap
V = 120min V = 18m/min V = 9min
D = 4> 76mm 6 blades D= 4> 8 D=8

120 18 9
N= X 76 X 1000 N= X8X1000 N = 3.14 X 8 X1000
3.14 X 76 3.14 X 8

= 502 = 716 = 358


S500 SOOmin'1 S710 710min'1 S355 SSSmin'1

Cutting feed rate


F = N x fr F : Cutting speed (mm/min)
F = N x p (tapping case pitch) N : Spindle speed (min-1)
F = N X fz X t (case of front mill-ing) fr : Feed amount per one rotation (mmev)
End mill fz: Feed amount per one blade
t : Number of blade

Example
3" Front milling d> 8 drill M8 tap
N = SOOmin'1 N = 710min'1 N = 355min'1
fz = 0.12mm/1 blade fr = 0.18mm/rev P = 1.25
t = 6 blades F = 710 xo.18 F = 355 X 1.25
F = 500 X0.12X6 = 128 = 444
= 360 F128 F444
F360

10-16

1
10-5 List for standard cutting conditions
Increase/decrease can be made by mounting state, material to be cut, and tool length.
Cast iron Steel material Aluminium
Tool name Cutting Feed Cutting Feed Cutting Feed
speed mm/rev speed mm/rev speed mm/rev
m/min mm/min m/min mm/min m/min mm/min
R 90 95 250
450 400 700
5’face cutter S
F 120 120 320
320 250 600
R 80 80 160
280 300 430
(t> 10Oshell cutter S
F 90 80 160
190 190 300
R 60-75 0.15 60-75 0.12 90—115 0.1 —0.15

<t> 30-55 S
F 70''~ 85 0.1 75-90 0.08 115~140 0.08

R 70-80 0.15-0.25 80-90 0.15 130—150 0.12-0.2

Boring 4> 60-100 S


F 90-110 0.1 -0.12 90-105 0.1 160—190 0.1

R 70-80 0.25 75-80 0.2 -0.25 160—195 0.2

<t> 100 —200 S


F 100-110 0.1 —0.12 105-110 0.1 200—240 0.12

<f» 5 -10 H 20 0.2 25 0.1 -0.2 30-45 0.1 -0.2

H 25 0.3 25 0.2 -0.25 50—55 0.2 -0.25

Drillg <t> 10-20


S 40-50 0.3

H 25 0.35 20-23 0.25 50-60 0.25

<*> 20-50
S 50 0.3

Tap H 10-14 10-12 12-17

H 10-12 0.3 10-12 0.25-0.3 15-20 0.25-0.35

Learner
S 11-16 0.3 11-16 0.25-0.3 15-20 0.25-0.35

H 25-29 0.1 -0.25 25-29 0.1 -0.25 30—60 0.1 -0.3

Endmill
S 35-50 0.1 -0.25 30-50 0.1 -0.25 50-80 0.15-0.3

(Note) R = Roughing, F = Finishin, S = Super-hard steel, H = High speed steel

10-17

/
i

10-6 List for tape code


ISO code EIA code
Meaning
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
0 OO o o O o Num-eral 0
1 o oo o o 1 o O 1

2 o o o o 2 o o 2
3 oo o o o 3 o o Oo 3
j
4 o oo o o 4 o o 4
5 oo o o o 5 o oo o 5
6 oo o oo 6 o o oo 6
7 o oo o o oo 7 o o oo 7
8 o oo o o 8 oo 8

9 oo o o o 9 oo o o 9

A o o o a qo o o Address A
)

B o o O b IQP o O B
c oo o oo c o oo o Oo c
D o oo d oo oo D
E oo oo o e oo o o o O ? E
F oo o oo f oo o o Oo F
G o o oo o g oo o o o o G
H o oo h oo o o H
I oo o o o oo o o o o
J oo o o o o o o o J
K o o o oO k Q O o o K
L oo o o o o o Oo L
M o ooo o m o o oo M
N o o o oo n o oO O N
o oo o o o oo o o o Oo o
p o o o p o o o O oo p

Q oo o o o q o oo o Q
R oo o o o r o Oo O R
S o o o oo s oO o O s
T o o oo t o o OO T
u o o oo o u Oo o O II u
V o o o oo v o oo o V
w o o o o o oo w o o Oo w
X o o oo o X o o o o OO s
Y o 00 o p y o oo o Y
z o oo o o z o oo o z

10-18
ISO code EIA code
Meaning
Character 8 7 6 5 4 3 2 1 Character 8 7 6 5 4 3 2 1
DEL ooo OOo OOO Del oooo o OOO Delete (erasal of erroneous
punched hole)
NUL o Blank o Unusable at the interval of
significant information in case
of non-punched hole Elcode
BS O oo BS o oo o Back space
HT Oo O Tab OOOoOO Tabulator
LF or NL O o o CR or EOB o End of block
CR O Oo O O Carriage return
SP p o o SP o o * Space
% O ooO o ER Oo OO Absolute rewinding stop
( O Oo (2-4-5) OOo o Control out (note-part start)
) O o Oo O (2-4-7) Oo o Control in (note-part end)
+ O Oo OO + OOO o * Positive symbol
O OoO O o o Negative
OO o o Colon
/ O O oOOO / OO o o Optional block skip
O Oo oo oo Oo oo Period (decimal)
# o o o oo Sharp
$ o o o Deller symbol
& op o OO & o o OO Ampersand
T O o OOO Apostrophe
* O O Oo o Asterisk
OOO o o OOO o oo * Comma
O OOO o OO 7 * Semicolon
< OOOoO Left angle bracket
o OOOo o o y
Equal symbol
> O OOOoOO * Right angle bracket
? OOOoOOO * Ouestion mark
@ OO o Commercial at mark
O o O Ouotation mark
] OO OOo OO * Left big,parenthesis
[ OO OOoO o Right big parenthesis

(Note 1)* marked code can be read in tape memory at only time when there is notation part.
It is neglected at the other significant information.
(Note 2)? -mark code can be read in tape memory at only time when there is notation part.
It becomes alarm at the other significant information.
(Note 3) With custom-macro option, further next code is used at the significant information

10—19
interval. J
at time of ISO + [ ] # *=andE
at time of ElA + [ ] & , a parameter-set code and E
(Note 4) Code unlisted in this table with correct parity is always neglected.
(Note 5) Code of incorrect parity becomes TH-alarm. Whereas, it is neglected at notation part, !
and it does not induce TH-alarm. j
(Note 6) Whole punched hole in case of ElA-code is handled particularly, and it does not induce \
parity alarm, and is neglected.

10-20
CUSTOMER HITACHI SEIKI CO., LTD.
MC MACHINE DATA ?
-si
MACHINE NC PAGE 1
2
PART NO. NUMBER OF TOOL SET DRAWING DATE O
PART NAME CYCLETIME NAME FIX HOLDER TOOL
2
MIN >
o
MATERIAL START POINT X
MEMO
Y
STS
COOLANT
PROCESS |Z o
OFFSET
A
>
H
TAPE NO. TOOL
FACE
>
TOOL NAME TOOL NO. TOOL LENGTH TOOL OFFSET SPINDLE FEED TYPE OF TOOL HOLDER TOOL FACE TIME
No. mm H/D DATA SmirT1 m/min FrnirT mm/rev
CD
I
c-o
CUSTOMER DATE
o
CO
H
TOOLING LIST DELIVERY O
o
MACHINE WORK r
PAGE /
Q
DESCRIPTION TYPE OF TOOL HOLDER ADAPTER QTY MADEBY AMOUNT OPRICE TOOL QTY MADEBY AMOUNT PRICE NOTE
No. (/>
H

o>
!
tO
CO
10-9 If Alarm is Issued.
Confirm by alarm list of the maintenance section of SEICQS-2 10M Instruction Manual.

10-23
I
I
i

!
Revision history

Date Contents of change

11-1996 HK type added

01-1997 Tool diameter offset corrected partly

03-1997 G code change

06-1997 HK type -» HS type

09-1997 VS type added

03-1998 216M, 18M added

10-1998 Revised p3-4 “5. Case of HS type”


I

You might also like