Mitsubishi Electric M800VW Series Programming Manual page 362

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.10 Character String Processing Instructions
 Converts the upper 7 digits in the integer part and decimal fraction part of the character string designated by (S) excluding
the sign, decimal point, and exponent part. (As the output values are 32-bit floating-point real numbers, the number of sig-
nificant digits is 6.)
[When using decimal format]
b15
(space)
S
20H
31H (1)
S+1
S+2
33H (3)
S+3
31H (1)
S+4
36H (6)
31H (1)
S+5
S+6
00H
.
-
1
3 0 1 5
[When using exponential format]
b15
S
(space)
20H
2EH (.)
S+1
S+2
35H (5)
S+3
33H (3)
S+4
31H (1)
S+5
45H (E)
S+6
30H
00H
S+7
.
-
1
3 5 0 3
 In the decimal format, if "2BH" (+) is designated for the sign or if the designation of sign is omitted, conversion is made
assuming a positive value. If "2DH" (-) is designated for the sign, the character string is converted assuming a negative
value.
 In the exponential format, if "2BH" (+) is specified for the sign in the exponent part or if the designation of sign is omitted,
conversion is made assuming a positive value. If "2DH" (-) is designated for the sign in the exponent part, the character
string is converted assuming a negative value.
b8b7
b0
2DH (-)
(space)
20H
2EH (.)
30H (0)
35H (5)
38H (8)
32H (2)
6
8
1
2
These are cut
b8b7
b0
2DH (-)
31H (1)
33H (3)
30H (0)
34H (4)
32H (2)
2DH (-)
32H (2)
4
-
0
1
2
E
2
This is cut
D+1
D
-1.301568
32-bit floating-point real number
D+1
D
-1.350341E-2
32-bit floating-point real number
341
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents