Siemens SINUMERIK Commissioning Manual page 385

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

DEF VAR6= (V///,"\\image1.bmp" ////160,40,50,50)
2.3.13
Use of strings
Strings
Strings can be used as part of the configuration. These allow text to be displayed
dynamically or different texts to be chained for the purpose of code generation.
Rules
The following rules must be observed with regard to string variables:
● Logic operations are processed from left to right.
● Nested expressions are solved from the inside outwards.
● No distinction is made between uppercase and lowercase type.
Strings can be deleted simply by assigning a blank string.
Strings can be appended after the equality sign using the operator "<<". Quotation marks (")
in the string are represented by two successive quotation mark symbols. Strings can be
checked for equality in IF instructions.
Example
Default settings for the following examples:
VAR1.VAL = "This is an"
VAR8.VAL = 4
VAR14.VAL = 15
VAR2.VAL = "Error"
$85001 = "This is an"
$85002 = "Alarm text"
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Position of short text:
Position of input/output field
Distance from left:
Distance from the top:
Width:
Height:
Colors:
Help:
image1.bmp
160
40
50
50
No data, i.e., default
none
Programming
2.3 Variables
2-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents