Miscellaneous Function M - Siemens sinumerik 808d Programming And Operating Manual

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

Advertisement

Programming principles

1.7 Miscellaneous function M

1.7
Miscellaneous function M
Functionality
The miscellaneous function M initiates switching operations, such as "Coolant ON/OFF" and
other functions.
Various 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.
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 after the traversing movements.
The functions M3, M4, 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.
Note
The M function interrupts the G64 continuous path mode and generates exact stop:
Programming example
N10 S1000
N20 G1 X50 F0.1 M3
N180 M78 M67 M10 M12 M37
M30
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.
84
;Max. 5 M functions per block
;M function in the block with axis movement, spindle
accelerates before the X axis movement
;Max. 5 M functions in the block
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
Turning Part 2: Programming (Siemens instructions)

Advertisement

Table of Contents
loading

Table of Contents