Bcd Type Real Numbers (H) (For Fp2, Fp2Sh And Fp10Sh) - Panasonic FP-E Programming Manual

Fp series
Table of Contents

Advertisement

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 one−word units, with the positive/negative sign
coming first, followed by the integer segment and then by the decimal point and any
subsequent digits.
One−word 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 three−word area for each data element. As a
result, in instructions such as that used to send real−number 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 real−number
data is to be stored, the data will be written to "DT0 to DT2".
Operation results
Example 2: When sending BCD type real−number data stored in "DT0 to
DT2", the F10 (BKMV) block transmission instruction or a similar
instruction should be used, and the data sent in three−word
units.
Transmission source
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
One−word BCD
X10
F300 BSIN, H45, D70
+
0. 7071
Areas in which data are stored
X10
F10 BKMV, DT0, DT2, DT100
DT0
H0
DT1
H0
DT2
H7071
One−word BCD
DT0
H0
Sign
DT1
H0
Integer segment
DT2
H7071
Decimal point segment
Transmission destination
DT100
H0
DT101
H0
DT102
H7071
1.4
Explanation of Constants
1 - 79

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents