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 #508 background imageLoading...
Page #508 background image
2 Instruction Descriptions
2-460
NJ-series Instructions Reference Manual (W502)
The following example is for when OutVal is the same as above, Size is UINT#4, and Order is
_HIGH_LOW.
If the data type of OutVal is one byte, one byte of In[] is stored directly in OutVal.
The following data types have one byte.
The following storage method is used.
The following example is for when OutVal is a SINT array with three elements, Size is UINT#3, and
Order is _LOW_HIGH.
The following example is for when OutVal and Size are the same as above and Order is _HIGH_LOW.
When the Data Type of OutVal Is One Byte
Classification Data type
Bit strings BYTE
Integers USINT and SINT
Real numbers None
Times, durations, dates, and
text strings
STRING types with one byte
Others An array for which the total for all elements is 1 byte, an array element that is 1
byte, a structure for which the total for all members is 1 byte, or a structure
member that is 1 byte.
Value of
Order
OutVal
(array or not)
Storage method in OutVal
_LOW_HIGH
Not an array Value of In[0] is stored in OutVal
Array Value of In[i] is stored in OutVal[i]
_HIGH_LOW
Not an array Value of In[1] is stored in OutVal
Array In[i] (where i is even) is stored in OutVal[i+1].
In[i] (where i is odd) is stored in OutVal[i−1].
If the value of Size is odd, data is stored up to OutVal[Size] and 16#00
is stored in OutVal[Size−1].
Size = UINT#4
OutVal
DWORD#16#23016745
In[0]
In[3]
In[2]
In[1]
BYTE#16#67
BYTE#16#45
BYTE#16#23
BYTE#16#01
Size = UINT#3
In[0]
BYTE#16#01
In[2]
BYTE#16#02
BYTE#16#03
In[1]
OutVal[0]
SINT#1
SINT#2
SINT#3
OutVal[2]
OutVal[1]
Size = UINT#3
In[0]
BYTE#16#01
In[2]
BYTE#16#02
BYTE#16#03
In[1]
OutVal[0]
SINT#2
SINT#1
SINT#0
OutVal[2]
SINT#3
OutVal[3]
OutVal[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