Fnc119 - Ebin / Scientific Notation To Floating Point Conversion - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.7
FNC119 – EBIN / Scientific Notation to Floating Point Conversion
Outline
This instruction converts scientific notation stored in devices into binary floating point.
1. Instruction format
FNC 119
D
EBIN
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
Explanation of function and operation
1. 32-bit operation (DEBIN and DEBINP)
Scientific notation stored in [
D
].
Command
input
FNC119
DEBIN
High order
b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16
Before
execution
High order
b31 b30 b29 b28 b27 b26 b25 b24 b23 b22 b21 b20 b19 b18 b17 b16
After
execution
504
Mnemonic
16-bit Instruction
P
Data register number storing scientific notation data
Data register number storing converted binary floating point.
Digit Specification
S
+1,
S
S
D
Exponent part
+1
S
Exponent part (8 bits)
Sign (1 bit)
+1
D
18.7 FNC119 – EBIN / Scientific Notation to Floating Point Conversion
→ For handling of floating point, refer to Subsection 5.1.3.
Operation Condition
32-bit Instruction
Description
Word Devices
Special
System User
Unit
] is converted into binary floating point, and transferred to [
] → [
S
S
D
[
+1,
Scientific notation
Binary floating point
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
+1
S
× 10
S
After execution
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Mantissa part (23 bits)
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DEBIN
9 steps
DEBINP
Real number (binary)
Others
Con-
Real
Index
stant
Number
V
Z Modify K H
E
D
+1,
]
Low order
Mantissa part
S
Low order
D
Continuous
Operation
Pulse (Single)
Operation
Data Type
Real number
(decimal)
Charac-
Pointer
ter String
" "
P
D
+1,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents