High−level Instructions
3 − 645
Outline Calculates the total and mean numbers in the specified double word
data table.
For the FP0R/FPΣ/FP−X, the P type high−level instruction “P276
(PDMEAN)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
S1
Trigger
DS2
F276 DMEAN, DT10, DT20, DT30
10
R0
10
11
ST R 0
F276 (DMEAN)
DT 10
DT 20
DT 30
S1 Starting 16-bit area of 32-bit data table
S2 Ending 16-bit area of double word (32-bit)
D Starting 16-bit area for storing total and mean numbers (5 words)
Operands
O
erand
Relay Timer/Counter Register
Index
register
Constant
Index
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 double 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 (64 bits)
Mean (32 bits)
15 0
D
D+1
D+2
D+3
D+4
D+5
F276
P276
(PDMEAN)
(DMEAN)
Total and mean numbers calculation in 32-bit data table
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com