Siemens SINUMERIK 840DE sl Commissioning Manual page 1171

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Parameters:
Return value:
STRCMP function: Compare strings
Syntax:
Description:
Parameters:
Example
REG[0]=STRCMP("Hugo", "HUGO")
REG[0]=STRCMP("Hugo", "HUGO", TRUE)
STRINSERT function: Insert string
Syntax:
Description:
Parameters:
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
string
String in which FindString is to be replaced with Replace‐
String.
FindString
String to be replaced
ReplaceString
Replacement string (is used instead of the FindString)
start
Starting position for search and replace operations
count
Number of characters that are to be searched from the start‐
ing position after FindString
string = Empty string
FindString = Empty string
ReplaceString = Empty string
start > Len(String)
count = 0
(string1, string2 [, CaseInsensitive])
STRCMP
STRCMP compares a character string with another character string.
string1
Character string that is to be compared with a second
character string
string2
Character string that is to be compared with the first
character string
CaseInsensitive
Comparison with/without consideration of upper/lower
case:
Not specified or FALSE = upper/lower case is considered
TRUE = upper/lower case is not considered
(string1, string2 , insert position)
STRINSERT
STRINSERT inserts a character string at a specific position in a character string.
string1
Character string in which a character string is to be in‐
serted
string2
Character string that is to be inserted
insert position
Position at which the character string is to be inserted
Programming commands
Copy of string
Copy of string
Copy of string, in which all occurrences of Find‐
String are deleted
Empty string
Copy of string
; Result = 32
; (<> 0, strings are not identical)
; Result = 0
; (== 0, stings are identical)
6.3 Functions
185

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents