A SERVICE OF

logo

8. Function Commands
S.AVE
- 290 -
{ S.AVE ... Calculation of average value
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
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
S1
S2
S+(n3
S+(n2
S+(n1
n
Execution conditions
The execution conditions for S.AVE are as shown below.
Average value command OFF
S.AVE
ON
Executed per scan
Executed per scan