Siemens SINUMERIK 828D Commissioning Manual page 1085

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Parameters:
Example
REG[0]=STRCMP("Hugo", "HUGO")
REG[0]=STRCMP("Hugo", "HUGO", TRUE)
STRINSERT function: Insert string
Syntax:
Description:
Parameters:
Example
REG[0]=STRINSERT("Hello!", " world", 5)
STRREMOVE function: Remove string
Syntax:
Description:
Parameters:
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
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
(string1, remove positon , count)
STRREMOVE
STRREMOVE removes a specific number of characters at a specific position
within a character string.
string1
Character string from which characters are to be re‐
moved
remove position
Position at which characters are to be removed from the
character string
count
Number of characters to be removed
Programming commands
; Result = 32
; (<> 0, strings are not identical)
; Result = 0
; (== 0, stings are identical)
; Result = "Hello world!")
6.3 Functions
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents