EasyManua.ls Logo

Inovance H3U Series - EBIN Conversion from Decimal to Binary Floating-Point Number

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
154
4
4 Instructions4.5.1 Data Conversion
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
Binary oating-point numbers are converted to decimal equivalents.
Example:
The binary floating-point number in (D3, D2) is converted to a decimal
equivalent. The result is stored in (D11, D10).
For the binary floating-point number in (D3, D2), the real number
occupies 23 bits, the exponent occupies eight bits, and the sign
occupies one bit.
For the decimal floating-point number in (D11, D10), the exponent (D3)
and real number (D2) are expressed as D2 x 10
D3
in scientific notation.
ǒDEBCD D2 D10Ǔ
X1
DS
The PLC uses only binary oating-point numbers for calculation. Convert binary oating-point numbers to
decimal equivalents for easy monitoring.
EBIN: Conversion from decimal to binary oating-point number format
Overview
The EBIN instruction converts decimal oating-point numbers to binary equivalents.
EBIN S D
Conversion from
decimal to binary
oating-point
number format
Applicable model:
H3U
S Data
source
Decimal oating-point variable
32-bit instruction
(9 steps)
DEBINP: Jump
execution
D Result Unit that stores the binary equivalent of a decimal oating-
point number
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals