Panasonic FP-E Programming Manual page 947

Fp series
Table of Contents

Advertisement

F310
(F+)
P310
(PF+)
Outline
Adds two real number data items and stores the result in the specified
area.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P310 (PF+)" is not available.
Program example
Trigger
R0
10
F310 F+, DT10, DT20, DT30
S1
S2
D
Operands
Relay
Operand
Operand
WX WY WR WL
S1
A
A
S2
A
A
D
N/A
A
Description
The real number data (2 words) specified by S1 and S2 are added together when the trigger turns on. The
added result is stored in D+1 and D.
[S1+1, S1] + [S2+1, S2] → [D+1, D]
Specifying the integer device with [S1] and[S2], the integer data is internally converted to real numbers
before operations continue.
R0
F310 F+, % DT 0, % DT 2, DT 4
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Floating point data addition
Ladder Diagram
Ladder Diagram
S1
S2
Real number data (2 words) or lower 16-bit area of 32-bit data (for augend)
Real number data (2 words) or lower 16-bit area of 32-bit data (for addend)
Lower 16-bit area of 32-bit data (for result)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
A
A
A
A
D
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
A
A
A
A
* Index modification of a real number is not possible.
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F310
DT
DT
DT
Constant
Index
modifier
modifier device
K
H
f
A
A
A
A*
A
A
A
A*
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(F+)
10
20
30
Integer
device
A
A
A
3 − 683

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents