EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1879

Mitsubishi Electric MELSEC iQ-R Series
2110 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
Loading...
25 TYPE CONVERSION FUNCTIONS
25.59 Converting STRING to REAL
1877
25
The STRING data type value both in decimal form and exponential form can be converted.
The number of significant digits of the STRING data type value is six. (The sign, decimal point, and exponent are not
included.) The seventh and later digits are rounded down when the data is converted.
In decimal form, when 2BH (+) is specified as sign data or the sign data is omitted, the data is converted as a positive value.
When 2DH (-) is specified, the data is converted as a negative value.
In exponential form, when 2BH (+) is specified as sign data for the exponent or the sign data is omitted, the data is
converted as a positive value. When 2DH (-) is specified, the data is converted as a negative value.
When (s) is in decimal form
When (s) is in exponential form
When (s) is in decimal form
When (s) is in exponential form
(s)
(d)
-1.35034
2DH(-)31H(1)
00H
33H(3)34H(4)
35H(5)30H(0)
2EH(.)33H(3)
4- 1 . 3503
+0
+4
+3
+2
+1
REAL
STRING
Lower byteUpper byte
(s)
(d)
01-- 1. 35034E
-1.35034E-10
2DH(-)31H(1)
00H
31H(1)30H(0)
45H(E)2DH(-)
33H(3)34H(4)
35H(5)30H(0)
2EH(.)33H(3)
+0
+6
+5
+4
+3
+2
+1
REAL
STRING
Lower byteUpper byte
.
320214- 1 3503 -1.35034
REAL
01-E214-1 . 3503 -1.35034E-10
REAL

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals