
Contents
IX
Contents
Ⅰ PROGRAMMING ................................................................................. 1
CHAPTER 1 OVERVIEW .............................................................................................................. 3
1.1 Product Introduction ......................................................................................................................... 3
1.2 Technical Specifications .................................................................................................................. 4
1.3 Product Model Definition ................................................................................................................. 5
CHAPTER 2 PROGRAMMING FUNDAMENTALS .......................................................................... 7
2.1 Controllable Axis ............................................................................................................................... 7
2.2 Axis Name ......................................................................................................................................... 7
2.3 Axis Display....................................................................................................................................... 7
2.4 Coordinate System .......................................................................................................................... 8
2.4.1 Machine Coordinate System ................................................................................................................. 8
2.4.2 Reference Point ..................................................................................................................................... 8
2.4.3 Workpiece Coordinate System .............................................................................................................. 8
2.4.4 Absolute Coordinate Programming and Relative Coordinate Programming .......................................... 9
2.5 Modal and Non-Modal (Simple) ................................................................................................... 10
CHAPTER 3 STRUCTURE OF AN PART PROGRAM ................................................................... 13
3.1 Structure of a Program .................................................................................................................. 13
3.1.1 Program Name .................................................................................................................................... 13
3.1.2 Sequence number and program block ................................................................................................ 14
3.1.3 Word .................................................................................................................................................... 14
3.2 General Structure of a Program ................................................................................................... 16
3.2.1 Subprogram Writing ............................................................................................................................. 17
3.2.2 Subprogram Call ................................................................................................................................. 17
3.2.3 Program End ....................................................................................................................................... 18
CHAPTER 4 PREPARATORY FUNCTION : G CODE .................................................................. 19
4.1 Types of G Code ............................................................................................................................ 19
4.2 Simple G Codes ............................................................................................................................. 23
4.2.1 Rapid Positioning G00 ......................................................................................................................... 23
4.2.2 Linear Interpolation 01 ......................................................................................................................... 24
4.2.3 Circular (Helical) Interpolation G02/G03 .............................................................................................. 25
4.2.4 Absolute/incremental programming G90/G91 ..................................................................................... 29
4.2.5 Dwell (G04) ......................................................................................................................................... 30
4.2.6 Single-direction positioning(G60) .................................................................................................... 31
4.2.7 On-line modification for system parameters (G10) .............................................................................. 32
4.2.8 Workpiece coordinate system G54~G59 ........................................................................................... 33
4.2.9 Additional workpiece coordinate system .............................................................................................. 35
4.2.10 Selecting machine coordinate system G53 ....................................................................................... 35
4.2.11 Floating coordinate system G92 ........................................................................................................ 36
4.2.12 Plane selection G17/G18/G19 ........................................................................................................... 37
4.2.13 Polar coordinate start/cancel G16/G15 .............................................................................................. 38
4.2.14 Scaling in a plane G51/G50 ............................................................................................................... 40
4.2.15 Coordinate system rotation G68/G69 ................................................................................................ 43
4.2.16 Skip function G31 .............................................................................................................................. 46
4.2.17 Inch/metric conversion G20/G21 ....................................................................................................... 48
4.2.18 Optional angle chamfering/corner rounding ....................................................................................... 48
4.3 Reference point G code ................................................................................................................ 49
4.3.1 Reference point return G28 ................................................................................................................. 50
4.3.2 2nd, 3rd, 4th reference point return G30 ............................................................................................. 51
4.3.3 Automatic return from reference point G29 ......................................................................................... 51
4.3.4 Reference Point Return Check G27 .................................................................................................... 52
4.4 Canned cycle G code .................................................................................................................... 52
4.4.1 High-speed peck drilling cycle G73 ..................................................................................................... 57
4.4.2 Drilling cycle, spot drilling cycle G81 ................................................................................................... 59