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 #291 background imageLoading...
Page #291 background image
2-243
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Data Type Conversion Instructions
2
**_TO_*** (Bit String-to-Bit String Conversion Group)
The following table shows the valid ranges for In and Out according to their data types.
To convert data with any data type to a bit string, use a TO_** (Bit String Conversion Group) instruction
(page 2-279).
• Always use the correct instruction name for the data types of In and Out.
• If the data size of Out is larger than the data size of In, the upper digits of Out will contain 0.
• If the data size of Out is smaller than the data size of In, the upper digits are truncated when the data
is output to Out.
Data type
of In
Data type
of Out
Valid range for In and Out
BYTE
WORD
16#00 to 16#FFDWORD
LWORD
WORD
BYTE 16#00 to 16#FF
DWORD
16#0000 to 16#FFFF
LWORD
DWORD
BYTE 16#00 to 16#FF
WORD 16#0000 to 16#FFFF
LWORD 16#0000_0000 to 16#FFFF_FFFF
LWORD
BYTE 16#00 to 16#FF
WORD 16#0000 to 16#FFFF
DWORD 16#0000_0000 to 16#FFFF_FFFF
Additional Information
Precautions for Correct Use
WORD data
DWORD data
In
Out=abc
WORD#16#F123
16#0000F123

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