User`s manual
9 - 76 9 - 76
MELSEC-Q
9 CONTROL OPERATION INSTRUCTIONS
Control data
(1) Data specified in S.AVE instruction
Specified position Symbol Name Recommended range
*1
Unit Data format
Standard
value
Store
S1
+0
n Input count 1 to 16
BIN
16bit
U
+1
+2
E1 Input value 1
+3
+4
E2 Input value 2
…
…
…
Input
data
+2
n-1
+2
n
E
n
Input value n
-999999 to 999999
Real
number
U
Block
memory
D1
+0
+1
BW Output value (Average value of E1 to En)
Real
number
S
*1: The data of the item(s) where the values within the recommended range are given in the parentheses are stored by the system.
Users cannot set the data.
Processing contents
(1) Calculation of average value
The average value of the input value 1 (E1) to n (En) is calculated.
As the denominator (N), the value specified as the number of inputs (n) is used.
N
BW
E1 E2 E3 E
n
Error
• When an operation error occurs Error code: 4100
• When not 1
(number of inputs (n)) 16 Error code: 4100










