2 Instruction Descriptions
2-204
NJ-series Instructions Reference Manual (W502)
The following example is for when Size is UINT#5.
• If the value of Size is 0 or 1, the value of Out is 0.
• If an intermediate value in the calculation process exceeds the valid range of IN[], Out will contain an
illegal value. An error will not occur.
• An error occurs in the following case. ENO will be FALSE, and Out will not change.
• The value of Size exceeds the array area of In[].
Precautions for Correct Use
def:=ArySD(abc[1], UINT#5);
LD ST
UINT#5
abc[1]
def
ArySD
EN ENO
In
Size
Standard deviation calculated.
175.6645
Out=def
123.4
234.5
345.6
456.7
567.8
In[0]=abc[1]
In[1]=abc[2]
In[2]=abc[3]
In[3]=abc[4]
In[4]=abc[5]
Size=UINT#5