EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
1334 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 #451 background imageLoading...
Page #451 background image
<STRING_RES>=TOLOWER("<string>")
Meaning
TOUPPER: Using the TOUPPER command, all of the letters in a character string are con‐
verted into uppercase letters.
TOLOWER: Using the TOLOWER command, all of the letters in a character string are con‐
verted into lowercase letters.
<string>: Character string that is to be converted
Type: STRING
<STRING_RES>: Variable for the result of the conversion
Type: STRING
Example
Because user inputs can be initiated on the user interface, they can be given standard
capitalization (uppercase or lowercase):
Program code
DEF STRING [29] STRG
...
IF "LEARN.CNC"==TOUPPER(STRG) GOTOF LOAD_LEARN
3.1.4.5 Determine length of string (STRLEN)
The STRLEN command determines the length of a character string.
Syntax
<INT_RES>=STRLEN("<STRING>")
Meaning
STRLEN: The STRLEN command determines the length of the specified character string.
The number of characters that are not the 0 character, counting from the beginning
of the string is returned.
<string>: Character string whose length is to be determined
Type: STRING
<INT_RES>: Variable for the result of the determination
Type: INT
Work preparation
3.1 Flexible NC programming
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 451

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals