Siemens SINUMERIK 840D sl Programming Manual page 160

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

Advertisement

Fundamentals
2.8 Geometry settings
Example
The basic system is metric (MD10240 $MN_SCALING_SYSTEM_IS_METRIC = 1). However,
the workpiece drawing has dimensions shown in inches. This is the reason why within the part
program, the inch system of units is selected. After the inch dimensions have been processed,
the metric system of units is again selected.
Program code
N10 G0 G90 X20 Y30 Z2 S2000 M3 T1
N20 G1 Z-5 F500
N30 X90
N40 G70 X2.75 Y3.22
N50 X1.18 Y3.54
N60 G71 X20 Y30
N70 G0 Z2
N80 M30
Further information
Reading and writing data in the case of G70/G71 and G700/G710
Data area
Display, decimal places (WCS)
Display, decimal places (MCS)
Feedrates
Position data X, Y, Z
160
Comment
; X=20 mm, Y=30 mm, Z=2 mm, F=rapid traverse
mm/min
; Z=-5 mm, F=500 mm/min
; X=90 mm
; programmed system of units: inch
; X=2.75 inch, Y=3.22 inch, F=500 mm/min
; X=1.18 inch, Y=3.54 inch, F=500 mm/min
; programmed system of units: Metric
; X=20 mm, Y=30 mm, F=500 mm/min
; Z=2 mm, F=rapid traverse mm/min
; end of program
G70 / G71
Read
Write
P
P
G
G
G
G
P
P
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
G700 / G710
Read
Write
P
P
G
G
P
P
P
P
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents