EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
822 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
Loading...
Flexible NC programming
1.9 String operations
Job planning
78 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
CAUTION
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 Comments
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) ; Didplay:
"Index:2/value:9.654"
NO_MSG:
Example 2: Explicit type conversion with <<
Program code Comments
DEF REAL VALUE=3.5
<<VALUE ; The specified type REAL variable is converted into a
STRING type.

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals