10.8 STDDEV (Acquiring the Variance and Standard Deviation)
10.8 STDDEV (Acquiring the Variance and Standard Deviation)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S
Specify the starting position of a target area (data format: according to the operation unit).
n
Specify the number of target data (data format: unsigned 16-bit integer).
D
Specify the device address to store results.
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S
●
●
n
●
●
D
●
●
(Note 1)
Only 16-bit devices, and integer constants can be modified. (Real number constants, and character
constants cannot be specified.)
(Note 2)
Can be specified only when the operation unit is unsigned integer (US).
(Note 3)
Can be specified only when the operation unit is an integer (US, SS).
■
Outline of operation
● This instruction stores the variance and standard deviation within the range of the device
areas specified by [S] and [n] into the device area specified by [D].
● The maximum amount of data that can be specified is 30000.
● The result [D] is output as single-precision real numbers.
10-30
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
SS
UL
●
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
●
●
●
●
SL
SF
Real
Integer
numbe
r
H
U
(N
(N
D
IX
K
SF
F
ote
ote
2)
3)
●
●
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
(Note 1)
" "
●
●
●