Expanding the Operator Interface (BE1) 08/2005
3 Syntax
© Siemens AG, 2005. All rights reserved
BE1/3-66 SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
//S (Identifier) ;Start identifier of softkey menu
...
//END ;End identifier of softkey menu
where:
Identifier Name of softkey menu
//S(Menu1) ;Start identifier of softkey menu
HS1=("OK",ac6,se1) ;Definition of 1st horizontal softkey,
;see Defining a softkey
HS2=("Exit")
HS3=("\\bild1.bmp") ;Display (symbol) on softkey
VS2=("Sub-form")
VS3=($85011, ac7, se2)
PRESS(HS1) ;Start identifier of method
HS1.st="Calculate" ;Change softkey label
...
END_PRESS ;End identifier of method
PRESS(RECALL) ;Start identifier of method
LM("Form21") ;Load Form function
END_PRESS ;End identifier of method
//END ;End identifier of softkey
Defining a softkey
Properties are assigned to softkeys in the softkey definition line:
SK = (Text[, Access level][, Status]) or HK = ("", access level)
where:
SK Softkey, e.g., HS1 to HS8, VS1 to VS8 (not with HT6)
HK hotkey UK1 to UK8, SK1, SK2 and TEACH (HT6 only)
Text
Labeling of softkeys as described in
Section 1.4 "Syntax rules in this documentation"
Creation of text see also Section 7.1 "General information about the configuring
environment"
Display: See Subsection 3.3.10 "Display images".
Instead of a text, a picture file name
is specified in the following form:
"\\my_pic.bmp" or via a separate text file
$85199 with the following text in the
(language-specific) text file: E.g.,
85100 0 0 "\\c:\pic\my_pic.bmp". An image
to be displayed on a softkey may
be 80 * 34 pixels in size.
Note
A line break in the softkey text is created with %n. A maximum of 2 lines of 10
characters are available in HMI Advanced and 2 lines of 9 characters in HMI
Embedded. Two lines of 6 characters each are available to the HT6.