EasyManua.ls Logo

Panasonic FP-E - Page 907

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 643
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
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S1
Trigger
DS2
F275 MEAN, DT10, DT20, DT30
10
R10
10
11
ST X 10
F275 (MEAN)
DT 10
DT 20
DT 30
S1 Starting 16-bit area of data table
S2 Ending 16-bit area of data table
D Starting 16-bit for storing total and mean numbers (3 words)
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
Constant
Index
modifier
Integer
device
Operand
WX WY WR WL SV EV DT LD FL I K H f
modifier device
S1 A A A A A A A A A A N/A N/A N/A A N/A
S2 A A A A A A A A A A N/A N/A N/A A N/A
D N/A A A A A A A A A A N/A N/A N/A A N/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.
Total (32 bits)
Mean (16 bits)
15 0
D
D+1
D+2
Decimals of the average value are rounded off so that the average value is an integer.
F275
P275
(PMEAN)
(MEAN)
Total and mean numbers calculation in 16-bit data table
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com