EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 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 #322 background imageLoading...
Page #322 background image
2 Instruction Descriptions
2-274
NJ-series Instructions Reference Manual (W502)
STRING_TO_** (Text String-to-
Real Number Conversion
Group)
These instructions convert text strings to real numbers.
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.
Instruction Name FB/FUN Graphic expression ST expression
STRING_TO_** Text String-to-Real
Number Conversion
Group
FUN Out:=STRING_TO_** (In);
"**" must be a real number
data type.
Variables
Name Meaning I/O Description Valid range Unit Default
In Data to
convert
Input Data to convert 311 bytes max. (310
single-byte alphanu-
meric characters plus
the final NULL charac-
ter)
--- ''
Out Conver-
sion result
Output Conversion result Depends on data type.
--- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In OK
Out OK OK
Function
"**" must be a real number data type.
(@)STRING_TO_**
EN
In
ENO
Out
(blank)
Integer
part
Decimal point
Fractional part Exponent
Sign
(blank)
- i i i i . f f f f f f f f e + n n
‘ ’

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals