Siemens SINUMERIK 840D sl Programming Manual page 1299

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

String functions
Identifier
Return value
ISNUMBER
BOOL
NUMBER
REAL
TOUPPER
STRING
TOLOWER
STRING
STRLEN
INT
INDEX
INT
RINDEX
INT
MINDEX
INT
SUBSTR
STRING
SPRINT
STRING
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Parameter
1.
2.
STRING:
Input string
STRING:
Input string
STRING:
Input string
STRING:
Input string
STRING:
Input string
STRING:
CHAR:
Input string
Search
characters
STRING:
CHAR:
Input string
Search
characters
STRING:
STRING:
Input string
Search
character
STRING:
INT
Input string
STRING:
Input string
Explanation
3.
Checks whether the input string can be con‐
verted to a number.
Converts the input string into a number.
Converts the input string into upper case
Converts the input string into lower case
Determines the length of the input string up to
the end of the string (/0)
Determines the position of the character in the
input string from left to right.
The 1st character of the string from the left has
the index 0.
Determines the position of the character in the
input string from right to left.
The 1st character of the string from the right
has the index 0.
Determines the position of a character speci‐
fied in the 2nd parameter in the input string
from left to right.
The 1st character of the input string from the
left has the index 0.
INT
Determines the substring of the input string,
defined by the start character (2nd parameter)
and number of characters (3rd parameter).
Determines the formatted input string
Tables
4.6 Predefined functions
1299

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents