EasyManuals Logo

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
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 #1168 background imageLoading...
Page #1168 background image
6.3.36 STRING functions
Overview
The following functions enable strings to be processed:
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
Compare strings
Insert a string in another string
Remove a string from a string
Remove spaces (from left or from the right)
Insert values or strings with formatting identifiers
LEN function: Length of a string
Syntax: LEN
(string | varname)
Description: Determines the number of characters in a string
Parameters: string Every valid string expression. NULL is output if string is
empty.
varname Any valid declared variable name
Only one of the two parameters is allowed.
Example
DEF VAR01
DEF VAR02
LOAD
VAR01="HALLO"
VAR02=LEN(VAR01) ; Result = 5
END_LOAD
INSTR function: Search for character in string
Syntax: INSTR
(Start, String1, String2 [,Direction])
Description: Searches for characters
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens (BE2)
182 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals