fanuc_ot_cnc_program_manual_gcodetraining_588
fanuc_ot_cnc_program_manual_gcodetraining_588
r
i to
@siemensCNC
Ed
CNC
PROGRAM MANUAL
F
PD
PU
MA
450
te r
as
nM
di
Telegram
a te
@siemensCNC
re
r
i to
TRAINING
Forward
Ed
Thank you very much for participating in our education.
F
requirements of customers positively.
DAEWOO does its utmost to accept and practice the Quality Confirmation of DAEWOO and Custom-
PD
ers' requirements through the Dealer-net-work of about 350 as practicing the World Quality Manage-
ment.
DAEWOO provides with the technical data and support the technical coaching, therefore, if you con-
tact us when you need of them , we will immediately help you.
te r
Thank you.
as
nM
Telegram
@siemensCNC
di
a te
re
r
i to
TRAINING
O-T
Ed
F
PD
DAEWOO
RESET O( N) GE RC 7 8 9 ALTER
NO. X Z R
G 01 0.000 0.000 0.000
NC POWER G 02 0.000 0.000 0.000 XU YV Z W 4TH 4 5 6 INSRT
te r
G 06 0.000 0.000 0.000
M# S= T* L+ _ .
G 07 0.000 0.000 0.000
U 0.000 W 0.000
PAGE
NUM. MZ 120. S MDI 0T
OFF SHIFT POS PRGRM OFSET MENU
40
150
70
? %
20 60
0 50 ALARM NO.
SPINDLE LOAD
FEEDRATE OVERRIDE SPINDLE OVERRIDE SPINDLE SPEED
EMERGENCY STOP
+X
X100
X X10
–Z +Z
SINGLE OPTIONAL OPTIONAL DRY RUN
Z START STOP COOLANT BLOCK STOP BLOCK SKIP
X1
RAPID N β
α
6 7 8
100 45 9
3 10
50 2 11
–X 1 12
F0
CYCLE START FEED HOLD MACHINE READY EMG. RELEASE RAPID OVERRIDE TOOL NO. MACHINE LOCK PROGRAM PROTECT CHUCKING
a te
re
1
r
i to
TRAINING
G-FUNCTION
Ed
STANDARD G SPECIAL
GROUP FUNCTION
CODE G CODE
F
G04 G04 00 Dwell
PD
#G22 G22 04 Stored distance limit is effective
G23 (Spindle interference check ON)
G23 Stored distance limit is ineffective
(Spindle interference check OFF)
te r
#G32 G33 01 Thread process
Designate r.p.m
Note) 1. # mark instruction is he modal indication of initial condition which is immediately available
when power is supplied.
2. In general, the standard G code is used in lathe, and it is possible to select the special G code
according to setting of parameters.
re
2
r
i to
TRAINING
Ed
M-CODE DESCRIPTION REMARK M-CODE DESCRIPTION REMARK
F
M03 MAIN-SPINDLE FORWARD M42 GEAR CHANGE MIDDLE
PD
M04 MAIN-SPINDLE REVERSE M43 GEAR CHANGE HIGH
M05 MAIN-SPINDLE STOP M46 PTS BODY UNCL & TRACT-BAR ADV. OPTION
M07 HIGH PRESSURE COOLANT ON OPTION M47 PTS BODY CL & TRACT-BAR RET. OPTION
M08 COOLANT ON M50 BAR FEEDER COMMAND 1 OPTION
M09 COOLANT OFF M51 BAR FEEDER COMMAND 2 OPTION
te r
M10 PARTS CATCHER ADVANCE OPTION M52 SPLASH GUARD DOOR OPEN OPTION
M11 PARTS CATCHER RETRACT OPTION M53 SPLASH GUARD DOOR CLOSE OPTION
M13 TURRET AIR BLOW OPTION M54 PARTS COUNT OPTION
as
M14 MAIN-SPINDLE AIR BLOW OPTION M58 STEADY REST 2 CLAMP OPTION
M15 AIR BLOW OFF OPTION M59 STEADY REST 2 UNCLAMP OPTION
M17 MACHINE LOCK ACT (ONLY)
MDI M61 SWITCHING LOW SPEED (N.J) α P60
(ONLY) α P60
nM
M31 INTERLOCK BY-PASS(SPDL &T/S) M67 DUAL CHUCK HIGH CLAMP OPTION
M32 INTERLOCK BY-PASS(SPDL &S/R) 3 AXIS M68 MAIN-CHUCK CLAMP
M33 REV.-TOOL-SPINDLE FORWARD 3 AXIS M69 MAIN-CHUCK UNCLAMP
a te
3
r
i to
TRAINING
Ed
M-CODE DESCRIPTION REMARK M-CODE DESCRIPTION REMARK
F
M79 TAILSTOCK QUILL RETRACT M165 SUB-SPDL & COOLANT STOP
PD
M80 Q-SETTER SWING ARM DOWN OPTION M168 SUB-CHUCK CLAMP
M81 Q-SETTER SWING ARM UP OPTION M169 SUB-CHUCK UNCLAMP
M84 TURRET CW ROTATION M203 FORWARD SYNCHRONOUS COM.
M85 TURRET CCW ROTATION M204 REVERSE SYNCHRONOUS COM.
M86 TORQUE SKIP ACT B AXIS M205 SYNCHRONOUS STOP
te r
M87 TORQUE SKIP CANCEL B AXIS M206 SPINDLE ROTATION RELEASE
M88 SPINDLE LOW CLAMP
M89 SPINDLE HIGH CLAMP
as
M90 SPINDLE UNCLAMP
M91 EXTERNAL M91 COMMAND 3 AXIS
M92 EXTERNAL M92 COMMAND 3 AXIS
nM
4
r
i to
TRAINING
Note) 1. M00 : For this command, main spindle stop, cutting oil, motor stop, tape reading stop are
carriedout.
Ed
M01 : While this function is the same as M00, it is effective when the optional stop switch of
console is ON.
This command shall be overrided if the optional stop switch is OFF.
M02 : Indicates the end of main program.
M30 : This is the same as M02 and it returns to the starting position of the programme when
F
the memory and the tape are running.
PD
2. M code should not be programmed in the command paragraph containing S code or T code.
It is favorable for M code to programe in a command paragraph independently.
3. The edges of processed material become round due to the effect of characteristics of AC
servo motor. To avoid it, M74 and M75 functions are used.
te r
as
When command of M75 When command of M74
(Error detection is OFF) (Error detection is ON)
nM
4. M76, M77
These codes are effective when thread process is programmed by G92, and they are used for
ON and OFF of thread beveling. Thread chamferingis set as much as one pitch by setting of
parameters and it is possible to set double.
di
a te
5
r
i to
TRAINING
Ed
Function Address Meaning of address
Program number O(EIA)/(ISO) Program number
Block sequence number N Sequence number
F
Preparatory function G Sercifies a motion mode (Linear, arc, etc)
Dimension word X, Z Command of moving position(absolute type) of each axis
PD
U, W Instruction of moving distance and direction(incremental type)
te r
Spindle speed function S Designation of speed of main spindle or rotation time of main spindle
Function (Tool) T Designation of tool number and tool compensation number
Dwell P, U, X Designation of dwell time
as
Dewignation of program number P Designation of calling number of auxiliary program
Designation of sequence No P, Q Callling of compound repeat cycle, end number
Number of repetitions L Repeat time of auxiliary program
nM
One block
N G X Y F S T M :
a te
6
r
i to
TRAINING
Meaning of Address
T function is used for designation of tool numbers and tool compensation.
Ed
T function is a tool selection code made of 4 digits.
T 0 2 0 2
Designation of tool compensation number
Designation of tool number
F
Example) If it is designated as(T 0 2 0 2 )
0 2 calls the tool number and calls the tool compensation value of number , and
PD
the tool is compensation as much as momoried volume in the storage.
The cancel of tool compensation is commanded as T 0 0
If you want to call the next tool and compensation, you should cancel the tool com-
pensation. For convenient operation, it is recommended to used the same number of
tool and compensation.
It is not allowed to use the same tool compensation number for 2 different tools.
te r
Minimum compensation value : + 0.001mm
Maximum compensation value : + 999.999mm
Tool compensation of X spindle is designated as diameter value.
as
nM
Telegram
di
@siemensCNC
a te
re
7
r
i to
TRAINING
G00(Positioning)
Ed
G00 X(U) Z(W); G00 X150.0 Z100.0
X200.0 Z200.0
X
X200
F
X150 Z200 G00 U150.0 W100.0
Z100
Z U50.0 W100.0
PD
(X0 Z0)
te r
N1234 G00 X25. Z5.
+X
as
G00
nM
-Z +Z
Ø25
di
a te
5
re
-X
8
r
i to
TRAINING
G01
Ed
G01(Linear interpolation)
Each axes moves straigrtly as much as commanded data in commanded rate.
F
G01 X150.0 Z100.0 F0.2 :
PD
G01 X(U) Z(W) F X200.0 Z200.0 :
X
X200 G01 U150.0 W100.0 F0.2 :
X150 Z200
Z100 U50.0 W100.0 :
Z
(X0 Z0)
G01
-Z +Z
di
Ø25
a te
30
re
-X
9
r
i to
TRAINING
AUTO CHAMFERING “C” AND CORNER “R” (Option)
+X
Ed
C
+r
+i
A
B
-i Command path Z→X : A : Start point of instuction
-r
C' G01 Z(w) B C ( ¡ i) : B : End point of instruction
F
-X G01 Z(w) B C ( ¡ r) :CC’ : Running point of command
A
PD
-r +r
Command path X→Z :
-Z +Z G01 X(u) B C ( ¡ k)
C' B C
-K +K G01 X(u) B R ( ¡ r)
te r
Note) (1) After instructing from G01 to one axis, the next command paragraph should be fed in
vertical direction.
as
(2) If the next command paragraph is incremental type, designate the incremental volume
baed on B point.
(3) In following cases, errors occur. (G01 Mode)
– When instruction one of I, K, R and X and Z at the same time.
nM
(4) During the operation of single command paragraph, the operation at C point stops.
Example)
X
a te
N1
N3 Z0 :
Ø100
Z
Ø40
80
10
r
i to
TRAINING
G01 PROGRAM
Example1)
Ed
Ø100
Ø80
F
PD
50 30 15
O0001 :
N10 G50 S1500 T0100 M42 : N20 G50 S2000 T0300 :
G96 S180 M03 : G96 S200 M03 :
te r
G00 X100.5 Z5.0 T0101 M08 : G00 X85.0 Z5.0 T0303 M08 :
G01 Z-95.0 F0.25 : Z0 :
G00 U2.0 Z0.5 : G01 X-1.6 F0.2 :
G01 X-1.6 F0.2 : G00 X80.0 Z3.0 :
as
G00 X95.0 W1.0 : G42 Z1.0 :
G01 Z-37.3 F0.25 : G01 Z-15.0 F0.18 :
X100.0 Z-45.5 : X100.0 Z-45.0 :
nM
M01 :
11
r
i to
TRAINING
G01 PROGRAM
Example2)
Ed
C1
C1
Ø60
Ø70
Ø50
F
PD
45 25 30
100
te r
X72.0
G96 S180 M03 :
G00 X150.0 Z200.0 T0100 :
G00 X70.5 Z5.0 T0101 M08 :
M01 :
G01 Z-100.0 F0.25 :
N20 G50 S2300 T0300 :
G00 U2.0 Z0.5 :
as
G96 S200 M03 :
G01 X-1.6 F0.23 :
G00 X55.0 Z5.0 T0303 M08 :
G00 X65.0 W1.0 : Z0 :
G01 Z-54.5 F0.25 :
nM
X68.0 :
G01 Z-30.0 :
X70.0 W-1.0 :
X60.0 Z-54.5 :
Z-100.0 :
G00 U2.0 Z1.0 :
a te
12
r
i to
TRAINING
G02 G03
Ed
X I (X)
F
PD
Z K(Z)
P0
P2
X
te r G02 I
as
P1
K
Z
X
P2
G03
di
P1
P0 -I
a te
-K
Z
13
r
i to
TRAINING
G02, G03(Circular interpolation)
Ed
Each axis interpolates circularly to the commanded coordinate in instructed speed.
Meaning
Conditions Instruction
Right hand coodinate Left hand coodinate
1 Rotation direction G02 CW CCW
F
G03 CCW CW
PD
2 Location of end point X,Z Location X,Z of commanded point from coordinate
Distance to the end point U,W Distance from start point to commanded point
3 Distance between start point Distance from start point to the center of and arc
and the center point I,K with sign, radius value (I always designates the
radius)
te r
Arc radius with no sign radius R Radius of circumference
of circumference as
G02 X(u) Z(w) R_ F_ :
Z
Ø30
G01 X50.0 :
Z0 :
di
X 60
G03 G03 X50.0 Z55.0 K-5.0 :
G03
5
R
Ø50
Z
re
14
r
i to
TRAINING
Note) (1) If I or K is 0 it is omissible.
(2) G02 I_: Make a round of circle.
Ed
(3) It is recommended to use R as + value, and designates the circumferences less than
180.
G03 R_: No moving
(4) When designating R which is less than the half of moving distance, override R and make
F
half circle.
(5) When designating I, K and R at the same time, R is effective.
PD
(6) When the moving end point is not on the circumference as a result of wrong designation
of and K :
P2 P2
te r
r r
P1 P1
as
nM
Telegram
@siemensCNC
di
a te
re
15
r
i to
TRAINING
Telegram
@siemensCNC
G03 PROGRAM
G02
)
Ed
Example 1)
F
Ø100
PD
Ø20
R4
5 20.615
te r
40 24.385 50
N10 :
as
N20 G50 S2000 T0300 :
G96 S200 M03 :
G00 X0 Z3.0 T0303 M08 :
nM
Telegram
@siemensCNC
re
16
r
i to
TRAINING
G02 PROGRAM
G03
)
Ed
Example 2)
F
16
16
R
Ø100
R
PD Ø35
te r
46 36
N10 :
as
N20 G50 S2000 T0300 :
G96 S200 M03 :
nM
G01 Z-82.0 :
G40 G00 X200.0 Z200.0 M09 T0300 :
M30 :
a te
17
r
i to
TRAINING
G01
G02
) PROGRAM
Ed
30
G03 15
2.5
.5
R1
R3
F
PD
Ø30
Ø35
Ø100
Ø102
Ø40
Ø60
Ø80
15
24.33
8 42
te r
O0000 :
N10 (ø30 DRILL) G01 Z-14.8 F0.27 :
Z-40.0 F0.25 :
G00 Z5.0 : G00 U2.0 Z-1.0 :
M01 : X72.9 :
18
r
i to
TRAINING
N30 (Inside diameter stock removal) N50 (Inside diameter finishing)
G50 S1500 T0400 : G50 S1800 T0600 :
Ed
G96 S180 M03 : G96 S200 M03 :
G00 X34.5 Z3.0 T0404 M08 : G00 X40.0 Z5.0 T0606 M08 :
G01 Z-41.8 F0.27 : G41 Z1.0 :
G00 U-0.5 Z1.0 : G01 Z-15.0 F0.2 :
F
X39.5 : X35.0 Z-24.33 :
G01 Z-15.0 : Z-42.0 :
PD
X34.5 Z-24.3 : X29.0 :
G00 Z10.0 : G40 G00 Z10.0 :
X200.0 Z200.0 T0400 : X200.0 Z200.0 T0600 M09 :
M01 : M30 :
N40 (Out diameter finishing)
G50 S1800 T0500 :
te r
G96 S200 M03 :
G00 X63.0 Z5.0 T0505 M08 :
Z0 :
as
G01 X38.0 F0.2 :
G00 X60.0 Z3.0 :
G42 Z1.0 :
G01 Z-2.5 F0.2 :
nM
X74.0 :
G03 X80.0 Z-5.5 R3.0 :
G01 Z-13.5 :
G02 X83.0 Z-15.0 R1.5 :
G01 X100.0 :
di
Z-30.0 :
X103.0 :
G40 G00 U2.0 W1.0 :
a te
G00 Z10.0 :
X200.0 Z200.0 T0500 :
M01 :
re
19
r
i to
TRAINING
1G04 (Dwell)
Ed
After passing as much time as commanded by X(u) or P code in the same block, carry out the next
block.
In case of 10 seconds' dwell
G04 X10.0 : (G04 X10000 : )
G04 U10.0 : (G04 U10000 : )
F
G04 P10000.0 : (G04 P1000 : )
PD
Automatic reference return
Reference means certain point fixed in the machine, and coordinate value of reference is set in NC
parameter.
OT-C/F FS16/18T
Parameter NO N708(X) N1240(X, Z)
te r
N709(Z)
1) G27(Reference return check)
Position is decided through rapid feed to the position of value set in NC PARAMETER by com-
mand.
as
Example) When PARAMETER N708(X) is 330000
N709(Z) is 529000
nM
Note) When instructing G27, you should cancel the OFFSET volume
a te
20
r
i to
TRAINING
G28 U0 W0 : G27 X100.0 Z100.0
Ed
X330.0 X330.0
( ) ( )
Z529.0 X100.0 Z529.0
( )
Z100.0
Action of G28 block presents that the commanded axis goes via the center in rapid feedrate and
returns to the reference.
F
Note) When instructing G28 block, tool, tool compensation, tool location offset should be can-
PD
celed principlly.
te r
∴Generally, it is used right after G28 or G30 command.
G28 X100.0 Z100.0 :
Machine referebce
Center point
as
G29 X50.0 Z200.0 : X100.0
Return point
Z100.0 X50.0
Start point Z200.0
Z300.0
Z
re
Reference) Generally, the 2nd reference is used for the start point of program.
21
r
i to
TRAINING
G32(THREAD CYCLE)
According to G32 command, straight thread and taper thread of certain lead are cut.
Ed
G32 Z(w) F : (G32 is applied to only single block)
X(u) F :
Example 1) STRAIGHT lead
F
Lead of screw : 3mm
X
δ1 : 5mm
20
PD
δ2 : 1.5mm
δ2 δ1 Depth of cut : 1mm(2cut two times)
Ø50
Z
70
(ABSOLUTE)
G50 T0100 :
te r
as
G97 S800 M03 :
G00 X90.0 Z5.0 T0101 M8 :
X48.0 :
nM
Z5.0
X150.0 Z150.0 T0100 :
M30 :
a te
22
r
i to
TRAINING
Example 1) STRAIGHT lead
G32 X(u) Z(w) F : Because it is taper, it is applied to both axis at the same time.
Ed
Lead of screw : 3mm
X
δ1 : 5mm
δ1 δ2 : 1.5mm
δ2
Ø50
F
Depth of cut : 1mm(2cut two times)
Ø25
Z
PD
70
(ABSOLUTE) (INCREMENTAL)
G50 S800 T0100 : G50 S800 T0100 :
G97 S800 M03 : G97 S800 M03 :
te r
G00 X90.0 Z5.0 T0101 : G00 X90.0 Z5.0 T0101 :
X22.026 : U-67.974 :
G32 X49.562 Z-71.5 F3.0 : G32 U27.321 W-76.5 F3.0 :
G00 X90.0 : G00 U40.438 :
as
Z5.0 : W76.5 :
X21.052 : U-68.948 :
G32 X48.588 Z-71.5 : G32 U27.321 W-76.5 :
nM
Reference)
Values of incomplete thread δ1 and δ2.
δ1= 3.6 x L x n L = Lead of thread
a te
δ2= L x n
1800
re
23
r
i to
TRAINING
G42
Ed
F
-X
PD
R
-Z
+Z
te r
+X
as
+X
nM
di
a te
-Z +Z
re
-X
24
r
i to
TRAINING
G41 G42
Ed
2 6 1
F
PD
9
7 5
te r
R
3 8 4
as
nM
G41
di
a te
G42
re
25
r
i to
TRAINING
G40
Ed
N100 G42 G00 X.. Z..
N105 G01 Z-.. F..
G42 N110 G02 X.. Z-.. R..
F
+X
N115 G40 G00 X.. Z..
G40
PD
N115
N100
G42
N110 N105
-Z +Z
te r
as
-X
G41
nM
G40 N110
N115
G02 X.. Z-.. R..
G40 G00 X.. Z..
+X
di
a te
-Z +Z
re
-X
26
r
i to
TRAINING
Tool diameter compensation
Ed
G40 : R compensation cancel
G41 : When located on the left side of material based on the progressing direction,
G42 : When located on the right side of material based on the progressing direction,
X X
F
G41 G42
PD
Z Z
te r
If R is on the end of the tool edge, parts which are not impensated only by tool position OFFSET
are occured during the taper cutting or circlar cutting. Therefor, impensating this error automatically
is namelyR compensation.(During the tool diameter compensation, add theR and T-direction in the
R compensation column of OFFSET PAGE.
as
Example 1) When not using tool diameter compensation(R compensation a and b should be cal-
culated)
nM
compensation ¡ 0.5
PROGRAM
2
C
compensation
Ø30
di
G28 UO WO :
a ( ¡ 0.5)
M30 :
∗
a te
re
27
r
i to
TRAINING
Example 2) When using tool diameter compensation
Ed
∗ If a position and b position are given on the program, the tool performs automati-
compensation ¡ 0.5
PROGRAM
F
2
G42 X26.0 Z0 F0.2 :
C
compensation
PD
b G01 X30.0 Z-2.0 :
X = 30.0
Z = –2.0 ( ¡ 0.5)
Z-30.0 :
Ø30
M30 :
te r
∗
28
r
i to
TRAINING
1) Direction of imaginary (In case of right hand coordinate)
Ed
Direction of imaginary seen from the center of radius is decided by the cutting direction of tool
Direction and number of imaginary are decided among the following eight
types.
F
X X X
PD
4 3 8
Z Z Z
5 7 9
1 2 6
te r
<Selecting example of imaginary number>
as
1 2
nM
3 4
di
a te
5
6
re
29
r
i to
TRAINING
Ed
8
7
F
PD
9
te r
2) Compensation setting of X
OFFSET No. Z
as
OFFSETNO. X Z TOOL DIRECTION
30
r
i to
TRAINING
G70
Ed
FINISHING CYCLE
F
G70 P Q : +X
PD
N70
N55
te r
N60 N60
-Z as +Z
nM
-X
di
N..
31
r
i to
TRAINING
G71
Ed
+X
W+
F
N75
PD
N60
R U
U+
N70 N65
-Z +Z
te r
as
-X
nM
N..
32
r
i to
TRAINING
G71(STOCK REMOVAL IN TURNING)
G71 U( ¡ d) R(e) :
Ed
G71 P Q U( ¡ u) W( ¡ w) F :
P : Start sequence no.
C
B (R) Q : Final sequence no.
A
∆d
(R)
(F) e U( ¡ d) : Cut volume of one time(Designate
F
45°
(F) the radius.
R(e) : Escape volume(Always 45) escape
PD
Program command
U( ¡ u) : Finishing tolerance in X axis
∆u/2
(F) : Cutting feed
W( ¡ w) : Finishing tolerance in Z axis
(R) : Rapid traverse A`
∆w F(f) : Cutting feedrate
Example of program
te r
as
nM
Ø30
Ø40
Ø50
Ø60
Ø80
di
20
40
60
a te
70
90
110
140
re
33
r
i to
TRAINING
(G70, G71)
N10 G50 S1500 T0101 :
Ed
G96 S180 M03 :
G00 X85.0 Z5.0 M08 :
Z0 :
G01 X-1.6 F0.25 :
G00 X83.0 Z2.0 :
F
G71 U3.0 R1.0 :
G71 P20 Q30 U0.5 W0.1 F0.27 :
PD
N20 G42 G00 X30.0 : G71 CYCLE CUTTING FEED
G01 Z-20.0 F0.17 :
G70 CYCLE CUTTING FEED
X40.0 Z-40.0 :
Z-60.0 :
te r
X50.0 Z-70.0 :
Z-90.0 :
X60.0 Z-110.0 :
Z-140.0 :
as
X80.0 :
N30 G40 :
G70 P20 Q30 : (When using the same bite)
nM
34
r
i to
TRAINING
Examples of program
Stock Removal in Turning(G71) (Type I)
Ed
X Start point
End point
F
7
100
80
2
PD
Ø140
Ø100
Ø40
Ø60
Z
40 20 2010 20 30
te r
30 10 2
100
as
(Diameter designation, metric input)
N010 G00 X200.0 Z100.0 :
nM
N017 W-20.0 :
N018 X100.0 W-10.0 :
N019 W-20.0 :
a te
35
r
i to
TRAINING
G72(STOCK REMOVAL IN FACING)
G72 W( ¡ d) R(e) :
Ed
G72 P_ Q_ U( ¡ u) W( ¡ w) F :
∆d U( ¡ d) : Cut volume of one time
A`
C
R(e) : Escape volume
A
P : Start sequence No.
Tool path
F
(F)
Q : Final sequence No.
e
(R)
(R) U( ¡ u) : Finishing in clearance X axis(Diameter
PD
command)
∆u/2
Program command
45°
(F) W( ¡ w) : Finishing in clearance Z axis
B
F(f) : Cutting feedrate
∆w
Example of program
te r
1
C
X40.0 Z-15.0 :
X30.0 :
Z-1.0 :
1
C
as
X26.0 Z1.0 :
Ø30
Ø40
Ø45
Ø60
Ø80
N14 G40 :
30 15 G70 P12 Q14 :
nM
Z-45.0 :
36
r
i to
TRAINING
Examples of program
Stock Removal in Pacing(G72)
Ed
7
X Start point
F
110
88
PD
Ø160
Ø120
Ø40
Ø80
Z
60
te r
101010 20 20 2
60
as
(Diameter designation, metric input)
N010 G00 X220.0 Z60.0 :
N011 G00 X176.0 Z2.0 :
nM
N021 G40 :
N022 G70 P014 Q021 :
N023 G00 X220.0 Z60.0 :
N024 M30 :
re
37
r
i to
TRAINING
G73(PATTEN REPEATING)
G73 U( ¡ i) R(d) W( ¡ k) :
Ed
G73 P Q U( ¡ u) W( ¡ w) F :
F
∆k+∆w
W( ¡ k) : Escape distance and direction in Z axis
∆w
R(d) : Repeating time
PD
D
C ∆i+∆u/2
A
(It is conneeted with the cut volume of each time)
(R) ∆u/2
B P : Start sequence No.
Q : Final sequence No.
∆u/2
A`
∆w U( ¡ u) : Finishing in clearance X axis(Radius des-
te r
ignated)
W( ¡ w) : Finishing in clearance Z axis
F(f) : Cutting feedrate
Example of program
as ∆u
10
R
Ø20
Ø40
Ø60
nM
20 10 20
50
di
G01 Z-30.0 :
G01 X-1.6 F0.2 :
X60.0 Z-50.0 :
G00 X70.0 Z10.0 :
N16 G40 U1.0 :
G73 U3.0 W2.0 R2 :
G70 P12 Q16 :
G73 P12 Q16 U0.5 W0.1 F0.25 :
G00 X200.0 Z200.0 T0300 :
re
M30 :
38
r
i to
TRAINING
Examples of program
Pattern Repeating(G73)
Ed
16
Start point
16
X
F 130
PD 14
2
110
Ø180
Ø160
Ø120
Ø80
Z
te r
2 14
R
20
60 10 40 10 20 40
as
220
39
r
i to
TRAINING
G74
Ed
F
+X
PD
te r
-Z as +Z
nM
-Z
di
-X
a te
40
r
i to
TRAINING
G74(Peck drilling in Z axis divection)
1) Drill cutting cycle
Ed
G74 R(e) :
G74 Z(w) Q( ¡ k) F :
∆k` ∆k ∆k ∆k ∆k
R(e) : Retreat volume
F
C A Z(w) : Final cutting depth
∆i
Q( ¡ k) : One time cutting depth
PD
(R) (R) (R) (R)
∆d
(F) (1000=1mm)
(F) (F) (F) (F)
∆i
U/2
F : Cutting feedrate
∆i`
B
X
te r
e
[0 < ∆i` < ∆i ]
W
Z (R) : Radius traverse
as (F) : Cutting feed
Examples of program
∆k` ∆k
nM
(R)
∆d
(F) (F)
di
G74 R1.0 :
G97 S280 M03 :
G74 Z-90.0 Q5000 F0.23 :
G00 X0 Z5.0 T0202 M08 :
G00 X200.0 Z150.0 T0200 :
Start point of drilling
M01 :
re
41
r
i to
TRAINING
2) Stock removal cycle in side
G74 R(e) :
Ed
G74 X(u) Z(w) P( ¡ i) Q( ¡ k) R( ¡ d) F :
∆k` ∆k ∆k ∆k ∆k
F
C A
∆i
PD
(R) (R) (R) (R)
∆d
(F)
(F) (F) (F) (F)
∆i
U/2
te r
∆i`
B
X
e
[0 < ∆i` < ∆i ]
as
W
Z (R) : Radius traverse
(F) : Cutting feed
R( ¡ d) : Escape wlume at the end point of Z axis proess(Designate the symbol and
42
r
i to
TRAINING
Ed
F
Ø20
Ø50
PD
Ø10
Ø30
Ø50
10
10
te r
(In case of omitting, it shall be done at the same time)
N10 N10 G50 S2000 T0100 :
G00 X20.0 Z1.0 : G96 S80 M03 :
G74 R1.0 : G00 X50.0 Z1.0 T0101 :
as
G74 Z-10.0 Q3000 F0.1 : G74 R1.0 :
M30 :
Attention
FANUC 0TC
Q3000=3mm N1 G50 S2000 T0100 :
G0 U-5.0 :
a te
10
43
r
i to
TRAINING
G75
Ed
Q<T!
F
Z = I - T!
PD
+X
t
te r
P
R
as
-Z Q +Z
X
Z
nM
I
di
P...( ¥ M )
-X
a te
N50 G75 R
N55 G75 X... Z-... P... Q...
re
44
r
i to
TRAINING
G75(X directiion grooving : Peck drill cycle in turining)
G75 R(e) :
Ed
G75 X(u) Z(w) P( ¡ i) Q( ¡ k) R( ¡ d) F :
(R) A
∆i
F
(F)
PD
(R)
(F)
(R)
te r U/2
(F)
(R)
as
(F)
nM
(R)
(F)
∆Κ ∆d
X
W
Z (R) : Radius traverse
di
F : Cutting feedrate
45
r
i to
TRAINING
Ed
10 60
40
20
F
10
PD
Ø60
Ø80
N10 G50 S500 T0100 :
te r
as
G97 S_ M03 :
G00 X90.0 Z1.0 T0101 :
X82.0 Z-60.0 :
nM
G75 R1.0 :
G75 X60.0 Z-20.0 P3000 Q20000 F0.1 : ¡¸¡£
G00 X90.0
X200.0 Z200.0 T0100 :
M30 :
¡¯ While it has the same function with G74, X and Z are exchanged.
di
If there is one groove, volues of Z and P can be omitted at the same time.
a te
re
46
r
i to
TRAINING
G76
Ed
N50 G76 Pxx xx xx Q... R...
N55 G76 X... Z... R0 P... Q... F...
F
1
1
PD
Pxx (0 - 99)
..
n
te r
F
as
Pxx
a = F*( )
Ο 10
nM
45
Pxx (0 - 99)
a
di
α
a te
re
Pxx = 0 Pxx = α ( 80 , 60 , 55 , 30 , 29 )
47
r
i to
TRAINING
G76
Ed
N50 G76 Pxx xx xx Q... R...
N55 G76 X... Z... R0 P... Q... F...
F
R
PD
Q(Xmin)
Q ... ( µm )
te r Z
+X
as
F
nM
-Z +Z
X
di
a te
48
r
i to
TRAINING
G73(Compound type thread cutting cycle)
By G76 command, thread cutting cycle is possible.
Ed
FORMAT G76 P(m) (r) (a) Q(∆dmin) R(d)
G76 X(u) Z(w) R(i) P(k) Q(∆d) F(f)
F
(a) : Angle between threads Chanfering volume 1.0 lead omissible
Repeating time
PD
Q( §Edmin) : Min. cut volume(Example : Calculate as Q100=NC and process at least more
than 0.1 for processing of one time)-0.1(Decimal point is vot allowed)
te r
(Command the value of Outer diameter of thread-<height of threadx2>)
Z(w) : Z spindle coordinate at the end point of thread process
R(i) : For omitting, straight thread and R– : X+ and Taper thread
R+ : X– and Taper thread
as
P(k) : Height of thread(Omit the decimal point <Example>P900=0.9mm)
Q(d) : Initial cut volume (Omit the decimal point <Example>Q500=Designate) the radius
value
nM
Tool tip
a te
U/2 B
B
(F)
(R) a
∆d
∆d n
D 1st
∆d
2nd
K
r
k
i 3rd
nth
C
re
Z
d
w
X
49
r
i to
TRAINING
Ed
X
1.8
F
Ø60.64
PD
Ø68 Z
te r
25 105
as
G00 X80.0 Z130.0 :
1.8
,
G76 P011060 Q100 R200 :
3.68
G76 X60.64 Z25.0 P3680 Q1800 F6.0 ;
nM
,
PROGRAM
M30x2.0 T0100
di
M30
*
30
re
50
r
i to
TRAINING
(Exampal1) G76 Compound type thread cycle
Ed
M40x1.5
M20x1.5
F
PD
P=1.5
P=1.5 20
25
50
te r
PROGRAM
N10 G97 S800 M03
T0300
as
G00 X30.0 Z5.0 T0303
G76 P021060 Q100 R100
G76 X18.2 Z-20.0 P900 Q500 F1.5
nM
M30
*
a te
re
51
r
i to
TRAINING
G90
Ed
G00
G01
F
+X
PD
4 4
-Z
te r +Z
Ø25
as
nM
50
di
-X
a te
N1234 G90
N1235 G90 X41 Z-50
N1236 U-8
re
N1237 U-8
52
r
i to
TRAINING
G90 Fixed cycle
1) Single fixed cycle for cutting
Ed
FORMAT G90 X(U) Z(W) _R _F_ Taper cutting
X(U) : X coordinate at the tnd point of Z
Z(W) : End point
R- : When cutting from the start point to X+ direction
F
R+ : When cutting from the start point to X- direction
I/R : Inclination(Designate the radius value)
PD
G90X(U) Z(W) F ; G90X(U) Z(W) R F ;
X X
Z W
4(R)
U/2
U/2
3(F) 1(R)
2(F)
R
te r
X/2
Z Z W
X/2
Z
as
R... Rapid traverse
F... Cutting traverse specified by F code
W
Z Z
2(F)
4(R)
R
U/2
3(F) 1(R)
1(R)
U/2
3(F)
4(R)
R
2(F)
W
di
W
Z Z
4(R)
R
1(R)
2(F)
U/2
U/2
3(F) 3(F)
2(F) 1(R)
R
re
4(R)
W
53
r
i to
TRAINING
Exampal1) When the taper is R Example)
Ed
F
X X
PD
R
2 2
Ø60
Ø50
Ø30
Ø30
Ø40
Z Z
40 30
te r
as
PROGRAM PROGRAM
G30 U0 W0 : G30 U0 W0 :
X40.0 : X41.0 :
Z-12.0 R-1.75 : X36.0 :
Z-26.0 R-3.5 : X31.0 :
a te
54
r
i to
TRAINING
(Exampal1) G90 Fixed cycle
Ed
F
Ø20
Ø60
PD
te r
20
PROGRAM
X30.0
X25.0
X20.5
a te
X20.0
G00 X200.0 Z200.0 T0100
M30
ƒT
re
55
r
i to
TRAINING
(Exampal2) G90 Fixed cycle
Ed
Ø20
Ø50
Ø55
F
PD
20
40
te r
PROGRAM
ex1) ex2)
X40.0 X25.0
di
X35.0 X20.0
X25.0 M30
a te
X20.5
X20.0
G00 X200.0 Z200.0 T0100
M30
re
ƒT
56
r
i to
TRAINING
G92
Ed
G00
F
+X
G01
PD
P3 P0
te r
P1
P2
as
-Z +Z
40
nM
di
50
a te
-X
re
Ed
FORMAT G92 X(U) Z(W) _R_F_
F
R+ : When cutting from the start point to X- direction.
PD
I/R : Lead(pitch)
Note) Spindle override and feedrate override of cycle distance are disregarded.
te r
G92x(U) Z(W) F ; Lead(L) is specified G92x(U) _ Z(W)_ F_ ;
as
X
X
Z W
Z W
nM
U/2 4(R)
3(R)
4(R) 1(R)
3(R) 1(R) 2(F)
2(F)
R
X/2
X/2
Z Z
di
L L
a te
58
r
i to
TRAINING
Exampal1) When the taper is R Example) M50 x 1.5
Ed
F
F1.5 60
60
2 5 X
PD
6.166
(Ø50.666)
5
Z
Ø40
Ø50
Ø50
30 Z
30
te r
as
PROGRAM PROGRAM
G30 U0 W0 : G30 U0 W0 :
nM
X48.7 : X48.9 :
X48.5 : X48.7 :
- -
- -
a te
G30 U0 W0 : G30 U0 W0 :
M30 : M30 :
ƒT ƒT
re
59
r
i to
TRAINING
(Exampal1) G90 Fixed cycle
Ed
M30x1.5
P=1.5
F
PD
30
te r
as
PROGRAM
T0300
G00 X35.0 Z5.0 T0303
G92 X29.5 Z-32.0 F1.5
X29.2
X28.9
di
X28.7
:
G00 X200.0 Z200.0 T0300
a te
M30
ƒT
re
60
r
i to
TRAINING
(Exampal2) G92 thread cycle
Ed
M40x2.0
M20x2.0
F
PD
15
20 30
PROGRAM
te r
N10 G97 S1500 M03
T0300
G00 X30.0 Z5.0 T0303
as
G92 X19.5 Z-15.0 F2.0
X19.2
X18.9
nM
X18.6
X18.4
:
G00 X50.0
Z-25.0 S1000
di
X38.6
X38.4
G00 X200.0 Z200.0 T0300
M30
re
61
r
i to
TRAINING
G94
Ed
F
G00
PD
G01 +X
te r
as
-Z +Z
Ø25
nM
50
di
-X
a te
62
r
i to
TRAINING
G94 (Stock vemoval cycle in facing)
Ed
FORMAT G92 X(U) Z(W)_R_F_
F
PD
G94X(U) Z(W) F ; G90X(U) Z(W) R F ;
X
X
1(R)
2(F)
1(R)
U/2
4(R)
2(F) 4(R)
U/2
3(F)
3(F)
te r
X/2
X/2
Z W R W
Z Z
a
Z
as
R... Rapid traverse
F... Cutting traverse specified by F code
R W
Z Z
4(R) 3(F)
U/2
U/2
3(F) 1(R)
R
di
X X
R W
Z Z
1(R) 3(F)
U/2
2(F) 4(R)
2(F)
U/2
4(R)
1(R)
3(F)
re
R
W
63
r
i to
TRAINING
Exampal)
Ed
X
F
Ø83.5
Ø40
PD
Z
20 2
te r
PROGRAM
G30 U0 W0 :
as
G50 S2000 T0100 :
G96 S200 M03 :
G00 X85.0 Z2.0 T0101 M08 :
nM
Z–12.0 :
Z–14.0 :
Z–16.0 :
Z–18.0 :
a te
Z-19.7 :
Z–20.0 :
G30 U0 W0 :
M30 :
re
64
r
i to
TRAINING
(Exampal 1) G94 Stock removal cycle in facing
Ed
F
Ø15
Ø50
PD
8
te r
PROGRAM
M30
*
Telegram
a te
@siemensCNC
re
65
r
i to
TRAINING
(Exampal 2) G94 Stock removal cycle in facing
Ed
F
Ø12
Ø40
PD Ø80
10 7
te r
PROGRAM
ex1) ex2)
N10 G50 S2500 : N10 G50 S2500 :
as
G96 S180 M03 : G96 S180 M3 :
T0300 : T0300 :
G00 X85.0 Z2.0 T0303 : G0 X85.0 Z2.0 T0303 :
G94 X12.0 Z-2.0 F0.2 :
nM
Z-11.0 : Z-13.0 :
Z-13.0 : Z-15.0 :
Z-15.0 : Z-17.0 :
a te
66
r
i to
TRAINING
G96, G97(Constant travelling speed control ON, OFF)
Ed
G Code Constant travelling Meaning Unit
speed control
To control the travelling speed
G 96 ON m/min
constantly
Designate the rotating time of
G 97 OFF rpm
main spindle
F
Example) G96 S100 :
PD
Cutting speed is 100m/min
G97 S100 :
Rotating time of main spindle is 100rpm
G98, G99(Feedrate selection)
te r
G GODE Meaing Unit
However, unless there is the G98 command, N.C unit is always in G99 condition.
Therefor it is not necessary to command G99 seperately.
di
a te
re
67
r
i to
TRAINING
<Calculation formular of bite noser>
Ed
b
∗ Calculation formular of compensation volume
α
a = r(1–tan 2 )
β
α
a β
b = r(1–tan )
F
2
r = Rvalue of bite
PD
Example)
Bite Nose a b
te r
Ø60
Ø30
23.8
20 23
20
80
17.8
as
O0035 :
N10 G50 S1500 T0100 : 17
Ø34.4
Ø52.4
Ø36
Ø30
N20 G50 S2000 T0303 : Ø54
nM
3-0.8=R2.2
G01 X30.0 Z-1.468 F0.17 :
Z-17.8 :
G02 X34.4 Z-20.0 R2.2 :
a te
G01 X52.4 :
G03 X60.0 Z-23.8 R3.8 : Concave R = R–r
G01 Z-80.0 :
Convex R = R+r
R : Circumference R
G00 X150.0 Z150.0 :
r : Bite r
re
T0300 :
M30 :
68
r
i to
TRAINING
Example) PROGRAM
Ed
0O
R1 C
A
F
B
PD
Ø70
Ø60
55
75
CB = (70 – 60) ÷ 2 = 5
te r
as
OC = R10 – 5 = 5
AO = 10
AC = (AO)2 – (OC)2 28.66
55 – 8.66 = 46.34
nM
I10.0
G01 Z-75.0
a te
re
69
r
i to
TRAINING
Example) PROGRAM
80
Ed
F
30
D R5
F
a
B
C B E F
PD
E G C A
a
R3 20
D
te r
Ø100
Ø60
Ø30
EF = (100 – 60) ÷ 2 = 20 BF = 20° tan x 15 = 5.45955
as
OC = 20 x 30 tan = 11.547 α = (180 – 70) ÷ 2 = 55°
α = (180 – 60) ÷ 2 = 60° BC = 3 x 35° tan = 2.1
AC = BC AC = AB
AC = 2.887 x 60° sin = 2.5
nM
Z=0
70
r
i to
TRAINING
Ed
O'
E R3
0
R3
O"
E
J D
C
F
A
ø78 ø50
H R30
30 ø10
G F O B
PD
A
1) 30
5 (OB)2 = (OA)2- (AB)2 = (30)2 - (5)2 = 875 = 29.58
0
(29.58) B
C OC = 30, CF = 25 OF = (50)2 - (25)2 = 16.583
2)
te r
25
30 COF = SIN COF = 25 = 56.442O
50
COF = O'CD
F (16.583) O
COF = O'CD
as
C
30 CF = O'D O'D = 25
25
0 DH = O'H - O'D = 30 - 25 = 5 6D = 25
F
nM
O' of X 50 + 25 + 25 = 100
O" of X 78 - 6 = 72
(100-72)
O' E = = 14 O"O' = 3 + 30 = 33
2
O'E = 14
di
O'
33
14 O"E = 332 - 142 = 29.883
O" E
E of Z 62.746 + 29.883 = 92.629
a te
O
25.1027
O" J O"J = COS 25.1027 X 3 = 2.7166
71
r
i to
TRAINING
(Example 1)
Ed
Process Facing process, Outside diameter process
Dimension ø 45 x 60L
Material S45C
F
PD
4-C1
te r
Ø10
Ø20
Ø30
Ø40
Ø45
as
15 10 10 10
60
nM
72
r
i to
TRAINING
(Example 2)
Ed
Process Facing process, Outside diameter taperprocess
Dimension ø 70 x 100L
Material S45C
F
C1 C2
PD
te r
Ø30
Ø50
Ø60
Ø70
as
nM
20 40 20
100
73
r
i to
TRAINING
(Example3)
Ed
Process Facing process, Outside diameter taper process(Chamfering, R process)
Dimension ø 60 x 75L
Material S45C
F
C1 R2 C2
PD
te r
Ø20
Ø30
Ø40
Ø50
Ø60
as
nM
15 30 15
75
74
r
i to
TRAINING
(Example4)
Ed
Process Facing process, Outside diameter(Groove process, Chamfering R process)
Dimension ø 70 x 70L
Material S45C
F
R5 4-C1
PD
3
2
3
2
te r
Ø20
Ø30
Ø50
Ø60
Ø70
as
nM
15 15 15 10
70
PCLNR/L Stock removal PCLNR/L Stock removal PCLNR/L Stock removal + Finishing
PCLNR/L–1 Finishing PCLNR/L–1 Finishing PCLNR/L–1
re
75
r
i to
TRAINING
(Example5)
Ed
Process Facing process, Outside diameter(Groove process, Chamfering R process, Thread process)
Dimension ø 90 x 80L
Material S45C
C1.5
F
R3
PD
C2 C2
Ø30
Ø40
Ø60
Ø80
Ø90
te r
as
5 10 20 25
nM
80
76
r
i to
TRAINING
(Example6)
Ed
Process Facing process, Outside diameter(Groove process, Thread process, Relief)
Dimension ø 65 x 88L
Material S45C
F
M42 2.0 M42 2.0
+
C1
PD
2-C1.5
R2
Ø36
Ø42
Ø55
Ø65
te r
as
10 40 15
nM
85
77
r
i to
TRAINING
(Example7)
Ed
Process Outside diameter R process
Dimension ø 80 x 120L
Material S45C
F
PD
R3
R6
R13
R16
Ø80
Ø77
te r
as
5.66
nM
5 31 5 25.3 5 11.2 5 5
120
78
r
i to
TRAINING
(Example8)
Ed
Process Outside diameter circumference process
Dimension ø 82 x 120L
Material S45C
F
R3
PD
0
R3
0
R3
te r
Ø82
Ø78
Ø50
Ø10
as
nM
5
120
79
r
i to
TRAINING
(Example9)
Ed
Process Outside diameter(Groove process, Thread process, Chamfering R process)
Dimension ø 60 x 110L
Material S45C
C1
F
3
R3
PD
C3
R10 C0.5 C1.5
3
3
3
Ø20
Ø40
Ø60
te r
as
20 20 20 15 15
nM
105
80
r
i to
TRAINING
(Example10)
Ed
Process Outside diameter process, Inside diameter process
Dimension ø60 x 110L
Material S45C
F
20 25
PD
te r
105
as
Ø20
Ø30
Ø40
Ø50
Ø70
Ø80
Ø90
10 10 10
nM
60
81
r
i to
TRAINING
(Example11)
Ed
Process Outside diameter process, Inside diameter process
Dimension ø110 x 75L x ø25(Pipe)
Material S45C
F
C1
PD
R1
C1
C1
C1
te r
Ø105
Ø110
Ø25
Ø30
Ø40
Ø50
Ø70
Ø90
as
10 10 10
70
nM
82
r
i to
TRAINING
(Example12)
Ed
Process Outside diameter process, Inside diameter process
Dimension ø 110 x 75L x ø 25(Pipe)
Material S45C
F
10 20 15 15
C1
PD
C0.5
R5 C1
3
C0.5 C1
3
3
3
te r
R2
as C1
Ø100
Ø110
Ø115
Ø20
Ø25
Ø40
Ø50
Ø80
Ø85
15 15 12
nM
75
83
r
i to
TRAINING
(Example13)
Ed
Process Outside diameter process, Inside diameter process(Chamfering, R, Groove)
Dimension ø90 x 60L x ø20(Pipe)
Material S45C
35
F
PD
3 R3
C1
2
C1 C1
R2
te r
Ø20
Ø25
Ø40
Ø50
Ø80
Ø90
5 10 20
as
55
84
r
i to
TRAINING
(Example14)
Ed
Process Outside diameter process(Chamfering, R, Groove, Thread, Relief process)
Dimension ø110 x 90L x ø20(Pipe)
Material S45C
20 15 10 25 M8 2.0
F
+
3-C1.5
PD
R2
1
1 3
3 3
3
M50 1.5
+
3
3
4-C1
te r
R2 M40 1.5
+
Ø100
Ø105
Ø110
Ø20
Ø25
Ø35
Ø40
Ø50
Ø80
Ø88
10 10 15 15
as
90
Inside diameter Groove process Vutsude diameter relief process Outside diameter Groove process
PCLNR/L–1 Finishing
85
r
i to
TRAINING
Calesslating table of trigonometric function
Ed
C = A+B
2 2 B B = A-C
2 2
Sin D = E = 90°−E
A
A A A
E
B
90° 90° D 90° 90°
D
F
C C
C B
Sin E = D = 90°−E A = B+C tan D =
A C
PD
A A
E E
B
90° 90° 90° 90°
D D
C C C
B
B
90°
te r
90° 90° 90°
D D
C C
A= C C=BxcotD A= B A=BxtanE
SinD cosE
A A
E E
as
B
B
90° 90° 90° 90°
D D
C C
A= C B=CxtanD A= C B=CxcotE
cosD SinE
A A
nM
E E
B
B
D D D D
F
di
F E E E
A A
AxSinE SinF =
BxSinD E=180°-(D+F)
F=180°-(D+E) C = SinD A
B
C
a te
D D D D
F E E F F E
A A
B-SinF
AxBxSinE cosD = C+B+A SinD = F=180°-(D+E)
2 2BC A
B
B B
D
C
D D
re
E F F E
A A A
86
r
i to
TRAINING
FORMULA
1. The puthagorean theorem
Ed
C2 = A2 + B2 C = A2 + B2
C
B A2 = C2 – B2 A = C2 – B2
B2 = C2 – A2 B = C2 – A2
F
A
PD
2. Trigonometric function
C
B SINα° = B , COSα° = A , TANα° = B
C C A
α°
te r
A A = C × COSα° A= B
TANα°
B = C × SINα° B = A × TANα°
C= B C= A
SINα° COSα°
3. SIN law
as
When finding the length of the two sides(Oneside and two angles are known)
When finding the other angle(Two sides and one angle are know)
nM
γ°
A B A = B = C
SINα° SINβ° SINγ°
β° α°
C
di
4. COS law
When finding the other side(Two sides and one angle are known)
When finding the other angle(Lengthsof three sides are known)
a te
α° 2 2 2
A2 = B2 + C2 – 2B.C COSα° COSα° = B + C – A
C B 2BC
2 2 2
B2 = C2 + A2 – 2C.A COSβ° COSβ° = C + A – B
2CA
2
B2 – C2
re
87
r
i to
TRAINING
♠ DECHNICAL GUIDE
Ed
CALCULATING FORMULA
¥. D. L x 60 Cutting length x 60
♠ Drocess time(sec/ea) = = = sec
100V x F Arerage of rotating time
♠ Output(8Hrs/day) = 8Hrs x 60 x 60 = ea
F
Required time per unit
PD
Object time x Quantity to be processed
♠ Required day for process = 8 x 60 =Day
60
te r
♠ Surface roughress = Feed volume x 1000 = R.t µm
2
8 x NOSER
∠ FINISHING V = 720
F = 0.1~0.3
t = 0.5~2.0
a te
∠ LIGHT V = 600
ROUGHING F = 0.2~0.5
t = 2.20~4.0
re
88
r
i to
TRAINING
Cutting condition
1. Cutting condition
Ed
Depth of cutting Cutting speed Feedrate
Material Classification Material of tool
d(mm) v (m/min) F (mm/rev.)
Carbon steel Stock vemoval 3~5 180 ~ 200 0.3 ~ 0.4 P 10 ~ 20
60kg/mm
2~3 200 ~ 250 0.3 ~ 0.4 P 10 ~ 20
F
(Tensile
strength) Finishing 0.2 ~ 0.5 250 ~ 280 0.1 ~ 0.2 P 01 ~ 10
PD
Thread 124 ~ 125 P 10 ~ 20
te r
Alloy steel Stock removal 3~4 150 ~ 180 0.3 ~ 0.4 P10 ~ 20
140kg/mm 2
Grooving 60 ~ 90 ~ 0.15 P 10 ~ 20
89
r
i to
TRAINING
2. Cutting time of thread process(For thread precessing with the S 45 C)
Ed
H/8
0.072P
R H1 H2 H
F
P
H/4
PD
PITCH P1.0 1.0 1.25 1.5 1.75 2.0 2.5 3.0 3.5 4.0 4.5 5.0
CUTTING DEPT H2 0.6 0.74 0.89 1.05 1.19 1.49 1.79 2.08 2.38 2.68 2.98
CORNER ROUND R 0.07 0.09 0.11 0.13 0.14 0.18 0.22 0.25 0.29 0.32 0.36
te r
1 0.25 0.30 0.30 0.30 0.30 0.30 0.35 0.35 0.35 0.40 0.45
2 0.20 0.20 0.20 0.25 0.25 0.28 0.30 0.35 0.35 0.35 0.35
3 0.10 0.11 0.14 0.16 0.20 0.24 0.26 0.30 0.30 0.30 0.32
as
4 0.05 0.08 0.12 0.12 0.14 0.20 0.22 0.25 0.26 0.28 0.30
5 0.05 0.08 0.10 0.11 0.15 0.18 0.20 0.23 0.25 0.25
SCREW
7 0.05 0.06 0.09 0.10 0.12 0.17 0.20 0.20
CUTTING
8 0.05 0.07 0.08 0.10 0.14 0.15 0.17
NUMBER OF
9 0.05 0.07 0.08 0.10 0.12 0.15
TIMES
10 0.05 0.05 0.10 0.10 0.15
di
14 0.05 0.06
15 0.05 0.06
re
90
r
i to
TRAINING
Ed
+X
F
PD
-Z M W +Z
te r
as
WORK SHIFT VALUE
nM
-X
di
7 8 9
RESET ALTER
OFFSET / GEOMETRY O1000 N0000 O N G
NO. X Z T R
10.000 1.000 0.000 4 5 6
G 01 0 INSRT
X Y Z
G 02 1.486 -49.561 0.000 0 CURSOR
G 03 1.486 -49.561 0.000 0 1 2 3
G 04 0.000 0.000 0.000 DELET
a te
0 H F R
G 05 1.486 -49.561 0.000 0
G 06 1.486 -49.561 0.000 – 0 . / #
0
M S T EOB
G 07 1.486 -49.561 0.000 0
G 08 1.486 -49.561 4t h K Q
ACT. POSITION(RELATIVE) J NO. CAN
B I P
U 0.000 W 0.000
PAGE
NUM. MZ 120. S MDI 0T
MENU
POS PRGRM INPUT
OFSET
WEAR GEOM W.SHIFT MRCRO
DGNOS OPR AUX OUTPT
PARAM ALARM GRAPH START
re
91
r
i to
TRAINING
Ed
7 8 9
RESET ALTER
O N G
WORK SHIFT
4 5 6
(SHIFT VALVE) X Y Z
INSRT
CURSOR
X 0.000
1 2 3
Z 23.061 H F R
DELET
ACT. POSITION(RELATIVE) – 0 . / #
M S T EOB
U 0.000
F
4t h K Q
J NO. CAN
B I P
ADRS.
PAGE
MDI
MENU
POS PRGRM INPUT
OFSET
WEAR GEOM W.SHIFT MRCRO
PD
DGNOS OPR AUX OUTPT
PARAM ALARM GRAPH START
te r
1.Return to the reference manually.
2. Install the work piece to the JAW and move the TURRET to appropriate position, and then pre-
pare the basic tools to work.
as
3. On the section of material, TOUCH of process in facing the basic tool
∴At this, it is absolutely not allowed to move the Z spindle.
4. Select WORK/SHIFT screen.
nM
PAGE
PAGE
92
r
i to
TRAINING
Offs.
Ed
+X
F
PD
-Z +Z
te r
as
60
nM
80
-X
di
7 8 9
RESET ALTER
OFFSET / GEOMETRY O1000 N0000 O N G
NO. X Z T R
10.000 1.000 0.000 4 5 6
G 01 0 INSRT
X Y Z
G 02 1.486 -49.561 0.000 0 CURSOR
G 03 1.486 -49.561 0.000 0 1 2 3
G 04 0.000 0.000 0.000 DELET
a te
0 H F R
G 05 1.486 -49.561 0.000 0
G 06 1.486 -49.561 0.000 – 0 . / #
0
M S T EOB
G 07 1.486 -49.561 0.000 0
G 08 1.486 -49.561 4t h K Q
ACT. POSITION(RELATIVE) J NO. CAN
B I P
U 0.000 W 0.000
PAGE
NUM. MZ 120. S MDI 0T
MENU
POS PRGRM INPUT
OFSET
WEAR GEOM W.SHIFT MRCRO
DGNOS OPR AUX OUTPT
PARAM ALARM GRAPH START
re
93
r
i to
TRAINING
Ed
7 8 9
RESET ALTER
OFFSET / GEOMETRY O1000 N0000 O N G
NO. X Z T R
0.000 0.000 0.000 4 5 6
G 01 0 INSRT
X Y Z
G 02 0.000 0.000 0.000 0 CURSOR
G 03 0.000 0.000 0.000 0 1 2 3
G 04 0.000 0.000 0.000 DELET
0 H F R
G 05 0.000 0.000 0.000 0
G 06 0.000 0.000 0.000 – 0 . / #
0
M S T EOB
G 07 0.000 0.000 0.000 0
F
4t h K Q
ACT. POSITION(RELATIVE) J NO. CAN
B I P
U 0.000 W 0.000
PAGE
NUM. MZ 120. S MDI 0T
MENU
POS PRGRM INPUT
OFSET
PD
WEAR GEOM W.SHIFT MRCRO
DGNOS OPR AUX OUTPT
PARAM ALARM GRAPH START
te r
Z axis OFFSET
1. After selecting OFFSET screen
CURSOR
5
M W Z DATA MEASURE INPUT
After input as above, Z value of OFFSET selected by the cursor is automatically input, but the
basic tool becomes “ 0 ”(zero). If another value is given, start from the begining again.(Work shift
end)
X axis OFFSET
a te
3. Continuously, process the outside diameter with the basic tool, and retreat the Z spindle to +
direction(right hand), stop rotating, then measure the processed outside diameter(Xvalue). If the
measured value is ø52.34, the position of tool is X52.34 therefor, input the X value.
5
M Z DATA MEASURE INPUT
re
5 2 ¡⁄ 3 4
94
r
i to
TRAINING
∗ As you input with above method, X value on OFFSET screen is automatically input.
Ed
4. prepare another tool which you want to OFFSET to the work position.
6. If you input with the same method as finding the OFFSET value of Z spindle written previously, Z
OFFSET value of this tool is autonatically input. (Difference of length compared with the basic
F
tool)
PD
8. For all other tools, OFFSET with repeating above method(1~3).
(Attention)
te r
2. For the drill and a kind of center drill, input only the OFFSET of Z spindle, leave the X value as
“ 0 ”.
3. Above explanation to find the value of OFFSET is the method when input only the Z value on
WORK/SHIFT screen.
as
If you input the X axis with the Z axis on WORK/SHIFT screen, you should input the OFFSET
value of X spindle for all tools which are processed in the center of main spindle like the drill
nM
5. If you OFFSET with above method with using the function of tool measure, you don,t have to
Example)
O 3333 :
O 3334 :
95
r
i to
TRAINING
M-FUNCTION
Ed
M00 : PROGRAM STOP
When M00 is commanded in automatic operation mode(MDI or MEM mode), the automatic oper-
ation will stop after completion of the command in the block containing M00.
When the machine is stopped by M00 code. Manual operation can be done if the mode selector
switch is turned to JOG position.
To restart cycle, select the mode selector switch to previous automatic operation mode and then
F
depress the CYCLE START button.
NOTE1)
PD
Spindle stops after completion of M00, then chuck open-close can be done by manual without
changing the MODE.
M01 : OPTIONAL STOP
This command is used to stop the machine temporarily by slash(/) and check workpiece at the
end of each tool operations. OPTIONAL STOP switch(toggle switch) is used to selection this
code.
M02 : END OF PROGRAM
te r
This code is used in the last block of chucking work part program to end the program.
When this code occurs during the automatic operation of the machine, the program returns to
the head after performing the other command in the block, the control is reset, this automatic
mode ends and the machine stop.
as
M03 : MAIN-SPINDLE FORWARD DIRECTION
Specifies to start the main spindle rotation in counterclockwise direction. S code should be spec-
ified in the same block or previous.
If M03 code is specified when the chuck is open, the sequence error will occur.
M04 : MAIN-SPINDLE REVERSE DIRECTION
nM
Specifies to start the main spindle rotation in clockwise direction. S code should be specified in
the same block or previous.
If M04 code is specified when the chuck is open, the sequence error will occur.
M05 : MAIN-SPINDLE STOP
Specifies to stop the main spindle rotation. Even M05 is specified, the command spindle speed
remains effective. Therefore, if M03 or M04 is specified again, the spindle will rotate by the same
di
Specifies to start the coolant pump. The coolant pump will start when the COOLANT switch on
the operating panel is set to ON position.
M09 : COOLANT OFF
Specifies to stop the high pressure coolant pump and coolant pump.
M10: PART CATCHER1 ADVANCE (optional)
re
96
r
i to
TRAINING
Ed
This command moves the part catcher1 retract.
M13 : AIR BLOW FOR TURRET (optional)
Air blow for turret when M13 is commanded.
M14 : AIR BLOW FOR MAIN SPINDLE (optional)
Air blow for main spindle when M14 is commanded.
F
M15 : AIR BLOW OFF (optional)
Air blowing stops.
PD
This command is available on M13, M14.
M17 : MACHINE LOCK ON
Specifies to machine lock on. This command is specified only MDI mode.
M18 : MACHINE LOCK OFF
Specifies to machine lock off. This command is specified only MDI mode.
te r
M19 : MAIN- SPINDLE ORIENTATION (optional)
This code stops main-spindle at fixed angle.
M19 Sxxx : Main-spindle multi orientation (ORIENTATION “B”)
When M19 code and S code should be specified in the same block, the spindle stops position is
determined by S code.
as
M24 : CHIP CONVEYOR RUN (optional)
Specifies to run the chip conveyor.
M25 : CHIP CONVEYOR STOP (optional)
Specifies to stop the chip conveyor.
nM
97
r
i to
TRAINING
M38 : STEADY REST CLAMP(optional-right side), M58 : STEADY REST CLAMP(optional-left side)
Ed
Specifies to clamp the steady rest.
M39 : STEADY REST CLAMP(optional-right side), M59 : STEADY REST CLAMP(optional-left side)
Specifies to unclamp the steady rest.
M40 : GEAR CHANGE NEUTRAL
M41 : GEAR CHANGE LOW
F
M42 : GEAR CHANGE MIDDLE
M43 : GEAR CHANGE HIGH
PD
Specifies to change the each gear range.
M46 : Prog. TAIL STOCK BODY UNCLAMP & TRACTION BAR ADVANCE (optional)
Simultaneous start of prog. Tail stock body unclamp and traction bar retract with this
command.
M47 : Prog. TAILSTOCK BODY CLAMP & TRACTION BAR RETRACT (optional)
te r
Simultaneous start of prog. Tail stock body clamp and traction bar advance with this
command.
M50 : BAR FEEDING (optional)
When automatic bar feeder is attached, feed of material is performed.
as
M52 : SPLASH GUARD DOOR OPEN (optional)
The splash guard is opened with this command.
M53: SPLASH GUARD DOOR CLOSE (optional)
nM
500 rpm(18.5kw)
M62 : SWITCHING HIGH SPEED (only aP60)
M62 is used to high speed rpm( -CONNECTION). 750 ˜ 4500 rpm(22kw)
M63 : MAIN-SPINDLE CW & COOLANT ON
a te
Spindle reverse and coolant are preformed by one(M64) command. Coolant comes out
only when operation panel switch is “on”.
98
r
i to
TRAINING
Ed
M65 : MAIN-SPINDLE & COOLANT STOP
Stop of main-spindle rotation, coolant is stopped by one command.
M66 : DUAL CHUCKING LOW CLAMP (optional)
Main-chuck is closed by low pressure.
M67 : DUAL CHUCKING HIGH CLAMP (optional)
F
Main-chuck is closed by high pressure.
M68 : MAIN-SPINDLE CLAMP
PD
Specified to open the main-chuck automatically such as bar work.
M69 : MAIN-SPINDLE UNCLAMP
Specified to close the main-chuck automatically such as bar work.
M70 : DUAL TAILSTOCK LOW ADVANCE (optional)
Tailstock bar is advanced by low pressure.
te r
M74 : ERROR DETECT ON
When M74 is in effect, the control proceed to the next block regardless of the pulse lag of
servo between block for liner and circular interpolation except positioning (G00).
The permits the machine to move smoothly between blocks.
as
However, the corner of the workpiece may not be quite sharp.
M74 command is modal, and it will remain effective until M75 is command.
M75 : ERROR DETECT OFF
Specifies to release the state of error detection ON. When the power is turned on, M75
will be in effect, and it will remain effective until M74 is command.
nM
M76 : CHAMFERING ON
When M76 is specified before the command of thread cutting cycle G76 or G92, the
threading tool will pull out at the terminating thread portion.
M77 : CHAMFERING OFF
Cancel the command of pull out threading function which as specified by M77 code.
di
99
r
i to
TRAINING
Ed
M82 : MIRROR IMAGE ON
Specifies to mirror image on.
M83 : MIRROR IMAGE OFF
Specifies to mirror image off.
M84 : TURRET CW ROTATION
F
This code is used to switch the direction of turret indexing to CW when it is set in the
automatic selection mode.
PD
As this code is as non-modal code, it should be used in the same block the T-code.
M85 : TURRET CCW ROTATION
The turret indexes in clockwise by specifying M85 in the same block of T-code.
This M85 is a non-modal code.
M86 : TORQUE SKIP ACT
This code is used to skip the torque of moving axis.
te r
As this code is a modal code until M87 command, only valid the sub-spindle with B-axis.
EX) G00 B-500.0 ;
M86 ;
G98 G31 P99 V-20.0 F100.0 ;
G01 B-500.0 ;
M87 ;
as
M87 : TORQUE SKIP CANCEL
This code is used to cancel torque skip function of M86.
M88 : C-AXIS LOW CLAMP
nM
100
r
i to
TRAINING
Ed
M103 : SUB-SPINDLE FORWARD DIRECTION
Specifies to start the sub spindle rotation in counterclockwise direction. S code should
be specified in the same block or previous.
If M103 code is specified when the sub-chuck is open, the sequence error will occur.
M104 : SUB-SPINDLE REVERSE DIRECTION
Specifies to start the sub spindle rotation in clockwise direction. S code should be speci-
F
fied in the same block or previous.
If M04 code is specified when the sub-chuck is open, the sequence error will occur.
PD
M105 : SUB-SPINDLE STOP
Specifies to stop the sub spindle rotation. Even M05 is specified, the command spindle
speed remains effective. Therefore, if M103 or M104 is specified again, the spindle will
rotate by the same speed as the previous speed.
M110 : PART CATCHER2 ADVANCE (optional)
This command moves the part catcher2 advance.
te r
M111 : PART CATCHER2 RETRACT (optional)
This command moves the part catcher2 retract.
M114 : AIR BLOW FOR SUB SPINDLE (optional)
Air blow for sub spindle when M114 is commanded.
as
M119 : SUB-SPINDLE ORIENTATION (optional)
This code stops sub-spindle at fixed angle.
M119 Sxxx : sub-spindle multi orientation (ORIENTATION “B”)
When M19 code and S code should be specified in the same block, the spindle tops
nM
101
r
i to
TRAINING
Ed
M169 : SUB-SPINDLE UNCLAMP
Specified to close the sub-chuck automatically such as bar work.
M203 : FORWARD SYNCHRONOUS COMMAND
Main and sub spindle start simultaneously for forward rotation.
It is synchronized with forward rotation of main and sub spindle.
F
M204 : REVERSE SYNCHRONOUS COMMAND
Main and sub spindle start simultaneously for reverse rotation.
It is synchronized with reverse rotation of main and sub spindle.
PD
M205 : SYNCHRONOUS STOP
The synchronous rotation of main and sub spindle is stop.
M206 : SPINDLE ROTATION RELEASE
Specified to release the speed control of main and sub spindle.
If you want to the main and sub spindle is rotate by difference rpm, M206 is commanded before
S-code. Spindle override on operating panel valid last selected spindle.
te r
EX) M03 S1000 ;
M206 ;
M103 S500 ; as
nM
di
a te
re
102