H Function; Arithmetic Parameters, Lud And Plc Variables; Arithmetic Parameter R - Siemens sinumerik 808d Programming And Operating Manual

Hide thumbs Also See for sinumerik 808d:
Table of Contents

Advertisement

1.8

H function

Functionality
With H functions, floating point data (REAL data type - as with arithmetic parameters, see
Section "Arithmetic parameter R (Page 85)") can be transferred from the program to PLC.
The meaning of the values for a given H function is defined by the machine manufacturer.
Programming
H0=... to H9999=...
Programming example
N10 H1=1.987 H2=978.123 H3=4
N20 G0 X71.3 H99=-8978.234
N30 H5
Note
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 function outputs of this type are
possible in a part program block.
1.9

Arithmetic parameters, LUD and PLC variables

1.9.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 set or calculated
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=...
R[R0]=...
X=R0
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
;Max. 3 H functions per block
;3 H functions in block
;With axis movements in block
;Corresponds to H0=5.0
;Assign values to the arithmetic parameters
;Indirect programming: Assign a value to the arithmetic parameter R,
whose number can be found, e.g. in R0
;Assign arithmetic parameters to the NC addresses, e.g. for the X axis
Programming principles
1.8 H function
85

Advertisement

Table of Contents
loading

Table of Contents