Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
7
Table of contents
Preface ...................................................................................................................................................... 3
1 Fundamental Geometrical Principles ....................................................................................................... 13
1.1 Description of workpiece points ...................................................................................................13
1.1.1 Workpiece coordinate systems....................................................................................................13
1.1.2 Definition of workpiece positions..................................................................................................14
1.1.3 Polar coordinates .........................................................................................................................17
1.1.4 Absolute dimensions....................................................................................................................17
1.1.5 Incremental dimension.................................................................................................................19
1.1.6 Plane designations.......................................................................................................................21
1.2 Position of zero points..................................................................................................................22
1.3 Position of coordinate systems ....................................................................................................24
1.3.1 Overview of various coordinate systems .....................................................................................24
1.3.2 Machine coordinate system .........................................................................................................25
1.3.3 Basic coordinate system ..............................................................................................................28
1.3.4 Workpiece coordinate system......................................................................................................30
1.3.5 Frame system ..............................................................................................................................31
1.3.6 Assignment of workpiece coordinate system to machine axes ...................................................33
1.3.7 Current workpiece coordinate system .........................................................................................34
1.4 Axes .............................................................................................................................................34
1.4.1 Main axes/Geometry axes ...........................................................................................................36
1.4.2 Special axes.................................................................................................................................37
1.4.3 Main spindle, master spindle .......................................................................................................37
1.4.4 Machine axes...............................................................................................................................37
1.4.5 Channel axes ...............................................................................................................................38
1.4.6 Path axes .....................................................................................................................................38
1.4.7 Positioning axes...........................................................................................................................38
1.4.8 Synchronized axes.......................................................................................................................39
1.4.9 Command axes............................................................................................................................40
1.4.10 PLC axes......................................................................................................................................40
1.4.11 Link axes ......................................................................................................................................40
1.4.12 Lead link axes ..............................................................................................................................42
1.5 Coordinate systems and workpiece machining ...........................................................................44
2 Fundamental Principles of NC Programming........................................................................................... 47
2.1 Structure and contents of an NC program...................................................................................47
2.2 Language elements of the programming language .....................................................................49
2.3 Programming a sample workpiece...............................................................................................69
2.4 First programming example for milling application ......................................................................70
2.5 Second programming example for milling application .................................................................71
2.6 Programming example for turning application .............................................................................74