EasyManuals Logo

Siemens SINUMERIK 810D Commissioning Manual

Siemens SINUMERIK 810D
626 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 #105 background imageLoading...
Page #105 background image
08/2005 Expanding the Operator Interface (BE1)
3 Syntax
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
BE1/3-99
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]
String functions
The string functions described below are available from HMI Advanced software
release 6.3 onwards.
The following string functions are available:
• Determine length of string
• Find a character in a string
• Extract substring from left
• Extract substring from right
• Extract substring from mid-string
• Replace substring
String length
Syntax:
LEN(string | varname)
Parameter:
string Every valid string expression. NULL is output if string is empty
varname Any valid declared variable name
Function:
Determine the number of characters in a string.
Note:
Only one of the two parameters is allowed.
Example:
DEF VAR01
DEF VAR02
LOAD
VAR01="HELLO"
VAR02=LEN(VAR01) ;Result = 5
END_LOAD

Table of Contents

Other manuals for Siemens SINUMERIK 810D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals