EasyManuals Logo

Siemens SINUMERIK 804D sl Commissioning Manual

Siemens SINUMERIK 804D sl
1734 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 #1093 background imageLoading...
Page #1093 background image
Treatment of numerical values:
VAR13.VAL = "Error" << VAR14.VAL << ": " << $85001 << $85002
;Result: "Error 15: "This is an alarm text"
IF VAR15 == "Error" ;Strings in IF statement
VAR16 = 18.1234
;Result: VAR16 equals 18.1234,
;if VAR15 equals "Error".
ENDIF
Quotation marks within a string:
VAR2="Hello, this is a " Test""
;Result: Hello, this is a " Test"
System or user-variable strings dependent on variable content:
VAR2.Var = "$R[" << VAR8 << "]" ;Result: $R[4]
See also
STRING functions (Page 182)
Variables
5.15 Use of strings
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 107

Table of Contents

Other manuals for Siemens SINUMERIK 804D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 804D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 804D sl
CategoryControl Systems
LanguageEnglish

Related product manuals