EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK User Manual

Siemens SINUMERIK
300 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
Programming and Operating Manual (Turning)
124 01/2017
Note
The M function interrupts the G64 continuous
path mode and generates exact stop.
Programming example
N10 S1000
N20 G1 X50 F0.1 M3
;M function in the block with axis movement, spindle acceler-
ates before the X axis movement
N180 M78 M67 M10 M12 M37
;Max. 5 M functions in the block
M30
Note
In addition to the 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.
11.13
H function
Functionality
With H functions, floating point data (REAL data type - as with arithmetic parameters, see Section "Arithmetic parameter R
(Page 124)") can be transferred from the program to the PLC.
The meaning of the values for a given H function is defined by the machine manufacturer.
Programming
H0=... to H9999=...
;Max. 3 H functions per block
Programming example
N10 H1=1.987 H2=978.123 H3=4
;3 H functions in block
N20 G0 X71.3 H99=-8978.234
;With axis movements in block
N30 H5
;Corresponds to H0=5.0
Note
In addition to the M and H functions, T, D and S functions can also be transferred to PLC (Programmable Logic Controller).
In all, a maximum of 10 function outputs of this type are
possible in a part program block.
11.14
Arithmetic parameters, LUD and PLC variables
11.14.1
Arithmetic parameter R
Functionality
The arithmetic parameters are used if an NC program is not only to be valid for values assigned once, or if you must
calculate values. The required values can be calculated or set by the control system during program execution.
Another possibility consists of setting the arithmetic parameter values by operator inputs. If values have been assigned to
the arithmetic parameters, they can be assigned to other variable-setting NC addresses in the program.
Programming
R0=... to R299=...
;Assign values to the arithmetic parameters
R[R0]=...
;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

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals