Panasonic FP-E Programming Manual page 948

Fp series
Table of Contents

Advertisement

High−level Instructions
Specifying the integer device with [D], the real numbers are automatically converted into integer data.
R0
F310 F+, DT 0, DT 2, % DT 4
When the constant K is specified in S1 and S2, the operations are the same as when a integer device is
specified.
Program example
The "f4.554" is stored to DT30 and DT31 when the R0 turns on.
R0
F310 F+, f1.414, f3.14, DT30
The "f135.795" is stored to DT30 and DT31 when the R0 turns on.
R0
F309 FMV, f12.345 DT10
F309 FMV, f12.345, DT20
F310 F+, DT10, DT20, DT30
Precaution during programming
For FP0, this instruction F310 (F+) cannot be programmed in the interrupt program.
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
・Carry flag (R9009): Turns on for an instant when the result is overflowed.
3 − 684
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Turns on and stays on when:
Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− If data other than real number data is specified in "S1+1 and S1" and "S2+1
and S2."
− If result of processing is outside integer range when integer device is
specified in D+1 and D.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents