Siemens SINUMERIK 840DE sl Commissioning Manual page 1093

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents