Programming
10.8 H function
Surface grinding
274
Programming and Operating Manual, 11/2012, 6FC5398-5CP10-3BA0
Programming example
N10 S...
N20 X... M3
;M function in the block with axis movement, spindle
accelerates before the X axis movement
N180 M78 M67 M10 M12 M37
;Max. 5 M functions in the block
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 such function outputs are possible
in a block.
Information
With the SINUMERIK 802D sl plus and 802D sl pro, two spindles are possible. This results in
an expanded programming capability for the M commands - only for the spindles:
M1=3, M1=4, M1=5, M1=40, ... ; M3, M4, M5, M40, ... for spindle 1
M2=3, M2=4, M2=5, M2=40, ... ; M3, M4, M5, M40, ... for spindle 2
10.8
H function
Functionality
With H functions, floating point data (REAL data type - as with arithmetic parameters, see
Section "Arithmetic Parameters R") 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