Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
iii
Table of contents
1 Scope of performance ............................................................................................................................ 1-1
2 Programming.......................................................................................................................................... 2-1
2.1 Getting started............................................................................................................................ 2-1
2.1.1 Fundamentals of Configuration.................................................................................................. 2-1
2.1.2 Configuration and start files ....................................................................................................... 2-2
2.1.3 Structure of configuration file ..................................................................................................... 2-3
2.1.4 Troubleshooting (log book) ........................................................................................................ 2-4
2.2 Structure and elements of a dialog ............................................................................................ 2-6
2.2.1 Defining a dialog ........................................................................................................................ 2-6
2.2.2 Example Opening the Dialog ..................................................................................................... 2-8
2.2.3 Dialog properties...................................................................................................................... 2-10
2.2.4 Dialog elements ....................................................................................................................... 2-13
2.2.5 Dialogs with multiple columns.................................................................................................. 2-15
2.2.6 Unifying the dialog appearance ............................................................................................... 2-15
2.2.7 Using display images/graphics ................................................................................................ 2-17
2.3 Variables .................................................................................................................................. 2-19
2.3.1 Variable properties................................................................................................................... 2-19
2.3.2 Programming variables ............................................................................................................ 2-21
2.3.3 Detailed information about the variable type [1] ...................................................................... 2-24
2.3.4 Detailed information about the toggle field [2] ......................................................................... 2-27
2.3.5 Detailed information about the default setting [3] .................................................................... 2-28
2.3.6 Detailed information about the position of the short text [8] and position of the input/output
field [9]...................................................................................................................................... 2-29
2.3.7 Detailed information about on Help [11] (HMI-Advanced only) ............................................... 2-29
2.3.8 Application examples ............................................................................................................... 2-30
2.3.9 Example 1: Assigning the Variable Type, Texts, Help, Colors properties ............................... 2-31
2.3.10 Example 2: Assigning the Variable Type, Limits, Attributes, Short Text Position properties .. 2-32
2.3.11 Example 3: Assigning the Variable Type, Default, System or User Variable, Input/Output
Field Position properties .......................................................................................................... 2-33
2.3.12 Examples relating to toggle field, Help call and image display................................................ 2-33
2.3.13 Use of strings ........................................................................................................................... 2-35
2.3.14 CURPOS variable .................................................................................................................... 2-36
2.3.15 CURVER variable .................................................................................................................... 2-37
2.3.16 ENTRY variable ....................................................................................................................... 2-38
2.3.17 ERR variable............................................................................................................................ 2-39
2.3.18 FILE_ERR variable .................................................................................................................. 2-40
2.3.19 FOC variable............................................................................................................................ 2-41
2.3.20 S_CHAN variable ..................................................................................................................... 2-42
2.4 Complex dialog elements......................................................................................................... 2-42
2.4.1 Array......................................................................................................................................... 2-42
2.4.2 Accessing the value of an array element................................................................................. 2-43
2.4.3 Example Access to an array element ...................................................................................... 2-45
2.4.4 Scanning the status of an array element ................................................................................. 2-47
2.4.5 Table grid (grid)........................................................................................................................ 2-47
2.4.6 Defining table grids .................................................................................................................. 2-49