Programming
2.1 Getting started
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-5
//S(Start)
HS6=("1st screen form")
PRESS(HS6)
LM("Screen form1")
END_PRESS
//END
//M(Screen form1)
DEF Var1=(R)
//END
Content of ERROR.COM
If "Expand user interface" detects errors when interpreting the configuration files, these
errors will be written to the ERROR.COM ASCII file.
The file indicates:
● The action during which an error occurred
● The line and column number of the first faulty character
● The entire faulty line of the configuration file
If the dialog was created using the PC test environment, then the error file will be stored in
the folder referenced by environment variable RAMDISK (HMI Embedded sl).
The ERROR.COM file is created only when errors actually occur during interpretation of the
configuration files.
Storage path of the ERROR.COM file:
● With HMI Embedded sl: In the /tmp/hmiemb folder on the CF card
● With HMI Advanced: In the \DH\COM.DIR\ folder
This file is deleted each time HMI Embedded sl / HMI Advanced is restarted.
Displaying the ERROR.COM file
HMI Advanced:
● Call the editor in the "Services" or "Startup" operating area.
HMI Embedded sl:
● "Setup" operating area → "HMI" → "Editor" → "Temp drive" (4th softkey on vertical softkey
bar; although this softkey is not displayed with the manufacturer password, it will
respond). (It is also displayed with the system password.)
● Select ERROR.COM.
● Press the <INPUT> key.
● With the “File functions” softkey, the file can also be copied to a PC by means of a
Windows network drive.