Programming manual.
CNC 8070
·3·
(REF: 1709)
INDEX
About the product - CNC 8070 ..................................................................................................... 9
Declaration of CE conformity and warranty conditions............................................................... 13
Version history - CNC 8070 ........................................................................................................ 15
Safety conditions ........................................................................................................................ 23
Returning conditions................................................................................................................... 27
CNC maintenance ...................................................................................................................... 29
CHAPTER 1 CREATING A PROGRAM.
1.1 Programming languages................................................................................................ 31
1.2 Program structure. ......................................................................................................... 32
1.2.1 Program body............................................................................................................. 33
1.2.2 The subroutines. ........................................................................................................ 34
1.3 Program block structure................................................................................................. 35
1.3.1 Programming in ISO code.......................................................................................... 36
1.3.2 High-level language programming. ............................................................................ 38
1.4 Programming of the axes............................................................................................... 39
1.5 List of "G" functions........................................................................................................40
1.6 List of auxiliary (miscellaneous) M functions.................................................................. 43
1.7 List of statements and instructions................................................................................. 44
1.8 Comment programming. ................................................................................................ 47
1.9 Variables and constants................................................................................................. 48
1.10 Arithmetic parameters.................................................................................................... 49
1.11 Arithmetic and logic operators and functions................................................................. 50
1.12 Arithmetic and logic expressions. .................................................................................. 52
CHAPTER 2 MACHINE OVERVIEW
2.1 Axis nomenclature ......................................................................................................... 53
2.2 Coordinate system......................................................................................................... 55
2.3 Reference systems ........................................................................................................ 56
2.3.1 Origins of the reference systems ............................................................................... 57
2.4 Home search..................................................................................................................58
2.4.1 Definition of "Home search" ....................................................................................... 58
2.4.2 "Home search" programming..................................................................................... 59
CHAPTER 3 COORDINATE SYSTEM
3.1 Programming in millimeters (G71) or in inches (G70).................................................... 61
3.2 Absolute (G90) or incremental (G91) coordinates. ........................................................ 62
3.2.1 Rotary axes................................................................................................................63
3.3 Absolute and incremental coordinates in the same block (I). ........................................ 65
3.4 Programming in radius (G152) or in diameters (G151).................................................. 66
3.5 Coordinate programming ............................................................................................... 67
3.5.1 Cartesian coordinates ................................................................................................ 67
3.5.2 Polar coordinates ....................................................................................................... 68
3.5.3 Angle and Cartesian coordinate................................................................................. 70
CHAPTER 4 WORK PLANES.
4.1 About work planes on lathe and mill models.................................................................. 74
4.2 Select the main new work planes. ................................................................................. 75
4.2.1 Mill model or lathe model with "trihedron" type axis configuration. ............................ 75
4.2.2 Lathe model with "plane" type axis configuration....................................................... 76
4.3 Select any work plane and longitudinal axis. ................................................................. 77
4.4 Select the longitudinal axis of the tool............................................................................ 79
CHAPTER 5 ORIGIN SELECTION
5.1 Programming with respect to machine zero................................................................... 82
5.2 Set the machine coordinate (G174). ............................................................................. 84
5.3 Fixture offset .................................................................................................................. 85
5.4 Coordinate preset (G92) ................................................................................................ 86