08/2005
2.7.5 Example 3: MMC Command with Synchronous Acknowledgment Mode
Part program
N15
MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN1,GUD4.DEF,,,F1","S")
N18 STOPRE
N20 TEST_1 = 5
N25 MMC(CYCLES, PICTURE_OFF","N")
M30
Dialog screen file (*.COM)
//C1(SCREEN1)
(R///USER VAR TEST_1/W/TEST_1///)
Text variable
F1 = ...Example3: MMC command with synchronous acknowledgment mode...
Example 3: MMC command with synchronous
USER VAR TEST_1
Sequence
The user variable Test_1 is displayed until the "OK" softkey is pressed.
The user variable has also been overwritten with the value 5 here.
Without STOPRE, this assignment would be carried out before the keyboard input
(after it with STOPRE).
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D Installation and Start-Up HMI (IAM) - 08/2005 Edition
Commissioning HMI Advanced (IM4)
2 Functions/Parameterization
1.000000
OK
IM4/2-141