08/2005 Expanding the Operator Interface (BE1)
3 Syntax
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
BE1/3-23
3.3 Syntax of the screen form description
3.3.1 Define a screen form
A screen form is part of a user interface consisting of a display line, form elements
and/or graphic, dialog line and 8 horizontal and 8 vertical softkeys.
Form
element
Display line with headline and long text
Header
8 horizontal softkeys
Dialog line
Graphic
8 vertical
softkeys
The definition of a screen form (form definition block) is basically structured as
follows:
Start identifier of form
//M...
Variables
DEF Var1=...
...
Softkeys
HS1=(...)
...
Methods
Actions
End of method
PRESS(HS1)
LM...
END_PRESS
End identifier of form
//END
Within the screen form definition block, various variables that appear as form
elements in the screen form, as well as horizontal and vertical softkeys, are defined
first.
Different types of actions are then configured in methods.
The following rules must be observed when configuring screen forms:
• Texts/strings, path names and system or user variables must always be
enclosed in quotation marks (" ... ").
• The Identifier parameter must be unique and always comprises a minimum of 2
and maximum of 32 characters. The first two characters must be two letters or
an underscore and a letter (a-z, A-Z, _).
• The system does not distinguish between upper and lower case type.