Programming Manual For VMVKVSHGHS Type
Programming Manual For VMVKVSHGHS Type
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
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
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
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
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
+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.
l-3
I
.
2. PROGRAMMING LANGUAGE
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 ;
M99
i I M30
y
M02
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.
M9 8 M98 M9 8
P2000 ; P3000 ; P4000 ;
M30 ; M9 9 ; M9 9 ; M9 9
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.
a) M99 P a ;
When returning from the sub-program to the parent program, it returns to the sequence
No. designated by p.
2-4
I
b) M99 L /3 ;
The L value of number of the sub-program call is shifted forcedly to the /3 time.
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)
Word
2-9 Block
The interval between EOB(CR) and EOB is
expressed as a block.
o o O
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-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-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)
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.
2-10
2-16 Program zero point and coordinate system
V
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
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
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
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
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
©
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
2-15
j
2-24 X, Y, Z standard coordinate and actual work
z©
Y©
A
z Y
v
© e
X©
©
©
Z
*
A © >5/J
© \
* e' X
•Display is made by the movement
of spindle
i
Y©
0
Z© 0 Y©
,x©
.
’• Table
X©
z©
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
S
M99
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. !;
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-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
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;
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-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.
G91 G30 XO ZO
(Case of VM)
G30 P3 XO
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 ;
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
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.
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.
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
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
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
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.
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
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.
4-3
4-4 G02, G03 (circular interpolation)
Rotary direction
|G02 G03)
G03
+Z axis +X axis
G02
-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
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
——
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 ;
—
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)
75.0 B ‘
R50.0
] Start point
(Program zero. 25.0
point)\
\
-50.oV A (X0.Y0I
'
—
A -> B G90 GOO Y75.0 ;
B C G02 X-50.0 Y25.0 R-50.0 F300 ;
——
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
:
.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) ;
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.
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.
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
G41, G42 Y
/
X
/
Y
X
Z
X
I
z z X
G18 (Z-X plane)
i
/Y
i
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
)
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.
.X
(D Middle point ©
ft
Moved with rapid
x
traverse (X50.0 50 200
Y150.0)
First
reference 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:
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.
Program example
\ .
_
Tool No. No.5 is kept at the spindle T05 M06
M01
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
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)
4-16
I
5. G-FUNCTION (Length Compensation, Diameter
Compensation, Position Compensation)
L-
> Offset Number
G43 (+ Offset)
G44 (- Offset)
Spindle
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.
_
In case of alteration of offset No. (H ) in the middle program, offset becomes tool
compensation amount designated by altered offset No.
;
Program example
5-2
I
Tool length offset can be fixed on the Z axis by parameter setting.
G43 G43
Z_ H or H.
G44 G44
G49
H00
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
z /777 \
X
L,
B. Program pattern
\ Program route
Tool-center rocks
5-5
(
5-4 Tool diameter compensation G41, G42, G40
A. Offset vector
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
\
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
C. Linear -*ÿ
Circular
a
r
G42
\ Programmed 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
/
G42! /,
f /
a/
r !
Programmed path
5-9
I.
/
Linear Linear
7 / \
/ Cross r
y point
\
f
t
\ Programmed path
Tool center path
7 S)
Programmed path
'.Z_a
Cross point Tool center path
5— 1 0
D. Linear —' Circular
r/
V r
Cross
N
point
Offset mode
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 \
\
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
/
ff
D. Circular -*ÿ
Linear G40 t
/
a /
t
Programmed path /
r /
5-12
Offset cancel
G40
Q
\
F. Circular -* Linear r
Programmed 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
'
/
1 / Tool center path at right side offset
N2
G41/fN1>“ Offset vector
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
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
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
5-18
1
(Program example) However, radius offset amount: 20.0
G42G01 D10 F200;
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
_
* 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
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;
(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 +
G45
G46
G47 X_ _
Y D.
G48
By D-code, offset No. is indicated.
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 ;
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.
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
(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)
[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
©
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
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 ->
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
Program zero
lili/-£
I
_
i\
point
I Z-500.0 | Z
\ Z0 T
777777777777
6-4
6-5 Example using work-coordinate system
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.
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
---
! 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
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
Shift by G92
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;
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".
G52 XI. Yl
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
6-12
6-10 Data setting (G10)
(1) Setting of an offset amount for the work coordinate system
(a) Command form
(b) Precautions
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
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
6-16
7. G-FUNCTION (Canned Cycle)
B. Command method
GM X Z R _P Q L F E ;
T t Returning
speed
Cutting feed rate
Return
position
Repeating frequency
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
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
G98 G99
-X?
<
Initial level
Q *9
/
Initial level
R-point
K
6 6
Initial level return R-point level return
7-3
i
7-4 Canned cycle (G73, G74)
Detail of movement
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
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
7-5
Precautions of the variable pitch commands
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
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
/
Spindle index
" Q~*| 1
Spindle index
Q
stop stop
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
—-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
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
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-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
—
•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 >
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
z©
© 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
Y©
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
* 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
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
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.
(2) The change-over for the mirror image ON/OFF becomes effective from the next buffering
block.
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
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
q
Spindle stop
"*?
2
?6
!
Initial point Q
Spindle stop
X
2
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
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
7-21
7-13-2 F format (G84.2, G84.3)
A. Function
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
__
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
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)
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
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
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
7-25
7-15 Bolt-hole cycle (G70)
A. Function
In case of equally distributed drilling on the
2©
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
A®
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
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.
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.
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)
—
= 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
7-31
D. Program example
a) Basic form
/
150.
4 / 3
1 50.
1 2
/
5 if
/
7 S 5 / 2 1
3 /
4
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)
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
7 6 5
/
3 /
/
7-34
e) Spiral true circle cutting designation (U, Q)
A
y
l Q: Circular arc
increment
!
5 .12
(D10):Offset amount
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.
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
,
1 50.
4 / 3
ISO.
/ /
1 2 5 6 /
7 6 S 7 2 1
3 4
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
/
/ /
4
150. /
;
/ /
'l 5.
a
/
(D10): Offset amount
/
/
High speed feed range:
R30. -(D10)
3 /
(D10) : Offset amount
7Y t
/ /
(By automatic calculation)
High speed feed range
7-39
e) Spiral true circle cutting designation (U, Q)
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
[ 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
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
--
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
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
/
__
/ / /
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
-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
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
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
100.0
G54 X0
YO
200.0
-»•
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_
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.
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)
B. Command form
Z_ R
I
(X, YA K
Y
\ \
I.
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
19 17 1 16
Solid line: Cutting feed
Z
Dotted line: Rapid traverse
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
* 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 x,y
1 I
J $ $ $ $ j-
t
X,Y X,Y
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
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;
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 / / / /• /
— —
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
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
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
—
-»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
C. Program example i
G17;
G90G333X50. Y-100. Z-50. R-10. Q20. 150.
:
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
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.
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.
(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.
(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
7-88
l
8. OTHER FUNCTION
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
G01
G02 . . . , R_;
G03 .R j
i /
(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
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.
4-0.025
4-M10xP1.5 screwing 3-g30 4-0
\
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
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.
0ÿ 200.0
240.0
9-2
9-4 Mounting Method
Clamp with vice-mouth piece by taking a step
T7
HI Step-taking
Mouth piece
X-
direct-ion
©° .+
e -e-ei
Y-
Touch
+
«-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.
(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
U
F format S format Function
10-3
F format S format Function
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
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
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-
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
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
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
10-13
'
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
i
0d
Chamtering size and cutting-in
010
0d
010
1 1 Margin 2~3mm
2.88
10-15
10-4 How to obtain the cutting condition ,i
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
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
<*> 20-50
S 50 0.3
Learner
S 11-16 0.3 11-16 0.25-0.3 15-20 0.25-0.35
Endmill
S 35-50 0.1 -0.25 30-50 0.1 -0.25 50-80 0.15-0.3
10-17
/
i
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