7 Applied Instructions
7.12 Floating Point
463
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
The character string specified can be converted into binary floating point decimal data whether in decimal
point type or in specified type.
a) In the case of decimal point type
b) In the case of exponential type
• When the character string to be converted into the binary floating decimal point specified by is more
than 7 digits excluding the sign, decimal point, and the exponential part, the data after the seventh digit is
cut off.
a) In the case of decimal point type
ASCII code of first character
b15 b8 b7 b0
+1
+2
+3
+4
ASCII code of third character
ASCII code of fifth character
ASCII code of seventh character
ASCII code of the sign
ASCII code of second character
ASCII code of fourth character
ASCII code of sixth character
Showing the end of character string.
00H
+1
Binary floating decimal
point (real number)
d
s
s
s
s
s
d
31H(1)
b15 b8 b7 b0
+1
+2
+3
+4
30H(0)
38H(8)
32H(2)
2DH(-)
2EH(.)
37H(7)
31H(1)
7 8 101 2
+1
Binary floating decimal
point (real number)
-1.07812
00H
d
s
s
s
s
s
d
b15 b8 b7 b0
+1
+2
+3
+4
20H(space)
2EH(.)
32H(2)
31H(1)
2DH(-)
31H(1)
33H(3)
30H(0)
2BH(+)
30H(0)
31H(1)
45H(E)
+5
+6
3 2 01 1 + 1 0E
+1
Binary floating decimal
point (real number)
-1.3201E+10
00H
d
s
s
s
s
s
d
s
s
b15 b8 b7 b0
+1
+2
+3
+4
20H(space)
31H(1)
00H
33H(3)
31H(1)
2DH(-)
2EH(.)
30H(0)
36H(6)
31H(1)
38H(8)
35H(5)
+5
+6
3 0 11 5 8 1 26
32H(2)
20H(space)
To be cut off.
+1
Binary floating decimal point (real number)
-1.30156
Matched exactly up to the sixth digit.
d
s
s
s
s
s
d
s
s