Miscellaneous Function M - Siemens SINUMERIK 808D User Manual

Programming and operating manual (milling)
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

11.11

Miscellaneous function M

Fu n ctionality
The miscellaneous function M initiates switching operations, such as "Coolant ON/OFF" and other functions.
A small part of M functions have already been assigned a fixed functionality by the CNC manufacturer. The functions not yet
assigned fixed functions are reserved for free use of the machine manufacturer.
N o te
An overview of the M miscellaneous functions used and reserved in the control system can be found in Section "List of
instructions (Page 327)".
Programming
M...
Effect
Activation in blocks with axis movements:
If the functions M0 , M1, M2 are contained in a block with traversing movements of the axes, these M functions become
effective a fter the traversing movements.
The functions M3, M4 and M5 are output to the internal interface (PLC) before the traversing movements. The axis
movements only begin once the controlled spindle has ramped up for M3, M4. For M5, however, the spindle standstill is not
waited for. The axis movements already begin before the spindle stops (default setting).
The remaining M functions are output to the PLC with the traversing movements.
If you would like to program an M function directly before or after an axis movement, insert a separate block with this M
function.
N o te
The M function interrupts the G64 continuous path mode and generates exact stop:
Programming example
N10 S1000
N20 X10 M3 G1 F100
N30 M78 M67 M10 M12 M37
M30
N o te
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 such function outputs are possible in a block.
11.12
H function
Fu n ctionality
With H functions, floating point data (REAL data type - as with arithmetic parameters, see Section "Arithmetic parameter R
(Page 126)") 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=...
Programming example
N10 H1=1.987 H2=978.123 H3=4
N20 G0 X71.3 H99=-8978.234
N30 H5
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA6, 09/2017
;Max. 5 M functions per block
;M function in the block with axis movement, spindle acceler-
ates before the X axis movement
;Max. 5 M functions in the block
;Max. 3 H functions per block
;3 H functions in block
;With axis movements in block
;Corresponds to H0=5.0
125

Advertisement

Table of Contents
loading

Table of Contents