Panasonic FP-E Programming Manual page 378

Fp series
Table of Contents

Advertisement

High−level Instructions
Explanation of example
16 bits
16 bits
Store to DT33 Store to DT32
Description
Multiplies the 8-digit BCD equivalent constant or 8-digit BCD data specified by S1 and the one specified by
S2. The multiplied result is stored in D+3, D+2, D+1, and D.
Multiplicand data
(S1+1, S1)
×
The multiplied result is stored in the 64-bit area (16−digit BCD).
When processing 8-digit BCD data, the higher 16-bit areas (S1+1, S2+1) are automatically determined once
the lower 16-bit areas (S1, S2) are specified.The areas (D+3, D+2, D+1) other than the lowest 16-bit area (D)
are automatically determined when the lowest 16-bit area is specified.
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
・= flag (R900B):
3 − 114
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
16 bits
16 bits
Contents of
Contents of
DT11
DT10
16 bits
16 bits
Contents of
Contents of
DT21
DT20
16 bits
16 bits
Store to DT31 Store to DT30
Multiplier data
(S2+1, S2)
Turns on and stays on when:
Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The data is not BCD data.
Turns on for an instant when the calculated result is recognized as "0".
The specified data area and the following data
area are handled together as 32−bit data.
← The 64 bits of multiplication result are stored in
order in DT30 to DT33 beginning from the lowest
16 bits.
Result
(D+3, D+2, D+1, D)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents