Type Conversion From String (Number, Isnumber, Axname) - Siemens SINUMERIK 828D Programming Manual

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

Advertisement

Flexible NC programming
1.9 String operations
1.9.2

Type conversion from STRING (NUMBER, ISNUMBER, AXNAME)

Function
A conversion is made from STRING to REAL using the
converted can be checked using the
A string is converted into the axis data type using the
Syntax
<REAL_ERG>=NUMBER("<string>")
<BOOL_ERG>=ISNUMBER("<string>")
<AXIS_ERG>=AXNAME("<string>")
Significance
NUMBER
<string>
<REAL_ERG>
ISNUMBER
<BOOL_ERG>
AXNAME
<AXIS_ERG>
76
:
The
NUMBER
as REAL value.
:
Type STRING variable to be converted
:
Variable for the result of the type conversion with
Type:
REAL
:
The
ISNUMBER
be converted into a valid number.
:
Variable for the result of the interrogation with
Type:
BOOL
Value:
TRUE
FALSE
:
The
AXNAME
identifier.
Note:
If the
<string>
is initiated.
:
Variable for the result of the type conversion with
Type:
AXIS
command.
ISNUMBER
command returns the number represented by the
command can be used to check whether the
ISNUMBER
<string>
compliance with the language rules.
If
ISNUMBER
calling
NUMBER
is initiated.
command converts the specified
cannot be assigned a configured axis identifier, an alarm
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
command. The ability to be
NUMBER
command.
AXNAME
NUMBER
ISNUMBER
supplies the value TRUE, if the
represents a valid REAL number in
supplies the value FALSE, when
with the same
<string>
into an axis
<string>
AXNAME
<string>
can
<string>
, an alarm
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents