7 Applied Instructions
7.12 Floating Point
471
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
Function and operation explanation
1. 32-bit operation (DEBIN, DEBINP)
The decimal floating decimal point of the device specified by is converted into binary floating decimal
point, and is transferred to the device specified by .
Cautions
1) When handling 32-bit data in structured program, you cannot specify 16-bit device directly unlike the
simple project. When handling 32-bit data, please use the label.
However, the 32-bit counter is a 32-bit long device, and can be specified directly.
When specifying the device, use the global label.
2) Applicable devices are limited.
S: FX
3U, FX3UC PLCs only are applicable.
Command
input
Decimal floating
decimal point
Binary floating
decimal point
[ +1, ] → [ +1, ]
DEBIN
EN ENO
d
s
ds s d
Label 1
*1
Label 2
*2
*1.
To define the device for storing
the decimal floating decimal point data.
*2. To define the device for storing
the converted binary floating decimal point data.
After execution
Lower position
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Higher position
b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16
Before
execution
Mantissa partExponential part
+1
×10
+1
Higher position Lower position
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16
After
execution
+1
Mantissa part (23 bits)Exponential part (8 bits)
Sign (1 bit)
d
s s
d
s
s