Panasonic FP-E Programming Manual page 932

Fp series
Table of Contents

Advertisement

High−level Instructions
Description
The bias value specified by S1 or S2 is added to the input value (double word data) specified by S3, and the
output value is stored in the area specified by D.
The output value is determined by the following conditions:
When the input value S3+1 and S3 are less than zero, the input value S3+1 and S3 plus the negative bias
value S1+1 and S1 are stored in D+1 and D as the output value.
When the input value S3+1 and S3 equals zero, zero is stored in D+1 and D as the output value.
When the input value S3+1 and S3 is greater than zero, the input value S3+1 and S3 plus the positive bias
value S2+1 and S2 are stored in D+1 and D as the output value.
Output value D+1 and D
Positive bias value
S2+1 and S2
0
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
・Carry flag (R9009): Turns on for an instant when the calculated result is overflowed or
・= flag (R900B):
3 − 668
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Input value S3+1 and S3
Negative bias value S1+1 and S1
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.
underflowed.
Turns on for an instant when the input value S3 is recognized as "0".

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents