A SERVICE OF

logo

8. Function Commands
S.AVE
- 291 -
Program example
(1) Program to average the details of D882 to D888 when XB turns ON, and to output the results to
D0.
Coding
No. of
steps
Com-
mand
Device
10 LD XB
11 S.AVE D882 D0 K7
S.AVE
D0D882
K7
XB
10
16
D882
D883
D884
D885
D886
D887
D888
123
10
123
500
20
123
123
7 data items
146
D0
Average value
Averaging of data with S.AVE command
(Note) Fractional values are omitted.