Panasonic FP-E Programming Manual page 388

Fp series
Table of Contents

Advertisement

High−level Instructions
Description
Subtracts 1 from the 4-digit BCD data specified by D. The result is stored in D.
Original data
(D)
Precautions during programming
If the result of an arithmetic operation instruction does not fall within the range of values which can be
handled, an underflow will result.
Under normal circumstances, do not allow an underflow to occur.
If the calculated result accidentally underflow, use of the F58 (DB−1) instruction (8-digit BCD data decrement)
is recommended.
If an underflow occurs, the carry flag (special internal relay R9009) will turn on.
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
・= flag (R900B):
・Carry flag (R9009): Turns on for an instant when the calculated result exceeds the range of 4-digit
3 − 124
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
1
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".
BCD data (underflows).
Result
(D)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents