Panasonic FP-E Programming Manual page 951

Fp series
Table of Contents

Advertisement

F312
(F*)
P312
(PF*)
Outline
Multiplies two real number data items and stores the result in the
specified 32-bit area.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instructions
are not available.
Program example
Trigger
R0
10
F312 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
Multiplies the real number data (2 words) specified by S1 and the one specified by S2 when the trigger turns
on.
The multiplied result is stored in D+1 and D (32-bit area).
[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
F312 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 multiplication
Ladder Diagram
Ladder Diagram
S1
S2
Real number data (2 words) or lower 16-bit area of 32-bit data (for
multiplicand)
Real number data (2 words) or lower 16-bit area of 32-bit data (for multiplier)
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
F312
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 − 687

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents