EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #505 background imageLoading...
Page #505 background image
2-457
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Conversion Instructions
2
ToA r y B yt e
The following example is for when In is the same as above and Order is _HIGH_LOW.
• If In is STRING data, the text string is not converted to numbers. The contents of the variable is taken
as a bit string and converted to a byte array.
• If In is a structure, adjustment areas between members may be inserted into AryOut[].
• If the value of Order is _HIGH_LOW and the total number of bytes in In is an odd number, 16#00 is
added to the end of In to make an even number of bytes before the conversion is started.
• An error occurs in the following cases. ENO will be FALSE, and Out and AryOut[] will not change.
• The value of Order is outside of the valid range.
• The conversion result exceeds the array area of AryOut[].
Precautions for Correct Use
In[0]
Out = UINT#4
TRUE
In[2]
FALSE
FALSE
In[1]
In[3]
TRUE
In[5]
FALSE
FALSE
In[4]
In[6]
FALSE
In[7]
TRUE
In[9]
TRUE
FALSE
In[8]
In[10]
In[12]
FALSE
TRUE
FALSE
In[11]
In[13]
FALSE
In[14]
TRUE
In[16]
FALSE
FALSE
In[15]
In[17]
FALSE
In[18]
TRUE
In[20]
FALSE
FALSE
In[19]
AryOut[0]
16#45
16#89
16#00
AryOut[2]
16#04
AryOut[3]
AryOut[1]

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals