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 Comment
N1 R1=STRINGIS("TRACYL") ; R1 == 0, because TRACYL is identified as
"not known" because of the missing transformation
option
N2 IF STRINGIS("TRACYL") == 204
N3 TRACYL(1,2,3) ; N3 is skipped
N4 ELSE
N5 G00 ; and instead, N5 is executed
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(...): Subprogram identifier
The parameters are specified position-coded and separated by a comma
within two strings, the command string and the acknowledgement string.
Parameters within the command string:
Work preparation
3.23 Additional functions
NC programming
992 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0