EasyManuals Logo

Siemens SINUMERIK 840D sl Commissioning Manual

Siemens SINUMERIK 840D 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 #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 840D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D sl Specifications

General IconGeneral
Control TypeCNC
Number of AxesUp to 31
Max Number of Channels10
InterfacesEthernet, PROFIBUS, PROFINET, USB
Interpolation5-axis interpolation
Operating Temperature0°C to 45°C
Relative HumidityUp to 95% (non-condensing)
DisplayTFT color display, various sizes
Programming LanguagesDIN/ISO
Safety FeaturesSafety Integrated
PLCIntegrated PLC S7-300
Drive InterfaceSINAMICS S120
Data StorageCF card, USB
Operating SystemWindows-based

Related product manuals