Wuhan Huazhong Numerical Control Co., Ltd HNC-18xp/T, HNC-19iT v4.0, HNC-21T, HNC-22T, HNC-18iT Programming Manual

...
Century
Century
Century
Century Star
Star
Star
Star Turning
Turning
Turning
Turning CNC
CNC
CNC
System
System
System
Programming
Programming
Programming
Programming Guide
Guide
Guide
Guide
V
V
V
V 3.3
November,
November,
November,
November, 2007
Wuhan
Wuhan
Wuhan
Wuhan Huazhong
© 2007 Wuhan Huazhong Numerical Control Co., Ltd
Huazhong
Huazhong
Huazhong Numerical
Numerical
Numerical
Numerical Control
3.3
3.3
3.3 2007
2007
2007
Control
Control
Control Co.,
Co.,
Co.,
Co., Ltd
Ltd
Ltd
Ltd

Preface

Preface
Preface
Preface
Preface
Organization
Organization
Organization
Organization of
1. General
2. Preparatory Function
3. Interpolation Function
4. Feed Function
5. Coordinate System
6. Spindle Speed Function
7. Tool Function
8. Miscellaneous Function
9. Functions to Simplify Programming
10. Comprehensive Programming Example
11. Custom Macro
Applicability
Applicability
Applicability
Applicability
This Programming Guide is applicable to the following CNC system:
HNC-18iT/19iT v4.0
of
documentation
of
documentation
of documentation
documentation
HNC-18xp/T
HNC-19xp/T
HNC-21TD/22TD v05.62.07.10
Internet
Internet
Internet
Internet Address
http://www.huazhongcnc.com/
Address
Address
Address
i
Table of Contents
Table
Table
Table
Table of
Preface ............................................................................................................................................. i
1 General ................................................................................................................................... 1
2 Preparatory Function (G code) ............................................................................................. 21
3 Interpolation Functions ......................................................................................................... 24
4 Feed Function ....................................................................................................................... 49
5 Coordinate System ................................................................................................................ 53
of
Contents
of
Contents
of Contents
Contents
1.1 CNC Programming ..................................................................................................... 2
1.2 Interpolation ................................................................................................................ 4
1.2.1 Linear Interpolation ........................................................................................ 4
1.2.2 Circular Interpolation ...................................................................................... 5
1.2.3 Thread Cutting ................................................................................................ 5
1.3 Feed Function ............................................................................................................. 6
1.4 Coordinate System ...................................................................................................... 7
1.4.1 Reference Point ............................................................................................... 7
1.4.2 Machine Coordinate System ........................................................................... 8
1.4.3 Workpiece Coordinate System ........................................................................ 9
1.4.4 Setting Two Coordinate Systems at the Same Position ................................ 10
1.4.5 Absolute Commands ..................................................................................... 11
1.4.6 Incremental Commands ................................................................................ 12
1.4.7 Diameter/Radius Programming .................................................................... 13
1.5 Spindle Speed Function ............................................................................................ 14
1.6 Tool Function ............................................................................................................ 15
1.6.1 Tool Selection ............................................................................................... 15
1.6.2 Tool Offset .................................................................................................... 15
1.7 Miscellaneous Function ............................................................................................ 18
1.8 Program Configuration ............................................................................................. 19
1.8.1 Structure of an NC Program ......................................................................... 19
1.8.2 Main Program and Subprogram .................................................................... 20
2.1 G code List ................................................................................................................ 22
3.1 Positioning (G00) ..................................................................................................... 25
3.2 Linear Interpolation (G01) ........................................................................................ 26
3.3 Circulation Interpolation (G02, G03) ....................................................................... 31
3.4 Chamfering and Rounding (G01, G02, G03) ............................................................ 37
3.4.1 Chamfering (G01) ......................................................................................... 37
3.4.2 Rounding (G01) ............................................................................................ 38
3.4.3 Chamfering (G02, G03) ................................................................................ 40
3.4.4 Rounding (G02, G03) ................................................................................... 41
3.5 Thread Cutting with Constant Lead (G32) ............................................................... 43
3.6 Tapping (G34) ........................................................................................................... 46
4.1 Rapid Traverse (G00) ............................................................................................... 50
4.2 Cutting Feed (G94, G95) .......................................................................................... 51
4.3 Dwell (G04) .............................................................................................................. 52
5.1 Reference Position Return (G28) .............................................................................. 54
5.2 Auto Return from Reference Position (G29) ............................................................ 55
5.3 Setting a Workpiece Coordinate System (G92) ........................................................ 57
5.4 Selecting a Machine Cooridinate System (G53) ....................................................... 58
5.5 Selecting a Workpiece Coordinate System (G54~G59) ............................................ 59
5.6 Origin of a Workpiece Coordinate System (G51, G50) ............................................ 61
5.7 Absolute and Incremental Programming (G90, G91) ............................................... 62
ii
Table of Contents
5.8 Diameter and Radius Programming (G36, G37) ...................................................... 64
5.9 Inch/Metric Conversion (G20, G21) ......................................................................... 66
6 Spindle Speed Function ........................................................................................................ 67
6.1 Limit of Spindle Speed (G46) ................................................................................... 68
6.2 Constant Surface Speed Control (G96, G97) ............................................................ 69
7 Tool Function ........................................................................................................................ 71
7.1 Tool Selection and Tool Offset (T code) ................................................................... 72
7.2 Tool Radius Compensation (G40, G41, G42) ........................................................... 74
8 Miscellaneous Function ........................................................................................................ 76
8.1 M code List ............................................................................................................... 77
8.2 CNC M-Function ...................................................................................................... 78
8.2.1 Program Stop (M00) ..................................................................................... 78
8.2.2 Optional Stop (M01) ..................................................................................... 78
8.2.3 End of Program (M02) .................................................................................. 78
8.2.4 End of Program with return to the beginning of program (M30) ................. 78
8.2.5 Subprogram Control (M98, M99) ................................................................. 79
8.3 PLC M Function ....................................................................................................... 81
8.3.1 Spindle Control (M03, M04, M05) ............................................................... 81
8.3.2 Coolant Control (M07, M08, M09) .............................................................. 81
9 Functions to Simplify Programming .................................................................................... 82
9.1 Canned Cycles .......................................................................................................... 83
9.1.1 Internal Diameter/Outer Diameter Cutting Cycle (G80) .............................. 83
9.1.2 End Face Turning Cycle (G81) ..................................................................... 88
9.1.3 Thread Cutting Cycle (G82) ......................................................................... 91
9.1.4 End Face Peck Drilling Cycle (G74) ............................................................ 94
9.1.5 Outer Diameter Grooving Cycle (G75) ........................................................ 96
9.2 Multiple Repetitive Cycle ......................................................................................... 98
9.2.1 Stock Removal in Turning (G71) .................................................................. 98
9.2.2 Stock Removal in Facing (G72) ................................................................. 104
9.2.3 Pattern Repeating (G73) ............................................................................. 108
9.2.4 Multiple Thread Cutting Cycle (G76) ......................................................... 111
10 Comprehensive Programming .................................................................................... 114
10.1 Example 1 ............................................................................................................... 114
10.2 Example 2 ............................................................................................................... 116
10.3 Example 3 ............................................................................................................... 118
10.4 Example 4 ............................................................................................................... 119
11 Custom Macro .................................................................................................................... 120
11.1 V ariables ................................................................................................................. 121
11.1.1 Type of Variables ........................................................................................ 121
11.1.2 System Variables ........................................................................................ 122
11.2 Constant .................................................................................................................. 129
11.3 Operators and Expression ....................................................................................... 130
11.4 Assignment ............................................................................................................. 131
11.5 Selection statement
IF,
ELSE,ENDIF ..................................................................... 132
11.6 Repetition Statement WHILE, ENDW ................................................................... 133
11.7 Macro Call .............................................................................................................. 134
11.8 Example .................................................................................................................. 136
iii
1. General
1

General

1
General
1
1 General
General
This chapter is to introduce the basic concepts in Computerized Numerical Control (CNC)
system: HNC-21T /22
T,
HNC-18iT/19iT, HNC-18xp/
T
, HNC-19xp/
T
.
1
1.1
CNC
1.1
CNC
1.1
1.1 CNC

CNC Programming

To
operate CNC machine tool, the first step is to understand the part drawing and produce a
program manual script. The procedure for machining a part is as follows (Figure 1.1):
1) Read drawing
2) Produce the program manual script
3) Input the program manual script by using the machine control panel
4) Manufacture a part
Programming
Programming
Programming
1. General
2
1. Read drawing
X
1. General
Φ60
Φ40
4 0
1 50
2. Produce the program manual script
N1 T0106 N2 M03 S460 N3 G00 X90Z20 N4 G00 X31Z3 N5 G01 Z-50 F100 N6 G00 X36 N7 Z3 …
3. Input the program manual script
Ζ
4. Manufacture a part
X
Z
Figure 1 . 1 The workflow of operation of CNC machine tool
3
1. General
X
Z
X
Z
1.2

Interpolation

1.2
Interpolation
1.2
1.2 Interpolation
Interpolation
Interpolation refers to an operation in which the machine tool moves along the workpiece
parts. There are five methods of interpolation: linear, circular, helical, parabolic, and cubic.
Most CNC machine can provide linear interpolation and circular interpolation. The other
three methods of interpolation (helical, parabolic, and cubic interpolation) are usually used
to manufacture the complex shapes, such as aerospace parts. In this manual, linear and
circular interpolation are introduced.
1.2.1
1.2.1
1.2.1
1.2.1 L
There are two kinds of linear interpolation:
L
inear
L
inear
L inear
inear Interpolation
1) Tool movement along a straight line (Figure 1.2).
2) Tool movement along the taper line
Interpolation
Interpolation
Interpolation
Figure 1 . 2 Linear Interpolation (1)
Figure 1 . 3 Linear Interpolation (2)
4
1. General
X
Z
1.2.2
1.2.2
1.2.2
1.2.2 Circular
Figure 1.4 shows a tool movement along an arc.
Note:
Note:
Note:
Note:
In this manual, it is assumed that tools are moved against workpieces.
Circular
Circular

Circular Interpolation

Interpolation
Interpolation
Interpolation
Figure 1 . 4 Circular Interpolation
1.2.3
1.2.3
1.2.3
1.2.3 Thread
There are several kinds of threads: c ylindrical, taper or face threads .
workpiece, the tool is moved with spindle rotation synchronously .
Thread
Thread

Thread Cutting

Cutting
Cutting
Cutting
Figure 1 . 5 Thread Cutting
To
cut threads on a
5
1. General
Tool
Chuck
1.3
Feed
1.3
Feed
1.3
1.3 Feed

Feed Function

- Feed refers to an operation in which the tool moves at a specified speed to cut a
workpiece.
- Feedrate refers to a specified speed, and numeric is used to specified the fe e drate .
- Feed function refers to an operation to control the fe e drate .
Function
Function
Function
Figure 1 . 6 Feed Function
For example:
F2.0 //feed the tool 2mm, while the workpiece makes one turn
6
1.4
Reference position
Tool post
Chuck
Coordinate
1.4
Coordinate
1.4
1.4 Coordinate

Coordinate System

System
System
System
1. General
1.4.1
1.4.1
1.4.1
1.4.1 Reference
Reference point is a fixed position on CNC machine tool, which is determined by cams and
measuring system. Generally, it is used when the tool is required to exchange or the
coordinate system is required to set.
There are two ways to move to the reference point:
Reference
Reference

Reference Point

Point
Point
Point
Figure 1 . 7 Reference Point
- Manual reference position return: The tool is moved to the reference point by operating
the button on the machine control panel. It is only used when the machine is turned on.
- Automatic reference position return: It is used after the manual reference position return
has been used. In this manual, this would be introduced.
7
1. General
+
X
+
X
+
Y
+Z+
Y
+
Z
+Y+
C
+
Z
+A +
B
+
C
+ X +Y +
Z
+
A
+
B
+
X
1.4.2
1.4.2
1.4.2
1.4.2 Machine
Machine
Machine
Machine Coordinate
Coordinate
Coordinate
Coordinate System
System
System
System
The coordinate system is set on a CNC machine tool. Figure 1.8 is a machine coordinate
system of turning machine, and shows the direction of axes:
Figure 1 . 8 Machine Coordinate System
In general , three basic linear coordinate axes of motion are X,
Y,
Z. Moreover, X,
Y,
Z axis
of rotation is named as A, B, C cor respond ently. Due to different types of turning machine,
the axis direction can be decided by following the rule three finger rule of the right
hand.
Figure 1 . 9 “ three finger rule
- The thumb points the X axis. X axis controls the cross motion of the cutting tool.
+X means that the tool is away from the spindle centerline
- T he index points the Y axis. Y axis is usually a virtual axis.
- T he middle finger points the Z axis. Z axis controls the motion of the cutting tool.
+Z means that the tool is away from the spindle.
8
1. General
1.4.3
1.4.3
1.4.3
1.4.3 Workpiece
The coordinate system is set on a workpiece. The data in the NC program is from the
workpiece coordinate system.
Example: Those four points can be defined on workpiece coordinate system:
Workpiece
Workpiece
Workpiece Coordinate
Coordinate
Coordinate
Coordinate System
Z-
X-
Figure 1 . 10 Workpiece Coordinate System
System
System
System
Y+
W
W
W
W
Y-
X+
90 °
90 °
90 °
Z+
P1 corresponds to X25 Z-7.5
P2 corresponds to X40 Z-15
P3 corresponds to X40 Z-25
P4 corresponds to X60 Z-35
P4
P3
25
35
Figure 1 .11Example of defining points on workpiece coordinate system
X
P2
P1
7.5
15
Φ 60
Φ 40
Φ 25
Z
9
1. General
4 0
Ζ
Φ60
Φ40
1 50 X
Ζ
X
3 0
Ζ
Φ60
Φ30
8 0 X
10 0
Ζ
X
1.4.4
1.4.4
1.4.4
1.4.4 Setting
There are two methods used to define two coordinate systems at the same position.
Setting
Setting
Setting Two
1) The coordinate zero point is set at chuck face
2) The coordinate zero point is set at the end face of workpiece
Two
Coordinate
Two
Coordinate
Two Coordinate
Coordinate Systems
Figure 1 . 12 The coordinate zero point set at chuck face
Systems
Systems
Systems at
at
the
at
the
at the
the Same
Same
Same
Same Position
Position
Position
Position
Figure 1 . 13 The coordinate zero point set at the end face of workpiece
10
1. General
1.4.5
1.4.5
1.4.5
1.4.5 Absolute
The absolute dimension describes a point at “ the distance from zero point of the coordinate
system .
E xample: These four point in absolute dimensions are the following:
Absolute
Absolute

Absolute Commands

P1 corresponds to X25 Z-7.5
P2 corresponds to X40 Z-15
P3 corresponds to X40 Z-25
P4 corresponds to X60 Z-35
Commands
Commands
Commands
P4
P3
25
35
X
P2
P1
7.5
15
Φ 60
Φ 40
Φ 25
Z
Figure 1 . 14 Absolute Dimension
11
1. General
1.4.6
1.4.6
1.4.6
1.4.6 Incremental
The incremental dimension describes a distance from the previous tool position to the next
tool position.
Example: These four point in incremental dimensions are the following:
Incremental
Incremental

Incremental Commands

P1 corresponds to X25 Z-7.5 //with reference to the zero point
P2 corresponds to X15 Z-7.5 //with reference to P1
P3 corresponds to Z-10 //with reference to P2
P4 corresponds to X20 Z-10 //with reference to P3
Commands
Commands
Commands
P4
10
X
P2
P3
P1
7.5
7.5
10
Φ 60
Φ 40
Φ 25
Z
Figure 1 . 15 Incremental Dimension
12
1. General
8
8
8
8 0
0
0
0
6
6
6
6 0
0
0
0
B
B
B
B
A
A
A
A
Φ40
X
X
X
X
Z
Z
Z
Z
Φ30
8
8
8
8 0
0
0
0
6
6
6
6 0
0
0
0
B
B
B
B
A
A
A
A
20
X
X
X
X
Z
Z
Z
Z
15
1.4.7
1.4.7
1.4.7
1.4.7 Diameter/Radius
Diameter/Radius
Diameter/Radius

Diameter/Radius Programming

Programming
Programming
Programming
The coordinate dimension on X axis can be set in diameter or radius. It should be noted that
diameter programming or radius programming should be applied independently on each
machine.
Example: Describe the points by diameter programming.
A
corresponds to X30 Z80
B corresponds to X40 Z60
Figure 1 . 16 Diameter Programming
Example: Describe the points by radius programming.
A
corresponds to X15 Z80
B corresponds to X20 Z60
Figure 1 . 17 Radius Programming
13
1. General
N
·
min
-
1
Chuck
V: Cutting speed v m/min
1.5
Spindle
1.5
Spindle
1.5
1.5 Spindle
Spindle Speed
The cutting speed (v) refers to the speed of the tool with respect to the workpiece when the
workpiece is cut. The unit of the cutting speed is m/min. As for the CNC, the cutting speed
can be specified by the spindle speed (N) in min-1.
Speed
Speed
Speed Function
Figure 1 . 18 Cutting Speed and Spindle Speed
Function
Function
Function
The formula to get the spindle speed is:
N: the spindle speed
v: cutting speed
D: diameter value of the workpiece
Example: When the diameter of workpiece is 200mm, and the cutting speed is 300m/min,
v
then the spindle speed:
N
=
=
D
The constant surface speed refers to the cutting speed even when the workpiece diameter is
changed, and the CNC changes the spindle speed.
1000
N
=
D
π
30010001000
200
ππ
mr
/478
v
14
1.6
Tool
1.6
Tool
1.6
1.6 Tool

Tool Function

Function
Function
Function
1. General
1.6.1
1.6.1
1.6.1
1.6.1 Tool
It is necessary to select a suitable tool when drilling, tapping, boring or the like is performed.
As it is shown in Figure 1.19, a number is assigned to each tool. Then this number is used in
the program to specify that the corresponding tool is selected.
1.6.2
1.6.2
1.6.2
1.6.2 Tool
When writing a program, the operator just use the workpiece dimensions according to the
dimensions in the part drawing. The tool nose radius center , the tool direction of the turning
Tool
Selection
Tool
Selection

Tool Selection

Selection
Tool
Offset
Tool
Offset

Tool Offset

Offset
01
02
03
Figure 1 . 19
06
04
Tool
05
Selection
Tool
number
Tool
number
Tool
Tool number
number
Tool
post
Tool
post
Tool
Tool post
post
tool, and the tool length are not taken into account. However, when machining a workpiece,
the tool path is affected by the tool geometry.
workpiece
workpiece
workpiece
workpiece
Standard tool
Rough cutting tool
Figure 1 . 20
Finishing tool
Tool
Offset
15
Grooving tool
Thread cutting tool
1. General
T
ool nose radius center
P
Imaginary tool
nose
Tool Length Compensation
There are two kind of ways to specify the value of tool length compensation.
- Absolute value of tool length compensation (the distance between tool tip and
machine reference point)
- Incremental value of tool length compensation (the distance between tool tip and
the standard tool)
As it is shown in Figure 1.21, L1 is the tool length on X axis. L2 is the tool length on Z axis.
It should be noted that the tool wear values on X axis or Z axis are also contained in the tool
length compensation.
R
S
P
P=Tool
P=Tool
P=Tool
P=Tool tip R=Radius
R=Radius
R=Radius
R=Radius S=Cutting
S=Cutting
S=Cutting
S=Cutting edge
tip
tip
tip
Figure 1 . 21
edge
center
edge
center
edge center
center
Tool
Length Compensation
L2
L1
Tool Radius Compensation
Figure 1.22 shows the imaginary tool nose as a start position when writing a program.
Figure 1 . 22 The imaginary tool nose
16
1. General
7
X
X
X
X
0 9
Z
Z
Z
Z
8
3
4
5
6
2
1
Imaginary tool nose
+
+
+
+ T o ol nose radius center
7
X
X
X
X
0 9
Z
Z
Z
Z
5
6
8
2
3
4
1
Imaginary tool nose
+
+
+
+ Tool nose radius center
The direction of imaginary tool nose is determined by the tool direction during cutting.
Figure 1.23 and Figure 1.24 show the relation between the tool and the imaginary tool tip.
Figure 1 . 23 The direction of imaginary tool nose (1)
Figure 1 . 24 The direction of imaginary tool nose (2)
17
1. General
1.7
Miscellaneous
1.7
Miscellaneous
1.7
1.7 Miscellaneous

Miscellaneous Function

Miscellaneous function refers to the operation to control the spindle, feed, and coolant. In
general, it is specified by an M code.
When a move command and M code are specified in the same block, there are two ways to
execute these commands:
1) Pre-M function
M command is executed before the completion of move command
2) Post-M function
M command is executed after the completion of move command.
The sequence of the execution depends on the specification of the machine tool builder.
Function
Function
Function
18
1. General
%1000
N01 G91 G00 X50 Y60
N10 G01 X100 Y500 F150 S300 M03
N...... ;COMMENT
N200 M30
Program
Program block
Command character
Program number
N.. G .. X Y F.. M.. S..
Program block
Miscellaneous function
Spindle function
Feed Function
Coordinate - Dimension word
Preparatory function
Program block number
Program
1.8
Program
1.8
Program

Program Configuration

1.8
1.8
1.8.1
1.8.1
1.8.1
1.8.1 Structure
As it is shown in Figure 1.25, an NC program consists of a sequence of NC blocks
block is one of machining steps. Commands
Structure
Structure
Structure of
- Format of program
Configuration
Configuration
Configuration
of
an
of
of an
program
program
program name
NC
an
NC
an NC
NC Program
Commands
Commands
Commands in each block are the instruction.
Figure 1 . 25 Structure of an NC Program
name
name
name
Program
Program
Program
blocks
blocks
blocks . Each
The program name must be specified in the format OXXXX (X could be letters or
numbers).
program
- Format of program
T he program number should be started with %XXXX or OXXXX (X could be numbers
only).
- Format of blocks
A
block starts with the program block number.
program
program number
blocks
blocks
blocks
number
number
number
Figure 1 . 26 Structure of Block
19
end
Instruction 1
Instruction 2
Instruction n
Instruction n+1
Follow the direction
ofthe subprogra m
Instruction 1
Instruction 2
Return to the main pr ogram
Main program
Subprogram
of
- Format of end
The last block should contain M02 or M03 to indicate the end of program.
- Format of Comments
All information after the ; ” is regarded as comments.
All information between ( ) ” is regarded as comments.
end
end of
Comments
Comments
Comments
program
of
program
of program
program
1. General
1.8.2
1.8.2
1.8.2
1.8.2 Main
There are two type of program: main program and subprogram. The CNC operates
according to the main program. When a execution command of subprogram is at the
execution line of the main program, the subprogram is called. When the execution of
subprogram is finished, the system returns control to the main program.
Main
Main
Main Program
Program
Program
Program and
and
Subprogram
and
Subprogram
and Subprogram
Subprogram
Note:
Note:
Note:
Note:
Main program and its subprogram must be written in a same file with a different program
codes.
Figure 1 . 27 Main program and subprogram
20
2
Preparatory
2
Preparatory
2
2 Preparatory
Preparatory Function
There are two types of G code: one-shot G code, and modal G code.
Type
Type
Type
Type Meaning
One-shot G code The G code is only effective in the block in which it is specified
Modal G code The G code is effective until another G code is specified.
Example : G01 and G00 are modal G codes.
G00X_
Meaning
Meaning
Meaning
Function
Function
Function (G
Table 2 1 Type of G code
(G
(G
(G code)
code)
code)
code)
2. Preparatory Function
G01Z_
Z_
X_
G0 0 is effective in this range
21
2.1
G
2.1
2.1
2.1 G
The following table is the list of G code in HNC system.
code
G
code
G code
code List
G
code
G
code
G
G code
code Group
List
List
List
Group
Group
Group Function
Function
Function
Function
Table 2 2 G code list
2. Preparatory Function
G00
G01
01
G02
G03
G04 00 Dwell
G20
G21
G28
G29
G32
G34
G36
G37
G40
G41
08
00
01
17
09
Positioning (Rapid traverse)
Linear interpolation (Cutting feed)
Circular interpolation CW
Circular interpolation CCW
Input in inch
Input in mm
R eference point return
Auto r eturn from reference point
Thread cutting with constant lead
Tapping
Diameter programming
Radius programming
Tool nose radius compensation cancel
Tool nose radius compensation on the left
G42
G46 16 Setting the limit of spindle speed
G50
04
G51 Moving the origin of workpiece coordinate system
G53 00 Selecting a machine coordinate system
G54
G55
G56
G57
G58
11 Setting a w orkpiece coordinate system
Tool nose radius compensation on the right
C anceling the workpiece’s origin movement
22
2. Preparatory Function
G59
23
2. Preparatory Function
G71
G72
Stock Removal in Turning
Stock Removal in Facing
G73
G74
G75
06
G76
G80
G81
G82
G90
Pattern repeating
Front drilling cycle
Side drilling cycle
Multiple t hread cutting cycle
Internal diameter/ Outer diameter cutting cycle
End face turning cycle
Thread cutting cycle
Absolute programming
13
G91
Incremental programming
G92 00 Setting a c oordinate system
G94
Feedrate per minute
14
G95
G96
Feedrate p er revolution
Constant cutting speed
16
Constant cutting speed cancel G97
Explanation:
Explanation:
Explanation:
Explanation:
1) G codes in 00 group are one-shot G code, while the other groups are modal G
code.
2) means that it is default setting.
24
3
Interpolation
3
Interpolation
3
3 Interpolation

Interpolation Functions

This chapter would introduce:
1) Positioning Command (G00)
2) Linear Interpolation (G01)
3) Circular Interpolation (G02, G03)
4) Chamfering and Rounding (G01, G02, G03)
5) Thread Cutting with Constant Lead (G32)
6) Tapping (G34)
Functions
Functions
Functions
3. Interpolation Function
25
3.1
Positioning
3.1
Positioning
3.1
3.1 Positioning

Positioning (G00)

Programming
Programming
Programming
Programming
G00 X(U) Z(W)
(G00)
(G00)
(G00)
3. Interpolation Function
Explanation
Explanation
Explanation
Explanation of
X, Z Coordinate value of the end point in the absolute command
U, W Coordinate value of the end point in the incremental command
Function
Function
Function
Function
The tool is moved at the highest possible speed (rapid traverse). I f the rapid traverse
movement is required to execute simultaneously on several axes, the rapid traverse speed is
decided by the axis which takes the most time. The operator can use this function to position
the tool rapidly, to travel around the workpiece, or to approach the tool change position.
Example
Example
Example
Example
Move tool from P1 (45, 90) to P2 (10, 20) at the rapid traverse speed.
of
the
parameters
of
the
of the
parameters
the parameters
parameters
X
X
X
X
P1
P1
P1
P1
P2
P2
P2
P2
M
M
M
M
Absolute programming:
G00 X10 Z20
Incremental programming:
G00 U30 W70
W
W
W
W
Figure 3 . 1 Positioning (Rapid Traverse)
26
Z
Z
Z
Z
Loading...
+ 115 hidden pages