10.5 MEAN (Acquiring the Total and the Mean Value)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S1
Starting position of the target area (data format: according to the operation unit)
S2
End position of the target area (data format: according to the operation unit)
D
Device address to store the result (data format: according to the operation unit)
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
D
●
●
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 3)
Index register (I0 to IE)
■
Outline of operation
● This instruction stores the total and mean values within the device areas specified by [S1]
and [S2] in the device area specified by [D].
● The storage position of the total and the mean values, with [D] as the starting address, varies
with the operation unit.
WUME-FP7CPUPGR-12
10.5 MEAN (Acquiring the Total and the Mean Value)
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
SS
UL
●
●
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
●
●
●
●
●
●
●
●
●
●
SL
SF
●
●
Real
Integer
numbe
r
IX
(N
K
H
SF
U
ote
3)
●
●
●
DF
●
St
rin
g
Index
modifie
r
D
(Note 2)
" "
F
●
●
●
10-19