EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #385 background imageLoading...
Page #385 background image
Programming
2.3 Variables
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-35
DEF VAR6= (V///,"\\image1.bmp" ////160,40,50,50)
Position of short text: image1.bmp
Position of input/output field
Distance from left: 160
Distance from the top: 40
Width: 50
Height: 50
Colors: No data, i.e., default
Help: none
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"

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK
CategoryControl Unit
LanguageEnglish

Related product manuals