EasyManua.ls Logo

Panasonic FP-E - Page 103

Panasonic FP-E
1334 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...
1.4 Explanation of Constants
1-79
1.4.4 BCD Type Real Numbers (H) (for FP2, FP2SH and FP10SH)
Range of BCD type real numbers that can be used in operations
The range of real number data that can be stored in the memory area is as noted below.
9999.9999 to +9999.9999
Data stored in the memory area in oneword units, with the positive/negative sign
coming first, followed by the integer segment and then by the decimal point and any
subsequent digits.
Oneword BCD Oneword BCD Oneword BCD
Signs
H0: Positive value
H1: Negative value
Integer segment
H0 to H9999
Decimal point segment
H0 to H9999
Area in which the BCD type real number is stored
In the BCD type real number operation instructions, the area in which data converted
to real numbers is stored consists of a threeword area for each data element. As a
result, in instructions such as that used to send realnumber data to a storage area and
in other operations, data should be moved in units of three words.
Example 1: If DT0 is specified as the area in which BCD type realnumber
data is to be stored, the data will be written to “DT0 to DT2”.
F300 BSIN, H45, D70
Operation results
H0
H0
Sign
Integer segment
Decimal point segment
Areas in which data are stored
DT0
DT1
DT2
+
0.
7071
H7071
X10
Example 2: When sending BCD type realnumber data stored in “DT0 to
DT2”, the F10 (BKMV) block transmission instruction or a similar
instruction should be used, and the data sent in threeword
units.
F10 BKMV, DT0, DT2, DT100
H0
H0
Transmission destination
DT100
DT101
DT102
H7071
X10
H0
H0
Transmission source
DT0
DT1
DT2
H7071
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Related product manuals