Panasonic FP-E Programming Manual page 326

Fp series
Table of Contents

Advertisement

High−level Instructions
Explanation of example
The contents (32 bits) of data registers DT11 and DT10 and the contents (32 bits) of data registers DT1 and
DT0 are added together when trigger R0 turns on.
Higher 16 bits
Lower 16 bits
Contents of
Contents of
DT11
DT10
(Addition)
Contents
Contents
of DT1
of DT0
(Result is stored.)
Store to DT11 Store to DT10
Description
The 32-bit equivalent constant or the 32-bit area specified by S and the 32-bit data specified by D are added
together.
Augend data
(D+1, 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 overflow or underflow will result.
Under normal circumstances, do not allow an overflow or underflow to occur.
If an overflow or 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 32-bit
3 − 62
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
The specified data area and the
following data area are handled
together as 32−bit data.
← The lower 16 bits of added result is
stored in DT10 and the higher 16
bits of the result is stored in DT11.
Addend data
(S+1, S)
Turns on and stays on when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the calculated result is recognized as "0."
data (overflows or underflows).
Result
(D+1, D)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents