String_To_** (Text String-To-Real Number Conversion Group) - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

STRING_TO_** (Text String-to-
Real Number Conversion
Group)
These instructions convert text strings to real numbers.
Instruction
STRING_TO_**
Text String-to-Real
Number Conver-
sion Group
Variables
Name
Meaning
In
Data to
convert
Out
Conversion
result
Bit strings
In
Out
Function
These instructions convert a text string, In, to a real number.
The name of the instruction is determined by the data type of conversion result Out. For example, if Out
is the LREAL data type, the instruction is STRING_TO_LREAL.
The format of the text sting in In is given below.
'
-
i i i i . f f f f f f f f e + n n
Integer
Sign
part
(blank)
(blank)
Decimal point
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Input
Data to convert
Output
Conversion result
Fractional part Exponent
Graphic expression
(@)STRING_TO_**
EN
ENO
In
"**" must be a real number data type.
Valid range
311 bytes max. (310
single-byte alphanu-
meric characters plus
the final NULL charac-
ter)
Depends on data type.
Integers
'
2 Instruction Descriptions
ST expression
Out:=STRING_TO_** (In);
"**" must be a real number
Out
data type.
Unit
---
''
---
---
Times, durations, dates,
and text strings
OK OK
2
Default
OK
2-303

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents