Chaining Of Strings - Siemens sinumerik 840d Programming Manual

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

04.00
1
840D
840D
NCU 571
NCU 572
NCU 573

1.10.2 Chaining of strings

This functionality makes it possible to compile a
string with individual components. The chaining
function is implemented via operator: <<. This
operator has STRING as the target type for all
combinations of basic types CHAR, BOOL, INT,
REAL and STRING. Any conversion that may be
required is carried out according to existing rules.
Types FRAME and AXIS cannot be used with this
operator.
Syntax:
bel._Typ << bel._Typ
Semantics:
The specified strings (the implicitly converted other
type in some cases) are chained.
This operator is also available as a unary variant. It
is thus possible to perform an explicit type
conversion to STRING (not for FRAME and AXIS).
Syntax:
<< bel._Typ
Semantics:
The specified type is converted implicitly to type
STRING.
For example, this function can be used to compile a
message or a command from text lists and to insert
parameters (such as module name):
MSG(STRG_TAB[LOAD_IDX]<<MODULE_NAME)
 Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
FM-NC
810D
840Di
Flexible NC Programming
1.10 String operations
Result type: STRING
Result type: STRING
1
1-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents