F352
(FMEAN)
P352
(PFMEAN)
Outline
Calculates the total and mean numbers in the specified real number
data table
Program example
Trigger
R0
10
F352 FMEAN, 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 total value and the average value of the real number data from the area selected with S1 to the area
selected with S2 are obtained and stored in the area selected with D.
15
D
Lower word
D+1
Higher word
D+2
Lower word
D+3
Higher word
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Total and mean numbers calculation in floating point
real number data table
Ladder Diagram
Ladder Diagram
S1
Starting 16-bit area for storing the real number data
Ending 16-bit area for storing the real number data
Starting 16-bit area for storing total and mean numbers (4 words)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
A
A
A
A
0
Total
Mean
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
R
11
F352
(FMEAN)
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
0
10
20
30
Integer
device
N/A
N/A
N/A
3 − 755