EasyManua.ls Logo

Thinget XC Series - Mean

Thinget XC Series
283 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Applied Instructions
MEAN D0 D10 K3
X0
n
(D0) + +
3
(D10)
(D1) (D2)
Function & Action
z The value of all the devices within the source range is summed and then divided by the
number of devices summed, i.e. n.. This generates an integer mean value which is stored
in the destination device (D) The remainder of the calculated mean is ignored.
z If the value of n is specified outside the stated range (1 to 64) an error is generated.
[MEAN]
16 bits instructionMEAN 32 bits instruction-
Suitable Models
XC1XC3XC5
Zero M8020
Borrow M8021
Flag
Carry M8022
¾
Word
Device
Bit
Device
n
D
FD
DM
DX
DY
DS
TD
CD
K/H
X
Y
M
S
T
C
Dn.m
96

Table of Contents

Related product manuals