Siemens SINUMERIK 840D sl Programming Manual page 95

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Program code
N40 G1 X20 F0.3 G95
Example 3: Defining cutting speeds for two spindles
Program code
N10 SVC[3]=100 M6 T1 D1
N20 SVC[5]=200
Example 4:
Assumptions:
Master or tool change is determined by the tool carrier:
MD20124 $MC_TOOL_MANAGEMENT_TOOL CARRIER > 1
In the event of a tool change the old tool offset is retained. A tool offset for the new tool is only
activated when D is programmed:
MD20270 $MC_CUTTING_EDGE_DEFAULT = - 2
Program code
N10 $TC_MPP1[9998,1]=2
N11 $TC_MPP5[9998,1]=1
N12 $TC_MPP_SP[9998,1]=3
N20 $TC_MPP1[9998,2]=2
N21 $TC_MPP5[9998,2]=4
N22 $TC_MPP_SP[9998,2]=6
N30 $TC_TP2[2]="WZ2"
N31 $TC_DP6[2,1]=5.0
N40 $TC_TP2[8]="WZ8"
N41 $TC_DP6[8,1]=9.0
N42 $TC_DP6[8,4]=7.0
...
N100 SETMTH(1)
N110 T="WZ2" M6 D1
N120 G1 G94 F1000 M3=3 SVC=100
N130 SETMTH(4)
N140 T="WZ8"
N150 M6
N160 SVC=50
N170 D4
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Comment
; SVC and revolutional feedrate
Comment
; The tool radius of the active tool offset is the
same for both spindles. The effective speed is dif-
ferent for spindle 3 and spindle 5.
Comment
; Magazine location is tool carrier
; Magazine location is tool carrier 1
; Tool carrier 1 is assigned to spindle 3
; Magazine location is tool carrier
; Magazine location is tool carrier 4
; Tool carrier 4 is assigned to spindle 6
; Radius = 5.0 mm of T2, offset D1
; Radius = 9.0 mm of T8, offset D1
; Radius = 7.0 mm of T8, offset D4
; Set master tool carrier number
; Tool T2 is loaded and offset D1 is activated.
; S3 = (100 m/min * 1000) / (5.0 mm * 2 * 3.14) = 3184.71 rpm
; Set master tool carrier number
; Corresponds to T8="WZ8"
; Corresponds to M4=6
Tool "WZ8" is in the master tool carrier, but because
MD20270=–2, the old tool offset remains active.
; S3 = (50 m/min * 1000) / (5.0 mm * 2 * 3.14) = 1592.36 rpm
The offset applied to tool carrier 1 is still active and as-
signed to spindle 3.
; Offset D4 of the new tool "WZ8" becomes active (in tool
carrier 4).
Fundamentals
2.6 Spindle motion
95

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents