EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Programming Manual

Siemens SINUMERIK ONE MCP 2400.4c
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 #450 background imageLoading...
Page #450 background image
Meaning
<any_type>: Variable, type CHAR, BOOL, INT, REAL or STRING
<< : Operator to chain variables (<any_type>) to configure a character string (type
STRING).
This operator is also available alone as a so-called "unary" variant. This can be used
for explicit type converter to STRING (not for FRAME and AXIS):
<< <any_type>
For example, such a message or a command can be configured from text lists and parameters
can be inserted (for example a block name):
MSG(STRG_TAB[LOAD_IDX]<<BLOCK_NAME)
Note
The intermediate results of string concatenation must not exceed the maximum string length.
Note
The FRAME and AXIS types cannot be used together with the operator "<<".
Examples
Example 1: Concatenation of strings
Program code Comment
DEF INT IDX=2
DEF REAL VALUE=9.654
DEF STRING[20] STRG="INDEX:2"
IF STRG=="Index:"<<IDX GOTOF NO_MSG
MSG("Index:"<<IDX<<"/value:"<<VALUE) ; Display:
"Index:2/value:9.654"
NO_MSG:
Example 2: Explicit type conversion with <<
Program code Comment
DEF REAL VALUE=3.5
<<VALUE ; The specified REAL type variable is converted into a
STRING type.
3.1.4.4 Conversion to lower/upper case letters (TOLOWER, TOUPPER)
The "conversion to lowercase/uppercase letters" function allows all of the letters of a string to
be converted into a standard representation.
Syntax
<STRING_RES>=TOUPPER("<string>")
Work preparation
3.1 Flexible NC programming
NC programming
450 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals