Table of contents
Preface .........................................................................................................................................................3
1 Fundamental safety instructions.................................................................................................................23
1.1 General safety instructions.....................................................................................................23
1.2 Warranty and liability for application examples ......................................................................24
1.3 Industrial security ...................................................................................................................25
2 Fundamentals.............................................................................................................................................27
2.1 Fundamental Geometrical Principles .....................................................................................27
2.1.1 Workpiece positions ...............................................................................................................27
2.1.1.1 Reference system of position specifications ..........................................................................27
2.1.1.2 Cartesian coordinates ............................................................................................................27
2.1.1.3 Polar coordinates ...................................................................................................................29
2.1.1.4 Absolute dimensions ..............................................................................................................30
2.1.1.5 Incremental dimension ...........................................................................................................32
2.1.2 Working planes ......................................................................................................................33
2.1.3 Zero points and reference points ...........................................................................................34
2.1.4 Coordinate systems ...............................................................................................................36
2.1.4.1 Machine coordinate system (MCS) ........................................................................................36
2.1.4.2 Basic coordinate system (BCS) .............................................................................................38
2.1.4.3 Basic zero system (BZS)........................................................................................................39
2.1.4.4 Settable zero system (SZS) ...................................................................................................40
2.1.4.5 Workpiece coordinate system (WCS) ....................................................................................41
2.1.4.6 What is the relationship between the various coordinate systems? ......................................41
2.2 Fundamental Principles of NC Programming.........................................................................42
2.2.1 Name of an NC program ........................................................................................................42
2.2.2 Structure and contents of an NC program .............................................................................43
2.2.2.1 Blocks and block components................................................................................................43
2.2.2.2 Block rules..............................................................................................................................46
2.2.2.3 Value assignments.................................................................................................................47
2.2.2.4 Comments..............................................................................................................................47
2.2.2.5 Skipping blocks ......................................................................................................................48
2.3 Creating an NC program ........................................................................................................50
2.3.1 Basic procedure .....................................................................................................................50
2.3.2 Available characters...............................................................................................................51
2.3.3 Program header .....................................................................................................................52
2.3.4 Program examples .................................................................................................................53
2.3.4.1 Example 1: First programming steps .....................................................................................53
2.3.4.2 Example 2: NC program for turning .......................................................................................54
2.3.4.3 Example 3: NC program for milling ........................................................................................56
2.4 Tool change ...........................................................................................................................59
2.4.1 Tool change with active tool management.............................................................................60
2.4.1.1 Tool change with active tool management with the function T=location ................................60
2.4.1.2 Tool change with active tool management with M6 ...............................................................62
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 7