2 Instruction Descriptions
2-444
NJ-series Instructions Reference Manual (W502)
The following example is for when Size is UINT#3.
An error occurs in the following cases. ENO will be FALSE, and Out will not change.
• The value of Size exceeds the array area of In[].
• The conversion result exceeds the valid range of Out.
Precautions for Correct Use
def:=AryToString(abc[1], UINT#3);
LD ST
UINT#3
def
abc[1]
AryToString
EN ENO
In
Size
Out = def
Size = UINT#3
Character code for ‘Z’
Character code for ‘Y’
Character code for ‘X’
Character code for ‘W’
Character code for ‘V’
‘VWX’
16#58
16#59
16#5A
In[0]=abc[1]
In[1]=abc[2]
In[2]=abc[3]
In[3]=abc[4]
In[4]=abc[5]
16#56
16#57