Instruction 100- average value – Maple Systems MAPware-7000 User Manual
Page 170

MAPware-7000 Ladder Logic Guide
162
1010-1041 rev. 00
Instruction 100- Average Value
Expression:
Space Requirement: 1 line x 5 column Location Requirement: Middle, Right rail
Function:
When the input is ON, this instruction calculates the average value of the data stored in the n
registers starting with A, and stores the average value in B. The allowable range of the table size
n is 1 to 64.
Execution Condition:
Input
Operation
Output
OFF
No execution
OFF
ON
Execution
ON
Operand:
Coil or Bit
Register
Constant
Index
Name
X
Y B
S
T.
C.
M
X
W
Y
W
B
W
S
W
T C
D
I
J
K
M
W
A
Start of table
√
√
√
√
√ √
√
N
Table size
1-64
B
Result
√
√
√
√ √
√
√
√
√
Example:
When B012 is ON, the average value of the data stored in the register table D0200 to D0209 (10
words), and the average value is stored in D0520.