EasyManuals Logo

Siemens SINUMERIK 810D Programming Guide

Siemens SINUMERIK 810D
598 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 #51 background imageLoading...
Page #51 background image
1
04.00 Flexible NC Programming
1.10 Strin
g
o
p
erations
1
840D
NCU 571
840D
NCU 572
NCU 573
FM-NC 810D 840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
1-51
1.10.4 Length of string
This functionality allows the length of a string to be
specified.
Syntax:
INT_ERG = STRLEN (STRING)
Result type: INT
Semantics:
A number of characters is returned that
−
counting
from the beginning of the string
−
are not 0
characters.
Example:
This function can be used to determine the end of
the string, for example, in connection with the single
character access described below:
IF(STRLEN (MODULE_NAME) > 10) GOTOF ERROR
1.10.5 Search for character/string in string
This functionality can be used to search for single
characters or a whole string in another string. The
function results specify where the character/string is
positioned in the string that has been searched.
INT_ERG = INDEX (STRING,CHAR)
Result type: INT
INT_ERG = RINDEX (STRING,CHAR)
Result type: INT
INT_ERG = MINDEX (STRING,STRING)
Result type: INT
INT_ERG = MATCH (STRING,STRING)
Result type: INT
Semantics:
Search functions: They return the position in the
string (first parameter) where the search has been
successful. If the character/string cannot be found,
the value "
−
1" is returned. In this case, the first
character is in position 0.

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