Programming
10.7 Miscellaneous function M
Cylindrical grinding
Programming and Operating Manual, 07/2009, 6FC5398-4CP10-2BA0
301
10.7
Miscellaneous function M
Functionality
The miscellaneous function M initiates switching operations, such as "Coolant ON/OFF" and
other functionalities.
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.
Note
An overview of the M miscellaneous functions used and reserved in the control system can
be found in section "Overview of instructions".
Programming
M...
;Max. 5 M functions per block
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. Please note: This block interrupts the G64 continuous
path mode and generates exact stop.
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
Содержание SINUMERIK 802D
Страница 6: ...Preface Cylindrical grinding 6 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 12: ...Table of contents Cylindrical grinding 12 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 64: ...Define 4 10 User data Cylindrical grinding 64 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 152: ...System 8 7 Alarm display Cylindrical grinding 152 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 334: ...Programming 10 15 Oscillation Cylindrical grinding 334 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 394: ...Appendix A 5 Overview Cylindrical grinding 394 Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 ...
Страница 399: ...Index Cylindrical grinding Programming and Operating Manual 07 2009 6FC5398 4CP10 2BA0 399 W Word structure 221 ...