Fnc118 - Ebcd / Floating Point To Scientific Notation Conversion - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
18.6
FNC118 – EBCD / Floating Point to Scientific Notation Conversion
Outline
This instruction converts binary floating point into scientific notation.
1. Instruction format
FNC 118
D
EBCD
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 (DEBCD and DEBCDP)
Binary floating point stored in [
[
+1,
D
D
Command
input
FNC118
DEBCD
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
476
Mnemonic
16-bit Instruction
P
Data register number storing binary floating point
Data register number storing converted scientific notation
Digit Specification
+1,
S
].
S
D
Exponent part (8 bits)
Sign (1 bit)
+1
S
Exponent part
+1
D
18.6 FNC118 – EBCD / Floating Point to Scientific Notation 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 scientific notation, and transferred to
S
] → [
[
S
+1,
S
D
Binary floating point
Scientific notation
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Mantissa part (23 bits)
After execution
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
+1
D
× 10
D
18 Floating Point – FNC110 to FNC139
Mnemonic
Operation Condition
DEBCD
9 steps
DEBCDP
Real number (binary)
Real number
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
+1,
D
]
Low order
S
Low order
Mantissa part
D
Continuous
Operation
Pulse (Single)
Operation
Data Type
(decimal)
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents