Miscellaneous Function M - Siemens SINUMERIK 808D ADVANCED Programming And Operating Manual

Computer numeric control
Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

Note
The modified setting data will become effective with the next cutting edge selection.
Examples
With SD 42950: TOOL_LENGTH_TYPE =2
a milling tool used is taken into account in length compensation as a turning tool:
● G17: Length 1 in Y axis, length 2 in X axis
● G18: Length 1 in X axis, length 2 in Z axis
● G19: Length 1 in Z axis, length 2 in Y axis
With SD 42940: TOOL_LENGTH_CONST =18
the length assignment is performed in all planes G17 to G19 as for G18:
● Length 1 in X axis, length 2 in Z axis
Setting data in the program
In addition to setting of setting data via operator input, these can also be written in the program.
Programming example
N10 $MC_TOOL_LENGTH_TYPE=2
N20 $MC_TOOL_LENGTH_CONST=18
8.12

Miscellaneous function M

Functionality
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.
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
106
;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
Programming and Operating Manual (Turning)
6FC5398-5DP10-0BA2, 06/2015

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents