S-, T-, M- And B Functions; Spindle Function (S Function); Tool Function; Additional Function (M Function) - Siemens Sinumerik 840D sl Programming Manual

Iso milling
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

3.5

S-, T-, M- and B functions

3.5.1

Spindle function (S function)

The spindle speed is specified in rpm in Address S. The direction of spindle rotation is
selected with M3 and M4. M3 = right direction of spindle rotation, M4 = left direction of
spindle rotation. The spindle stops with M5. Details are available in the documentation of
your machine manufacturer.
● S commands are modal, i.e., they remain active up to the next S command once they are
● If the spindle speed is changed, please pay attention to which gear stage is currently set
● The lower limit for the S command (S0 or an S command near S0) depends on the drive
3.5.2

Tool function

There are different options of command output for the tool function. Details are available in
the documentation of your machine manufacturer.
3.5.3

Additional function (M function)

The M functions initiate switching operations, such as "Coolant ON/OFF" and other functions
on the machine. Various M functions have already been assigned a fixed functionality by the
CNC manufacturer (see the following section).
Programming
M... Possible values: 0 to 9999 9999 (max. INT value), integer
All free M function numbers can be assigned by the machine manufacturer, e.g. for switching
functions to control the clamping devices or for switching on/off of further machine functions.
See data of the machine manufacturer.
The NC-specific M functions are described below.
M functions to stop operations (M00, M01, M02, M30)
A program stop is triggered with this M function and the machining is interrupted or ended.
Whether the spindle is also stopped depends on the specification of the machine
manufacturer. Details are available in the documentation of your machine manufacturer.
ISO Milling
Programming Manual, 06/09, 6FC5398-7BP10-1BA0
programmed. The S command is maintained if the spindle is stopped with M05. If M03 or
M04 is programmed thereafter without specifying an S command, then the spindle starts
at the originally programmed speed.
for the spindle. Details are available in the documentation of your machine manufacturer.
motor and the drive system of the spindle and is different from machine to machine.
Negative values are not permitted for S! Details are available in the documentation of
your machine manufacturer.
Motion commands
3.5 S-, T-, M- and B functions
65

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 828dSinumerik 802d sl

Table of Contents