Page 1
Programming principles (Siemens instructions) ___________________ Cycles ___________________ Typical turning program SINUMERIK SINUMERIK 808D Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual Valid for: SINUMERIK 808D Turning (software version: V4.4) Target group: End users and service engineers 05/2012 6FC5398-5DP10-0BA0...
Page 2
Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
Page 4
Boring - CYCLE86........................135 2.4.10 Boring with stop 1- CYCLE87 ....................138 2.4.11 Drilling with stop 2 - CYCLE88....................140 2.4.12 Reaming 2 - CYCLE89......................142 Turning cycles ........................... 144 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 5
2.6.1 General Information ........................195 2.6.2 Error handling in the cycles......................195 2.6.3 Overview of cycle alarms ......................195 2.6.4 Messages in the cycles......................196 Typical turning program ......................... 197 Index..............................207 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 6
Table of contents Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The table below shows you an example of the NC program structure. Block Word Word Word ; Comment Block ; First block Block ; Second block Block ; ... Block Block ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
In this case, the value must be assigned using an equality sign "=". Arithmetic parameters H function I, J, K Interpolation parameters/intermediate point Special function M, affecting the spindle with other options Spindle speed Examples: R10=6.234 H5=12.1 I1=32.67 M2=5 S1=400 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Reserved; do not use Addition and positive sign Reserved; do not use Subtraction, minus sign Non-printable special characters End-of-block character Blank Separator between words; blank Tab character Reserved; do not use Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
If a block must be skipped during program execution, all program blocks marked with " / " are not executed. All instructions contained in the blocks concerned will not be considered. The program is continued with the next block without marking. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 11
N60 G0 G90 X100 Z200 N70 G1 Z185.6 N80 X112 /N90 X118 Z180 ; Block can be suppressed N100 X118 Z120 N110 G0 G90 X200 N120 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
;opening angle and end point Circular interpolation counter-clockwise G3 ... ; otherwise as for Circular interpolation through intermediate CIP X... Z... I1=... K1=... point F... ;I1, K1 is intermediate point Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 13
; sign of lead as for G331 Dwell time 2: Special motions, dwell time G4 F...;separate block, F: Time in seconds non-modal G4 S..;separate block, S: in spindle revolutions Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 14
8: Settable work offset modally effective 1. Settable work offset 2. settable work offset 3. settable work offset 4. settable work offset 5. settable work offset 6. settable work offset Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 15
Feedforward control ON DIAMOF Radius dimensioning 29: Dimension Radius / diameter DIAMON * Diameter dimensioning modally effective G290 * SIEMENS mode 47: External NC languages modally effective G291 External mode Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 16
Can be found in the last block of the processing sequence End of subroutine Can be found in the last block of the processing sequence CW rotation of spindle CCW rotation of spindle Spindle stop Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 17
+ - * /, there are the following arithmetic functions: SIN( ) Sine Degrees R1=SIN(17.35) COS() Cosine Degrees R2=COS(R3) TAN() Tangent Degrees R4=TAN(R5) ASIN() Arc sine R10=ASIN(0.35) ; R10: 20.487 degrees Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 18
1 ... 200, integer Acceleration override for an axis N10 ACC[X]=80 ;for the X acceleration or spindle; specified as a axis 80% override percentage N20 ACC[S]=50;for the spindle: 50% Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 19
The call of the machining cycles requires a separate block; the appropriate transfer parameters must be loaded with values. Special cycle calls are also possible with an additional MCALL or CALL. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 20
;separate block CYCLE96 Thread undercut N10 CYCLE96(...); separate part program block CYCLE98 Side-by-side thread mounting N10 CYCLE98(...); separate part program block CYCLE99 Thread cutting N10 CYCLE99(...) ;separate block Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 21
N10 G90 X10 Z=IC(20) ;Z specified using for the end or center point of a -incremental dimension, incremental certain axis irrespective of G90. X - absolute dimension dimensions Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 22
Measuring task Default condition: N10 IF $AC_MEAS[1]==1 status 0: Default condition, probe did GOTOF ..; Continue not switch program when probe has 1: Probe switched switched ... Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 23
N10 IF $P_TOOL==1 the active tool GOTOF ..MSG () Signal max. 65 characters Message text in inverted MSG("MESSAGE TEXT") commas ; separate block N150 MSG() ; Clear previous message Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 24
With SPOS, the NC block is only enabled once the position has been reached. With SPOSA, the block is enabled even if the position has not been reached. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● Absolute dimension, X=CC(value) directly approaching the position by the shortest route, only this value applies only for the stated rotary axis and is not influenced by G90/G91. This is also possible for SPOS, SPOSA spindle positionings. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
; Incremental dimension data Z=AC(...) ; Absolute dimensioning for a certain axis (here: Z axis), non-modal Z=IC(...) ; Incremental dimensioning for a certain axis (here: Z axis), non-modal Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
All remaining geometric parameters that are not direct workpiece parameters, such as feedrates, tool offsets, and settable work offsets, are not affected by G70/G71. G700/G710 however, also affects the feedrate F (inch/min, inch/rev. or mm/min, mm/rev.). Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
; programmable offset, additive to existing instructions TRANS ; without values: clears old instructions for offset, rotation, scaling factor, mirroring The instructions that contain TRANS or ATRANS each require a separate block. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 31
AROT RPL=-10 R1=-45 R2=14 R3=34 LAB: TRANS X=R0 Z-25 AROT RPL=10 R5=R2*COS(R1) R6=R3*SIN(R1) G1 Z=R5 X=R6 R1=R1-0.5 IF R1>=-151 GOTOB LAB R0=R0-0.5 IF R0>=40 GOTOB LAB1 G0X80 AROT TRANS Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
; contour in X and Z enlarged 2 times N30 L10 N40 ATRANS X2.5 Z1.8 N50 L10 N60 M30 Subroutine call - see section "Subroutine technique (Page 94)" Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
G0 remains active until canceled by another instruction from this G group (G0, G1, G2, G3, ...). Figure 1-7 linera interpolation with rapid traverse from point P1 to P2 Programming example N10 G0 X100 Z65 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
This unit of measure applies to metric dimensions. According to Section "Metric and inch dimensioning", settings with inch dimensioning are also possible. Programming example N10 G94 F310 ; Feedrate in mm/min N20 G01 X60 Z60 N30 M5 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
N20 Z80 N25 G0 X100 ; Retraction in rapid traverse N30 M2 ; End of program Note: Another option for linear programming is available with the angle specification ANG=. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
G2/G3 X... Y... I... J... ; Center and end points G2/G3 CR=... X... Y... ; Circle radius and end point G2/G3 AR=... I... J... ; Opening angle and center point Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 39
; Starting point circle for N10 N10 G2 Z50 X40 K10 I-7 ; End point and center point Note Center point values refer to the circle starting point! Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 40
Example for end point and aperture angle specification N5 G90 Z30 X40 ; Starting point circle for N10 N10 G2 Z50 X40 AR=105 ; Opening angle and end point Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The configured dimensional data G90 or G91 applies to the end point and the intermediate point. Figure 1-15 Circle with end point and intermediate point specification using the example of G90 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
G33 remains active until canceled by another instruction from this G group (G0, G1, G2, G3, ...). Figure 1-17 External internal thread with cylindrical thread as an example Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 43
Remark: Run-in and run-out paths must be taken into account for the thread lengths. Figure 1-18 programmable values for the thread with G33 Figure 1-19 Lead assignment for cylindrical, tapered and transversed thread Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 44
1st thread block. The value is only used here. Multi-block threads are connected automatically in G64 continuous path mode. Figure 1-20 Example of multi-block thread chaining Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
To avoid alarm 22280, the acceleration limits of the axis must be observed in case of very small run-in and run-out paths. Note: The value of SD42010 after reset / program start is -1. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● F ; lead change in mm/ rev. 2 Note: Outside of G34, G35, the address F also indicates the feed or the dwell time for G4. The values programmed there remain saved. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 47
; Pitch decrease 0.16 mm/rev, ; Thread length 50 mm, ;Desired lead at end of block 3 mm/rev N50 G0 X80 ; Retraction in X N60 Z120 N100 M2 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
N30 M30 ; End of program Note The programmed position values for X1, Z1 (any value, here = 0) are ignored, but must still be written. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Another modal G group can be used here to set when the traversing movement of this block is considered ended and the next block is started. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 51
N100 M30 Remark: The G9 command only generates exact stop for the block in which it is programmed; G60, however, is effective until it is canceled by G64. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 52
NC blocks, higher velocities can be achieved than without look ahead. Figure 1-23 Comparison of the G60 and G64 velocity behavior with short travels in the blocks Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
; Absolute dimensions, approach position in positive direction A=ACN(...) ; Absolute dimensions, approach position in negative direction Example: N10 A=ACP(55.7) ; approach absolute position 55.7 degrees in positive direction Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
;Feed and spindle speed remain effective N50 M30 Remark G4 S.. is only possible if a controlled spindle is available (if the speed specifications are also programmed via S...). Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
In order to synchronize spindle movements, can be used to wait until the spindle WAITS position is reached. Conditions The spindle to be positioned must be capable of operation in position-controlled mode. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 58
Range of values: 0 … ±99 999,999 Approach absolute value directly =DC(<value>) Absolute dimension, approach in =ACN(<value>) negative direction Absolute dimension, approach in =ACP(<value>) positive direction =<value> DC(<value>) Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 59
If the spindle number is not specified or if the spindle number is set to "0", will be applied WAITS to the spindle. Note Three spindle positions are possible for each NC block. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 60
Spindle 1 is to be positioned at 250° with negative direction of rotation: N10 SPOSA[1]=ACN(250) ; The spindle is decelerated if necessary and accelerated in the opposite direction to that of the positioning movement. Figure 1-26 Position specified in degrees Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 61
; Spindle switches to axis mode. N60 X50 C180 ; Spindle(C axis) is traversed with linear interpolation synchronous to X. N70 Z20 SPOS=90 ; Spindle is positioned to 90 degrees. N80 M30 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 62
; The spindle turns in a positive direction through 90° from the absolute 180° position, ending up in the absolute 270° position. N180 G1 X10 N185 G0 X50 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Note If the spindle has not yet been synchronized with synchronization marks, the positive direction of rotation is taken from the machine data (state on delivery). Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Up to 5 gear stages can be configured for a spindle for speed / torque adaptation. Programming The relevant gear stage is selected in the program via M commands: ; Automatic gear stage selection M41 to M45 ; Gear stages 1 to 5 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Exception: If the contour is approached at rapid traverse and the next block contains an interpolation type G1 or G2, G3, CIP, CT (contour block), then the speed for the contour block is applied already in the approach block with G0. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 66
TRANS, ATRANS (Page 30)”) should not be used on the transverse axis X or used only with low values. The work piece zero point should be located at the turning center. Only then is the exact function of G96 guaranteed. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
If the feedrate F is active for chamfer/rounding, it is by default the value from the block which leads away from the corner. Other settings can be configured via machine data. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 68
; Insert chamfer with chamfer length of 5 mm N30 X50 Z60 N40 X40 Z50 N50 G1 X30 CHR=7 ; Insert chamfer with leg length of 7 mm Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 69
; Modal rounding, radius 7.3 mm with special feedrate FRCM (modal) N60 G1 X20 Z10 ; continue inserting this rounding - to N70 N70 G1 X0 Z-45 RNDM=0 ; Modal rounding OFF N80 M30 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The angle is always referred to the Z axis (normal case: G18 active). Positive angles are aligned counterclockwise. Figure 1-34 Angle value for determination of a straight line Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 71
Programming principles 1.5 Special turning functions Figure 1-35 Examples of multi-block contours Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
If you change a tool manually, input the change also in the control system so that the control system 'knows' the correct tool. For example, you can start a block with the new T word in MDA mode. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
A maximum of 64 data fields (D numbers) for tool offset blocks can be stored simultaneously in the control system: Information Tool length compensations become effective immediately when the tool is active; when no D number was programmed with the values of D1. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 74
For the "turning tool" tool type, you must also enter the cutting edge position. The following figures provide information on the required tool parameters for the respective tool type. Figure 1-37 Tool length compensation values for turning tools Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 75
1.6 Tool and tool offset Figure 1-38 Turning tool with two cutting edges D1 and D2 - Length compensation Figure 1-39 Compensations for turning tool with tool radius compensation Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 76
N20 G17 G1 F1 Z0 M3 S100 ; Tool length offset effective in Z axis N30 Z-15 N40 G18 M30 ; Drilling terminated Figure 1-41 Application of a center hole Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Program both axes. If you only specify one axis, the second axis is automatically completed with the last programmed value. Figure 1-43 Compensation to the right/left of the contour Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 78
; P0 - starting point N30 G1 G42 X50 Z50 ; Selection right of contour, P1 N40 X0 Z0 G40 G1 ; Starting contour, circle or straight line N50 M30 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Point of intersection G451 For a G451 intersection of the equidistant paths, the point (intersection) that results from the center point paths of the tool (circle or straight line) is approached. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Acute contour angles If very sharp outside corners occur in the contour with active G451 intersection, the control system automatically switches to transition circle. This avoids long idle motions. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Setting data in the program In addition to setting of setting data via operator input, these can also be written in the program. Programming example N10 $MC_TOOL_LENGTH_TYPE=2 N20 $MC_TOOL_LENGTH_CONST=18 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
In addition to M and H functions, T, D, and S functions can also be transferred to the PLC (programmable logic controller). In all, a maximum of 10 such function outputs are possible in a block. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
;Indirect programming: Assign a value to the arithmetic parameter R, whose number can be found, e.g. in R0 X=R0 ;Assign arithmetic parameters to the NC addresses, e.g. for the X axis Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 86
When operators/arithmetic functions are used, it is imperative to use conventional mathematical notation. Machining priorities are set with round brackets. Otherwise, multiplication and division take precedence over addition and subtraction. Degrees are used for the trigonometrical functions. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● It is imperative to use letters for the first two characters; the remaining characters can be either letters, underscore or digits. ● Do not use a name already used in the control system (NC addresses, keywords, names of programs, subroutines, etc.). Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 88
;After the 3rd field element, different values are assigned. Value assignment for field with REP instruction: N20 PVAR7[4]=REP(2) ;After field element [4] - all are assigned the same value, here 2. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
If more write operations are to be executed than there are elements available, then block transfer will be required (a preprocessing stop may need to be triggered). Example: $A_DBB[1]=1 $A_DBB[2]=2 $A_DBB[3]=3 STOPRE $A_DBB[4]=4 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
;Jump backwards (in the direction of the first block of the program) Label ;Selected string for the label (jump label) or block number Figure 1-49 Unconditional jumps using an example Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The comparison operations support formulating of a jump condition. Arithmetic expressions can also be compared. The result of comparison operations is "satisfied" or "not satisfied." "Not satisfied" sets the value to zero. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 92
N30 IF R1==1 GOTOB MA1 IF R1==2 GOTOF MA2 ... N40 G0 X10 Z10 N50 MA2: G0 X50 Z50 N60 M30 Note The jump is executed for the first fulfilled condition. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
In block N30, R1 is incremented by the clearance angle R3, and R4 is decremented by 1. If R4 > 0, N20 is executed again; otherwise, N50 with End of program. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
(Page 7)"). Like main programs, subroutines contain M2 - end of program in the last block of the program sequence. This means a return to the program level where the subroutine was called from. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 95
Please observe: With address L, leading zeros are meaningful for differentiation. Example: L128 ist nicht L0128 oder L00128 ! Dies sind 3 verschiedene Unterprogramme. Note: The subroutine name LL6 is reserved for tool change. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 96
Please make sure that the values of your arithmetic parameters used in upper program levels are not inadvertently changed in lower program levels. When working with SIEMENS cycles, up to 7 program levels are needed. Turning Part 2: Programming (Siemens instructions)
Number of program levels that can be processed simultaneously from external ● SD42700 $SC_EXT_PROGRAM_PATH Program path for external subroutine call NOTICE When using SD42700 $SC_EXT_PROGRAM_PATH, all subprograms called with EXCALL are searched under this path. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 98
The "Main.mpf" main program is stored in NC memory and is selected for execution: N010 PROC MAIN N020 G0 X0 Z0 N030 EXTCALL ("N:\EXTERNE_UP\BOHRUNG") N040 G0 X100 Z100 N050 M30 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The start is timer-specific. Each active run-time measurement is automatically interrupted in the stopped program state or for feedrate-override-zero. The behavior of the activated timers for active dry run feedrate and program testing can be specified using machine data. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 100
Time since cold restart = $AN_SETUP_TIME Time since warm restart= $AN_POWERON_TIME "Program run time" is also visible in the AUTOMATIC mode in the "Machine" operating area in the information line. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
$AC_REQUIRED_PARTS (workpiece target). Users must reset the counter themselves. Programming example N10 IF $AC_TOTAL_PARTS==R15 GOTOF SIST ; Count reached? G0 X50 Z50 N80 SIST:G0 X60 Z60 N90 MSG("Workpiece setpoint reached") N100 M0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 102
Number of parts =$AC_ACTUAL_PARTS, $AC_SPECIAL_PARTS not available for display "Number of parts" is also visible in the AUTOMATIC mode in the "Machine" operating area in the information line. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
These cycles are adapted to individual tasks by parameter assignment. Drilling cycles and turning cycles The following standard cycles can be carried out using the SINUMERIK 808D control system: ● Drilling cycles CYCLE81: Drilling, centering...
Page 104
The CYCLE 95 window opens. Enter the value for each parameter and confirm your input by pressing "OK". After completion, the final result appears in the editor window. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
If R parameters are used in the parameter list, they must first be assigned values in the calling program. Proceed as follows to call the cycles: ● with an incomplete parameter list ● by leaving out parameters. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
R27, or expressions consisting of R parameters, e.g. R27+10). If numerical values are entered, a check is carried out to see whether the value is within the admissible range. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Geometrical parameters are assigned once during the first drilling cycle CYCLE82. The machining parameters have a different meaning and effect in the individual cycles. They are therefore programmed in each cycle separately. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
In turning, the drilling axis is thus the Z axis. Drilling is performed to the end face of the workpiece. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 110
(with Z-axis) in the turning center. These drilling cycles must always be called in the G17 plane. Figure 2-3 Drilling on turning center without a driven tool Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 111
● Working plane is G19 - X is the resulting tool axis. ● The drilling position can be programmed either with Z and the C-axis. Figure 2-5 Drilling on peripheral surface with a driven tool Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The safety clearance (SDIS) acts with reference to the reference plane. This is brought forward by the safety clearance. The direction in which the safety clearance is active is automatically determined by the cycle. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 113
This error message is also output if the retraction plane is located after the reference plane, i.e. its distance to the final drilling depth is smaller. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 114
N80 X90 ; Approach next position N90 CYCLE81(110, 100, 2, , 65,) ; Cycle call with relative end drilling depth, and safety clearance N100 M30 ; Program end Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● Traversing to the final drilling depth with the feedrate (G1) programmed prior to the cycle call ● Dwell time at final drilling depth ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 116
; Approach drilling position N40 CYCLE82 (3, 1.1, 2.4, -20, , ; Cycle call with absolute final drilling depth and safety clearance N50 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 117
Press "OK" to transfer the values and cycle all into the part program. A hole is drilled at the current position. N420 CYCLE82(5.00000, 0.00000, 2.00000, -20.00000, 0.00000, 0.50000 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
REAL Minimum drilling depth (only in connection with degression factor) REAL Variable retraction value for chip breakage (VARI=0) Values: >0: if traction value =0: retraction value 1mm set Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 119
● Traversing to the next drilling depth with G1 (sequence of motions is continued until the final drilling depth is reached) ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 120
● Traversing to the next drilling depth with G1 and the programmed feedrate (sequence of motions is continued until the final drilling depth is reached) ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 121
• If the drilling depth is 30 mm, the value of the anticipation distance is always 0.6 mm. • For larger drilling depths, the formula drilling depth /50 is used (maximum value 7 mm). Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 122
; Approach drilling position N40 CYCLE83(3.3, 0, 0, -80, 0, -10, 0, 0, 0, ;Call of cycle, depth parameters 0, 1, 0) with absolute values N50 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
2: Deep-hole tapping with chip removal REAL Incremental drilling depth value range: 0 <= Max. value REAL Variable retraction value for chip breakage value range: 0 <= Max. value Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 124
SDAC Explanation of the parameters For the parameters RTP, RFP, SDIS, DP, DPR, refer to the topic "Drilling, centering - CYCLE81 (Page 112)". Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 125
Second axis of the current plane AXN=3 Third axis of the current plane For example, to machine a center hole (in Z) in the G18 plane, you program: AXN=1 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 126
Cycle call; parameter PIT has 500,) been omitted; no value is entered for the absolute depth or the dwell time; spindle stop at 90 degrees; speed for tapping is Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 127
Press "OK" to transfer the values and cycle all into the part program. A hole is tapped at the current position. N470 CYCLE84( 5.00000, 0.00000, 2.00000, -18.00000, 0.00000, 0.50000, 3, 12.00000, ,0.00000, 200.00000, 200.00000, 3, 0, 0, 0, ,0.00000) Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● with encoder Sequence Tapping with compensating chuck without encoder Position reached prior to cycle start: The drilling position is the position in the two axes of the selected plane. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 129
● Dwell time at thread depth (parameter DTB) ● Retraction to the reference plane brought forward by the safety clearance ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 130
MPIT and PIT (thread lead as a thread size and as a value) The parameter for the lead is only relevant if tapping is performed with encoder. The cycle calculates the feedrate from the spindle speed and the lead. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 131
Using AXN (number of the drilling axis) to program the drilling axis enables the drilling axis to be directly programmed. AXN=1 1st axis of the plane AXN=2 2nd axis of the plane AXN=3 3rd axis of the plane Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 132
; Setting the path feedrate N40 CYCLE840(3, 0, , -15, 0, 0, , ,0, 3.5, ,3) ; Cycle call without safety clearance N50 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
This cycle can be used for reaming of bore holes. Sequence Position reached prior to cycle start: The drilling position is the position in the two axes of the selected plane. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 134
The workpiece upper edge is at Z0. N10 G90 G0 S300 M3 N20 T3 G17 G54 Z70 X0 ; Approach drilling position Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Then, the programmed retraction positions are approached in rapid traverse and, from there, the retraction plane. Sequence Position reached prior to cycle start: The drilling position is the position in the two axes of the selected plane. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 136
Use this parameter to define a retraction motion along the 1st axis (abscissa), which is performed after reaching the final drilling depth and oriented spindle stop. RPAP (retraction path along the boring axis) Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 137
; Approach drilling position N50 CYCLE86 (112, 110, , DP, , DTB, ; Cycle call with absolute drilling depth 3, –1, 0, +1, POSS,) N60 M30 ; Program end Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● Traversing to final drilling depth with G1 and the feedrate programmed prior to the cycle call ● Spindle stop with M5 ● Press <CYCLE START> ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 139
N30 D3 T3 Z13 ; Approach retraction plane N50 CYCLE87 (13, 10, 2, -7, , 3) ;Cycle call with programmed direction of rotation of spindle N60 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● Dwell time at final drilling depth ● Spindle and program stop with M5 M0. After program stop, press the <CYCLE START> key. ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 141
;Approach drilling position N30 CYCLE88 (5, 2, 3, , 72, 3, 4) ; Cycle call with programmed direction of rotation of spindle N40 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
● Retraction up to the reference plane brought forward by the safety clearance using G1 and the same feedrate value ● Retraction to the retraction plane with G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 143
N10 G90 G17 F100 S450 M4 ; Specification of technology values N20 G0 X0 Z107 ;Approach drilling position N30 CYCLE89(107, 102, 5, 72, ,3) ; Cycle call N40 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
(in the D offset under the parameter DP24). A value between 1 and 90 degrees (0=no monitoring) without sign must be specified for the angle. Longitudinal contour monitoring: Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 145
If the tool clearance angle is specified with zero in the tool compensation, this monitoring will not be performed. For details on the reactions, please refer to the individual cycles. Planar contour monitoring: Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
As of depth DIAG2, you can also program a reduced feedrate FF2 or a reduced speed SS2, in order to adapt the velocity to the smaller diameter. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 147
The easiest way to part off a component is to use CYCLE92. The cycle can be found and parameterised from the "Turn." softkey. "Turn." Press "Turn.". "Cutoff" Press "Cutoff". Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
REAL Flank angle 2: on the other side (enter without sign) Range of values: 0<=ANG2<89.999 RCO1 REAL Radius/chamfer 1, externally: on the side determined by the starting point Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 149
1. Step Paraxial roughing down to the base of the groove in single infeed steps. After each infeed, the tool is retracted for chip breaking. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 150
Machining of the flanks in one step if angles are programmed under ANG1 or ANG2. Infeed along the groove width is carried out in several steps if the flank width is larger. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 151
Radii and chamfers at the groove edge make sense with bent contours only if the appropriate edge point is on the straight line specified for the cycle. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 152
Use the STA1 parameter to program the angle of the oblique line at which the groove is to be machined. The angle can assume values between 0 and 180 degrees and always refers to the longitudinal axis. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 153
DTB (dwell time) The dwell time at the groove base should be selected such that at least one spindle revolution is carried out. It is programmed in seconds. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 154
If no D number is programmed for a tool compensation when the cycle is called, the execution of the cycle is aborted with the alarm 61000 "No tool compensation active". Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 155
; Cycle call -2, 1, 1, 10, 1, 5,0.2) Retraction distance of 0.2 mm programmed N40 G0 G90 X50 Z65 ;Next position N50 M02 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The starting position can be any position from which the undercut can be approached without collision. The cycle creates the following sequence of motions: ● Approach of the starting point determined in the cycle by using G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 158
Form E and form F are fixed in DIN509 and must be defined using this parameter. If the parameter has a value other than E or F, the cycle aborts and creates alarm 61609 "Form defined incorrectly". Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 159
VARI=1...4: Definition of undercut position For VARI<>0, the following applies: ● The actual cutting edge position is not checked, i.e., all positions can be used if technologically suitable. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 160
N20 G0 G90 Z100 X50 ; Selection of starting position N30 CYCLE94(20, 60, "E",) ; Cycle call N40 G90 G0 Z100 X50 ; Approach next position N50 M02 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Finishing is performed in the same direction as roughing. The tool radius compensation is selected and deselected by the cycle automatically. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 162
● This sequence is repeated until the total depth of the machining step is reached. ● When roughing without relief cut elements, retraction to the cycle starting point is carried out axis by axis. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 163
● The contour starting point is approached with G0 in both axes at the same time. ● Finishing along the contour with G1/G2/G3 and FF3 ● Retraction to the starting point with both axes and G0 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 164
Use the "Tech. interface" softkey to confirm your input and return to the cycle help screen form. Examples: NPP=CONTOUR_1 ;The rough turning contour is the complete program CONTOUR_1. NPP=START:END ;The rough turning contour is Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 165
FALX if you want to specify different finishing allowances axis-specifically or via the parameter FAL for a finishing allowance that follows the contour. In this case, this value is taken into account in both axes as a finishing allowance. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 166
Figure NO TAG. VARI (machining type) The machining type can be found in the table below. Value Longitudinal/fac Ext./int. Roughing/finishing/complete Roughing Roughing Roughing Roughing Finishing Finishing Finishing Finishing Complete machining Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 167
The VARI parameter is subjected to a plausibility check. If its value is not in the range 1 ... 12 when the cycle is called, the cycle is aborted with alarm 61002 "Machining type defined incorrectly". Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 168
If any other motion commands are programmed in the contour, the cycle is aborted with the alarm 10930 "Illegal type of interpolation in the stock removal contour". Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 169
The cycle provides contour monitoring with regard to the following: ● Clearance angle of the active tool ● Circular programming of arcs with an arc angle > 180 degrees Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 170
The last point before the cycle is called must therefore be selected such that this approach is possible without collision and space enough is provided to carry out the appropriate compensatory motion. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 171
Cutting will not be interrupted when roughing. The maximum infeed is 5 mm. The contour is stored in a separate program. Figure 2-6 Programming example 1: Stock removal cycle Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 172
The stock removal contour is defined in the calling program and is traversed directly after the cycle for finishing has been called. Figure 2-7 Programming example 2: Stock removal cycle Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 173
The easiest way to rough and finish around a contour is to use the contour turning cycle. "Turn." From the program editor screen, press "Turn.". "Stock removal" 2. From the vertical softkey, select "Stock removal" and parameterise the cycle according to the requirement. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 174
The contour can be edited and stored in the main program file after the M30 command when using the "Attach contour" softkey. "OK" Press "OK". The values and cycle call are transferred into the part program as shown below: Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 175
The following example describes how to process a cavity profile and how to define the subroutine of a contour with the contour functionality. G500 G18 G95 G0X50 Z100 M4S1500 G0X50Z0.5 G01X-2F0.15 G0X50 Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
You can use this cycle to perform thread undercuts to DIN76 for parts with a metrical ISO thread. Sequence Position reached prior to cycle start: The starting position can be any position from which each thread undercut can be approached without collision. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 178
Thread undercuts of the forms C and D are used for internal threads, form C for a standard run-out of the thread, and form D for a short run-out. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 179
The position of this starting point referred to the programmed coordinate values is determined by the tool point direction of the active tool. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 180
; Selection of starting position N30 CYCLE96 (42, 60, "A",) ; Cycle call N40 G90 G0 X100 Z100 ; Approach next position N50 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Definition of the machining type for the thread Range of values: 1 ... 4 NUMTH Number of thread turns (enter without sign) _VRT REAL Variable retraction path based on initial diameter, incremental (enter without sign) Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 182
● The finishing allowance is removed in the following step with G33. ● This step is repeated according to the number of idle passes. ● The whole sequence of motions is repeated for each further thread turn. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 183
In this case, the infeed will be performed using different values for the infeed depth. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 184
The VARI parameter can assume values between 1 and 4 with the following meaning: Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 185
To produce a multiple-turn thread with an asymmetrical arrangement of the thread turns on the circumference, the cycle for each thread turn must be called when programming the appropriate starting point offset. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 186
10, 10, 0.92, , , , 5, 1, 1.5, 2, 2, 3, 1,) N40 G0 X55 ; Traverse axis by axis N50 Z10 N60 X40 N70 M2 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Internal parameter, only the default value 0 is possible Values: PSYS Internal parameter, only the default value 0 is possible Values: PSYS Internal parameter, only the default value 0 is possible Values: Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 188
Right-hand or left hand thread is determined by the direction of rotation of the spindle which must be programmed prior to the cycle start. Both feed and spindle override are ineffective in the traversing blocks with thread. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 189
Use this parameter to define the thread diameter of starting and end point of the thread. In the case of internal threads, this is the tap-hole diameter. Interrelation SPL, FPL, APP and ROP (starting, end point, run-in and run-out path) Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 190
The infeed type with alternating flanks is only possible for cylindrical threads. If the value of IANG for tapered threads is nonetheless negative, the cycle will carry out a flank infeed along a flank. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 191
The VARI parameter can assume values between 1 and 4 with the following meaning: Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 192
PSYS (the last parameter displayed on the screen) This parameter specifies the selection of longitudinal thread, face thread or taper thread. Figure 2-8 0 = longitudinal thread Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 193
Cycles 2.5 Turning cycles Figure 2-9 10 = face thread Figure 2-10 20 = taper thread Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 194
5, 2, 4.5, 300101, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, , , ,0) N60 G0 G90 X100 Z100 ; Approach next position N70 M30 ; End of program Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
The error numbers are classified as follows: ● X=0 General cycle alarms ● X=1 Alarms generated by the drilling, drilling pattern and milling cycles ● X=6 Alarms generated by the turning cycles Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
An example of messages is as follows: "Depth: according to the value for the relative depth" from all drilling cycles. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
T2: the tool for grooving T3: the tool for thread cutting Programming example1 S2000 M03 F0.4 G0 X60 Z10 CYCLE95( "PART_CONTOUR:END_T", 1.00000, , ,0.20000, 0.30000, 0.20000, 0.10000, 9, , ,1.00000) Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...
Page 198
X40 Z-38.7 RND=2 Z-46 END_T: Programming example2 The following example describes how to process a cavity profile and how to define the subroutine of a contour with the contour functionality. Turning Part 2: Programming (Siemens instructions) Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0...