EasyManuals Logo

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 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 #124 background imageLoading...
Page #124 background image
5-90
5.1 Type Conversion Functions
5.1.29 String type
single-precision real type conversion
STR_TO_REAL(_E)
(6) When '20H' (space) or '30H' (0) exists before the first 0 in string type data, the conversion is
executed ignoring '20
H' and '30H'.
(a) Decimal point form
(b) Exponent form
(7) When '30
H (0)' exists between 'E' and a numeric value in string type data (exponent form),
the conversion is executed ignoring '30
H'.
(8) When '20
H' (space) exists in the character string, the conversion is executed ignoring '20H'.
(9) String type data can contain up to 24 characters.
'20
H' (space) and '30H' (0) in the character string are counted as one character.
(10) The value to be input to is string type data within the following range.
ASCII code: '30
H' to '39H', '45H', '2BH', '2DH', '2EH', '20H', and '00H'
Operation result
(1) Function without EN/ENO
The following table shows the operation results.
(2) Function with EN/ENO
The following table shows the executing conditions and operation results.
*1 When FALSE is output from ENO, the data output from is undefined.
In this case, create a program so that the data output from is not used.
Operation result
No operation error Operation output value
Operation error Undefined value
EN ENO
TRUE (Operation execution)
TRUE (No operation error) Operation output value
FALSE (Operation error)
*1
Undefined value
FALSE (Operation stop)
FALSE
*1
Undefined value
Single-precision real type
-1.35034
Neglected
53.10-03 4
Single-precision real type
-1.35034E-1053.10-03 4E - 1 0
Neglected
Single-precision real type
-1.35034E-253.1-03 4E- 02
Ignored.
s
d
d
d
d

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals