Starting Up HMI Embedded (IM2) 08/2005
9 Configure Windows in the NC Program
© Siemens AG, 2005. All rights reserved
IM2/9-128 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
9.4 Example program 2: Hold time and optional text variables
Parts program
N10 MMC("CYCLES,PICTURE_ON,T_SK.COM,SCREEN6,GUD4.DEF,,10,
T1,G1","N")
N15 G4 F15
N30 MMC("CYCLES,PICTURE_OFF","N")
N40 M30
Dialog screen file (*.COM)
//C6(screen6)
(R///USER VAR TEST_1,%1/W/TEST_1///)
Text variable
[TEXT VARIABLES]
T1 = Example2: Hold time and optional text variables…
G1 = Optional text variable
The 7th parameter is interpreted as the display time for the mode without
acknowledgment (10 seconds).
The contents of the table are then deleted. The screen form remains on the screen
until Picture_off is selected.
The 8th parameter (T1) is the text variable for the screen header. If there is no
entry, the operating area name (cycles) is displayed.
The parameters 9 to 23 are optional text variables (in this case "G1=optional text
variable").
In this COM file, the optional text variables must be loaded with default values in
the "[Text variables]" section.
Example 2: hold time and optional text variables
ANW.VAR TEST_1, optional text variable
1.000000