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 #1169 background imageLoading...
Page #1169 background image
Parameters: Start Starting position for searching for string1 in string2. En‐
ter 0 to start searching at the beginning of string2.
String1 Character that is being searched for.
String2 Character string in which the search is being made.
Direction (optional) Direction in which the search is being made.
0: From left to right (default setting)
1: From right to left
0 is returned if string1 does not occur in string2.
Example
DEF VAR01
DEF VAR02
LOAD
VAR01="HALLO/WELT"
VAR02=INST(1,"/",VAR01) ; Result = 6
END_LOAD
LEFT Function: String from left
Syntax: LEFT
(string, length)
Description: LEFT returns a string containing the specified number of characters starting from
the left-hand side of a string.
Parameters: string Character string or variable with the character string to be
processed
length Number of characters that are to be read out
Example
DEF VAR01
DEF VAR02
LOAD
VAR01="HALLO/WELT"
VAR02=LEFT(VAR01,5) ; Result = "HELLO"
END_LOAD
RIGHT function: String from right
Syntax: RIGHT
(string, length)
Description: RIGHT returns a string containing the specified number of characters starting
from the right-hand side of a string.
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 183

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