Programming Manual; Interactively Call The Window From The Part Program (Mmc) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.23 Additional functions
Example
The machine data, relevant for the function STRINGIS(...), has the following values:
● MD10711 $MN_NC_LANGUAGE_CONFIGURATION = 2 (only the NC language
commands whose options are set are considered to be known)
● MD19410 $ON_TRAFO_TYPE_MASK = 'H0' (option: transformations)
● MD10700 $MN_PREPROCESSING_LEVEL='H43' (preprocessing for cycles is active)
The following program example is executed without error message:
Program code
N1 R1=STRINGIS("TRACYL")
N2 IF STRINGIS("TRACYL") == 204
N3
N4 ELSE
N5
N6 ENDIF
N7 M30
3.23.3

Interactively call the window from the part program (MMC)

User-specific dialogs from an NC program can be displayed on the user interface via the
predefined subprogram MMC(...).
The configuration of the dialogs can be done for the following types of dialogs:
● Run MyScreens
● Easy XML
● User XML
Further information:
● Programming Manual Run MyScreens
● Programming Manual Easy XML
Syntax
MMC("<ADDRESS>,<COMMAND>,<FILE>,<DIALOG>","<QUIT>")
Meaning
MMC(...):
Parameters within the command string:
992
TRACYL(1,2,3)
G00
Subprogram identifier
The parameters are specified position-coded and separated by a comma
within two strings, the command string and the acknowledgement string.
Comment
; R1 == 0, because TRACYL is identified as
"not known" because of the missing transformation
option
; N3 is skipped
; and instead, N5 is executed
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents