Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
3
Table of contents
1 Programming principles.............................................................................................................................
7
1.1 Fundamentals of programming......................................................................................................
7
1.1.1 Program names .............................................................................................................................
7
1.1.2 Program structure ..........................................................................................................................
7
1.1.3 Word structure and address...........................................................................................................
8
1.1.4 Character set..................................................................................................................................
9
1.1.5 Block format .................................................................................................................................
10
1.1.6 List of instructions ........................................................................................................................
12
1.2 Positional data .............................................................................................................................
25
1.2.1 Programming dimensions ............................................................................................................
25
1.2.2 Absolute / incremental dimensioning: G90, G91, AC, IC.............................................................
26
1.2.3 Dimensions in metric units and inches: G71, G70, G710, G700.................................................
28
1.2.4 Radius / diameter dimensions: DIAMOF, DIAMON, DIAM90......................................................
29
1.2.5 Programmable work offset: TRANS, ATRANS ............................................................................
30
1.2.6 Programmable scaling factor: SCALE, ASCALE.........................................................................
33
1.2.7 Workpiece clamping - settable work offset: G54 to G59, G500, G53, G153...............................
34
1.3 Axis movements...........................................................................................................................
35
1.3.1 Linear interpolation with rapid traverse: G0.................................................................................
35
1.3.2 Feedrate F....................................................................................................................................
36
1.3.3 Linear interpolation with feedrate: G1..........................................................................................
37
1.3.4 Circular interpolation: G2, G3 ......................................................................................................
38
1.3.5 Circular interpolation via intermediate point: CIP.........................................................................
41
1.3.6 Circle with tangential transition: CT .............................................................................................
42
1.3.7 Thread cutting with constant lead: G33 .......................................................................................
42
1.3.8 Programmable run-in and run-out path for G33: DITS, DITE......................................................
45
1.3.9 Thread cutting with variable lead: G34, G35 ...............................................................................
46
1.3.10 Thread interpolation: G331, G332 ...............................................................................................
48
1.3.11 Fixed point approach: G75...........................................................................................................
49
1.3.12 Reference point approach: G74...................................................................................................
50
1.3.13 Exact stop / continuous-path control mode: G9, G60, G64 .........................................................
50
1.3.14 Acceleration pattern: BRISK, SOFT.............................................................................................
53
1.3.15 The third axis................................................................................................................................
54
1.3.16 Dwell Time: G4.............................................................................................................................
55
1.4 Spindle movements .....................................................................................................................
56
1.4.1 Spindle speed S, directions of rotation ........................................................................................
56
1.4.2 Spindle positioning.......................................................................................................................
57
1.4.2.1 Spindle positioning (SPOS, SPOSA, M19, M70, WAITS) ...........................................................
57
1.4.2.2 Spindle positioning (SPOS, SPOSA, M19, M70, WAITS): Further information...........................
63
1.4.3 Gear stages..................................................................................................................................
64
1.5 Special turning functions..............................................................................................................
65
1.5.1 Constant cutting rate: G96, G97 ..................................................................................................
65
1.5.2 Rounding, chamfer.......................................................................................................................
67
1.5.3 Contour definition programming...................................................................................................
70