M Functions - Siemens SINUMERIK 840Di sl Programming Manual

Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Caution
Function outputs in continuous-path mode
Function outputs before the traversing movements interrupt continuous-path mode
(G64/G641) and generate an exact stop for the previous block.
Function outputs after the traversing movements interrupt continuous-path mode
(G64/G641) and generate an exact stop for the current block.
Important:A wait for an outstanding acknowledgment signal from the PLC can also cause an
interruption to continuous-path mode, e.g., M instruction sequences in blocks with extremely
short path lengths.
9.1.1

M functions

Function
M functions can trigger, for example, switching operations such as "Coolant ON/OFF" and
other operations on the machine. Permanent functions have already been assigned to some
of the M functions by the control manufacturer (see list of predefined M functions).
Programming
M... Possible values. 0 to 9999 9999 (max. INT value), integer
Parameters
List of predefined M functions
M0*
M1*
M2*
M30*
M17*
M3
M4
M5
M6
M70
M40
M41
M42
M43
M44
M45
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Programmed stop 1
Optional stop
End of main program with return to beginning of program
End of program, same effect as M2
End of subprogram
Spindle clockwise
Spindle counterclockwise
Spindle stop
Tool change (default setting)
Spindle is switched to axis mode
Automatic gear change
Gear stage 1
Gear stage 2
Gear stage 3
Gear stage 4
Gear stage 5
Special functions
9.1 Auxiliary function outputs
413

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents