Example 2:
20
+
19
+
18
------------------------------------------------------ -
AVE
=
5
2
20 18
–
STD
=
----------------------------------------------------------------------------------------------------------------------------------------------------------- -
real_std = 1.581139
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Calculate the standard deviation of dint_array, which is DINT[4,5].
+
17
+
16
90
----- -
=
=
18
5
2
+
19 18
–
+
18 18
–
5 1
–
Relay Ladder
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Dimension 0
2
2
+
17 18
–
+
16 18
Dimension 1
0
1
2
3
0
20
19
18
17
15
14
13
12
1
10
9
8
7
2
5
4
3
2
3
2
–
=
1.581139
Chapter 8
4
16
11
6
1
395