Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
3-9
3
4
4
6
7
8
3.2 Designating Data
3.2.4 Using real number data
Variable part The 23 bits from b0 to b22, represents the XXXXXX... at
binary 1.XXXXXX....
(2) Double-precision floating-point data
Instructions which deal with double-precision floating-point datadesignate devices which are
used for the lower 16 bits of data.
Double-precision floating-point data are stored in the 64 bits which make up (designated
device number) to (designated device number + 3).
Remark
In sequence programs, floating decimal point data are designated by E .
Double-precision floating-point data uses four word devices and is expressed
in the following manner:
[Sign] 1. [Mantissa part] 2
[Exponent part]
The bit configuration and meaning of the internal representation of double-
precision floating-point data is as follows:
Sign The sign is represented at b63.
0: Positive
1: Negative
Exponent part The n of 2n is represented from b52 to b62.
Depending on the BIN value of b52 to b62, the value of n is as follows:
Variable part The 52 bits from b0 to b51, represents the XXXXXX... at
binary 1.XXXXXX....
Designation of 4 points of R100, R101, R102 and
R103 (64 bits)
M0
EDMOV R100
D0
Designation of 4 points of word devices D0, D1, D2
and D3 (64 bits)
Double-precision floating-point data transfer
instruction
b63 b62
to
b52 b51 b16
to
b15b0
to
b63
Sign
b52 to b62
Exponent part
b0 to 51
Mantissa part
b52 to b62 7FFH 7FEH 7FDH 400H 3FFH 3FEH 3FCH 02H 01H 00H
n
Not used
1023
1022
2 1
0
3FDH
1
2
1021 1022
Not used