Siemens SINUMERIK 828D Commissioning Manual page 1086

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

Advertisement

Programming commands
6.3 Functions
Example
REG[0]=STRREMOVE("Hello world!", 5, 6)
TRIMLEFT function: Remove blanks from the left of the string
Syntax:
Description:
Parameters:
Example
REG[0]=TRIMLEFT("
TRIMRIGHT function: Remove blanks from the right of the string
Syntax:
Description:
Parameters:
Example
REG[0]=TRIMRIGHT("Hello!
FORMAT function: Insert values or string with formatting identifier
Syntax:
Description:
156
TRIMLEFT
(string1)
TRIMLEFT removes blanks on the left from a character string.
string1
Character string from which blanks are to be removed
from the left of the character string
Hello!")
(string1)
TRIMRIGHT
TRIMLEFT removes blanks on the right from a character string.
string1
Character string from which blanks are to be removed
from the right of the character string
")
(Text with formatting identifier [, Value1] ... [, Value28] )
FORMAT
Through the use of formatting identifiers, the FORMAT function enables up to
28 values or strings to be inserted at specified positions in a specific text.
; Result = "Hello!")
; Result = "Hello!")
; Result = "Hello!")
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents