EasyManua.ls Logo

Mitsubishi MELSEC-Q/L - 7.12 Special function instructions

Mitsubishi MELSEC-Q/L
850 pages
Print Icon
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...
498
EREXP, EREXPP
: Head number of the devices where BCD type floating point format data is stored (BIN 16 bits)
: Decimal fraction digits data (BIN 16 bits)
: The device where the converted 32-bit floating point real number data will be stored (real number)
*1: Available only in multiple Universal model QCPU and LCPU
Function
(1) Converts the BCD type floating point data designated by to the 32-bit floating decimal point real number data
according to the decimal fraction digits specified by , and stores the result into the area starting from the device
designated by .
(2) The sign at and the sign for the exponent part at +3 is set at 0 for a positive value and at 1 for a negative value.
(3) 0 to 38 can be set for the BCD exponent of +4.
(4) 0 to 7 can be set for the decimal fraction digits of .
7.11.21 EREXP, EREXPP From BCD format data to floating-point d ata
7.11.21
EREXP, EREXPP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– –– –– –– ––
––
–– ––
*1
–– ––
Process
High
performance
Redundant
Universal
LCPU
Basic
Command
Command
EREXPP
EREXP
EREXPP
D
S1
S2
D
S2
S1
EREXP
S1
S2
D
S1
D2
D
S1
S2
D
BCD type floating
point format
Sign
BCD 7 digits
Sign (exponent part)
BCD exponent
+4
+3
+2
+1
When positive: 0
When negative: 1
When positive: 0
When negative: 1
(0 to 38)
32-bit floating-point
real number
+1
Number of digits in decimal fraction
(0 to7)
D
S1
S1
S1
S1
S1
S2
D
S1 S1
S1
S2
S1
S1
S1
S1
S1
S2
BCD type floating
point format
1
5423
H
0321H
0
2
+4
+3
+2
+1
6
(Number of digits in decimal fraction)
(Sign)
3215423
H (BCD 7 digits)
(Sign (exponent part))
(BCD exponent)
+1
D D
3.21
5
423E
+
2

Table of Contents

Related product manuals