S.AVE
- 182 -
{ S.AVE ... Calculation of average value
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
S
D
n
5
S.AVE DS
n
Average value command
Setting data
D
S
Head No. of device where
data to be averaged is stored.
Device No. of output
destination
No. of averages
n
Function
The details of the n point devices from the device designated with S are averaged, and the results are
output to the device designated with D.
D
S
S + 1
S + 2
S + (n - 3)
S + (n - 2)
S + (n - 1)
n