Programming
2.3 Variables
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-19
"Display in display"
You can insert further displays in the background (Help display), even as a function of the
values of variables.Like for softkeys you can assign a graphics file to a display field.
Examples:
● Short text field is overlaid with graphics:
DEF VAR1=(S///,"\\image1.bmp" ////160,40,50,50) ;Type S irrelevant
● Toggle field overlaid with graphics, the graphic being selected with a PLC flag byte:
DEF
VAR1=(IDB/*1="\\image1.bmp",2="\\image2.bmp"//,$85000/wr1//"MB[0]"//160,40,50,50)
The height of the displayed graphic (of the I/O field) is specified as the fourth parameter in
respect of the positions. You can also define bitmaps in fields (short text, I/O field).
See also
Search function for images (Page 6-14)
List of colors (Page A-5)
2.3
2.3
Variables
2.3.1
Variable properties
Variable value
The most basic property of a variable is its value.
The value of variables can be assigned by means of:
● Default settings when defining variables
● Assignment to a system or user variable
● A method
Programming
Syntax:
Identifier val = Variable value
Identifier = Variable value
Description:
Variable value val (value)
Parameters:
Identifier:
Name of the variable
Variable value:
Value of variable
Example
VAR3 = VAR4 + SIN(VAR5)
VAR3.VAL = VAR4 + SIN(VAR5)
Содержание SINUMERIK
Страница 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 24: ...Introduction 1 5 Limits of data management HMI Advanced IM4 18 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 96: ......
Страница 338: ...List of Abbreviations B 1 Abbreviations HMI Advanced IM4 332 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 464: ...Programming 2 8 Operators Expanding the user interface 2 114 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...
Страница 638: ...References for text generation Generating target language texts TX2 40 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 672: ...Commissioning a system 1 4 BIOS settings PCU Basesoftware IM8 32 Commissioning Manual 03 2009 6FC5397 1DP10 4BA0 ...