Panasonic FP-E Programming Manual page 973

Fp series
Table of Contents

Advertisement

F323
(PWR)
P323
(PPWR)
Outline
This instruction raises a floating point real number to the specified
power.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P323 (PPWR)" is not available.
Program example
Trigger
R0
10
F323 PWR, 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 specified by S1+1 and S1 is raised to the power specified by the real number data of
S2+1 and S2, and the result is stored in D+1 and D.
[S1+1, S] ^ [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
F323 PWR, % 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 power
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
F323
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
(PWR)
10
20
30
Integer
device
A
A
A
3 − 709

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents