Programming
2.1 Getting started
Expanding the user interface
2-4 Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Example
//S (START) ; Definition of the start softkey (optional)
....
//END
//M (.....) ; Definition of the dialog
DEF ..... ; Definition of variables
LOAD ; Description of the blocks
...
END_LOAD
UNLOAD
...
END_UNLOAD
ACTIVATE
...
END_ACTIVATE
...
//END
//S (...) ; Definition of a softkey menu
//END
2.1.4 Troubleshooting (log book)
Overview
The log book is a file (Error.com) to which error messages generated by syntax interpretation
are written. The operator himself must set up the file in the comment directory (HMI
Advanced).
Example
DEF VAR1 = (R)
DEF VAR2 = (R)
LOAD
VAR1 = VAR2 + 1 ; Error message in log book, as VAR2 has no value.
Syntax
The system does not start to interpret syntax until the start softkey has been defined and a
dialog with start and end identifiers as well as a definition line has been configured.