General Purpose M Codes - Siemens SINUMERIK 802D sl Programming Manual

Iso milling
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

04.07
Limitations
Only one M function replacement (or one subprogram call) can be performed on
each part program line. Conflicts with other subprogram calls are reported with
alarm 12722. No more M functions will be replaced in the subprogram replaced.
Generally, the same limitations apply as with G65.
Configuring example
Call the subprogram M101_MAKRO by the M function M101
$MN_EXTERN_M_NO_MAC_CYCLE[0] = 101
$MN_EXTERN_M_NO_MAC_CYCLE_NAME[0] = "M101_MAKRO"
Call of the subprogram M6_MAKRO by the M function M6.$MN_EX-
TERN_M_NO_MAC_CYCLE[1] = 6
$MN_EXTERN_M_NO_MAC_CYCLE_NAME[1] = "M6_MAKRO"
Program examples for tool change with M function:
PROC MAIN
...
N10
...
N90
...
N0010
N0020
N0030
N0040
N0050
N0060
3.6.6

General purpose M codes

Other general M codes
The functions of the M codes other than the specific M codes are determined by
the machine tool builder. The representative use of several general M codes is
given below. For details, refer to the instruction manuals published by the machine
tool builder. If an M code is specified with axis move commands in the same block,
whether the M code is executed with the axis move commands simultaneously or it
is executed after the completion of the axis move commands is determined by the
machine tool builder. For details, refer to the instruction manuals published by the
machine tool builder.
© Siemens AG 2007 All rights reserved
SINUMERIK 802D sl/840D/840D sl/840Di/840Di sl/810D ISO Milling (PGM) - - 04.07 Edition
M6 X10 V20
M30PROC M6_MAKRO
R10 = R10 + 11.11
IF $C_X_PROG == 1 GOTOF N40 display($C_X_PROG)
SETAL(61000)
;programmed variable transferred
;incorrectly
IF $C_V == 20 GTOF N60 display($C_V)
SETAL(61001)
M17
Movement Control Commands
3.6 S, T, M, and B functions
3-89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents