Panasonic FP-E Programming Manual page 907

Fp series
Table of Contents

Advertisement

F275
(MEAN)
P275
(PMEAN)
Outline
Calculates the total and mean numbers in the specified word data table.
For the FP0R/FPΣ/FP−X, the P type high−level instruction "P275
(PMEAN)" is not available.
Program example
Trigger
R10
F275 MEAN, DT10, DT20, DT30
10
S1
S2
D
Operands
Relay
Operand
Operand
WX WY WR WL
S1
A
A
S2
A
A
D
N/A
A
Description
The total value and the average value of the word data (signed) from the area selected with S1 to the area
selected with S2 are obtained and stored in the area selected with D.
15
D
D+1
D+2
Decimals of the average value are rounded off so that the average value is an integer.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Total and mean numbers calculation in 16-bit data table
Ladder Diagram
Ladder Diagram
S1
Starting 16-bit area of data table
Ending 16-bit area of data table
Starting 16-bit for storing total and mean numbers (3 words)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
A
A
A
A
0
Total (32 bits)
Mean (16 bits)
S2
D
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
A
A
A
A
High−level Instructions
Boolean
Address
Instruction
10
ST
X
11
F275
DT
DT
DT
Constant
Index
modifier device
modifier
K
H
f
N/A N/A N/A
A
N/A N/A N/A
A
N/A N/A N/A
A
A:
Available
N/A: Not Available
10
(MEAN)
10
20
30
Integer
device
N/A
N/A
N/A
3 − 643

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents