Configuring the HMI system
2.1 Processing INI files
HMI Advanced (IM4)
38 Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
expr: This can be an IF statement or a bitmap file assignment.
Syntax:
expr=<IF_Statement> or
expr=<Bmp_Assignment>
<IF_Statement>::= IF <BoolExpression> THEN
<Statement>ELSE<Statement>
<Bmp_Assignment>::= BMP = <BitmapNr>
<Statement>::= <EntryName> or
<Statement>::= <Bmp_Assignment>
<BoolExpression>::= <Val> or
<BoolExpression>::= <Val><OP><Value>
<Val>::= # or
<Val>::= #.<BitNr>
<BitNr>::=Bit number to be evaluated (0..31)
<OP>::= < , > ,= ,>=, <=, <>
An expression must occupy one line.
<EntryName>::= any name, which must be defined in the same section as expr. It is treated
in the same way as expr.
<BitmapNr>::= Number of a bitmap file. The numbers 0 to 99 are reserved for Siemens.
Internal bitmaps must be defined in the [BMP] section.
The predefined numbers have the following significance:
0: do not display bitmap
1: OK Displaying the bitmap
2: Not OK Displaying the bitmap
3: Error → alarm is present Displaying the bitmap
4: Not applicable Displaying the bitmap
5: No drive allocated Displaying the bitmap
6: Communication error
Displaying the bitmap
[BMP]
Any customized bitmaps can be specified in this section. The first bitmap in the [BMP]
section must have number 100, the second 101 ...
The name must be specified in double inverted commas. If no path is stated, the system
searches for the bitmap in mmc2 or addon, oem, user…, otherwise in the specified path.
Example: Signal for measuring system 1 active
[GLOBAL]
NrOfSignals=1
[BMP]
100="test.bmp"
101="c:\tmp\test2.bmp"