10.8 STDDEV (Acquiring the Variance and Standard Deviation)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
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
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K
U
(N
ote
2)
H
(N
ote
3)
SF
D
F
" "
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.8 STDDEV (Acquiring the Variance and Standard Deviation)
10-30 WUME-FP7CPUPGR-12