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 #497 background imageLoading...
Page #497 background image
2-449
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Conversion Instructions
2
Dispart8Bit
Dispart8Bit
The Dispart8Bit instruction separates a bit string into individual bytes.
* If you omit the input parameter, the default value is not applied. A building error will occur.
The Dispart8Bit instruction separates data to separate In into individual bytes and stores them in sepa-
ration results array AryOut[].
First, In is separated into bytes. Then, the lowest byte is stored in AryOut[0]. Then, the next byte is
stored in AryOut[1]. This process is repeated for the number of bytes that is specified in number of
bytes to separate Num.
Instruction Name FB/FUN Graphic expression ST expression
Dispart8Bit Byte Data
Separation
FUN Dispart8Bit(In, Num, Ary-
Out);
Variables
Name Meaning I/O Description Valid range Unit Default
In Data to separate
Input
Bit string to separate Depends on data type.
---
*
Num Number of bytes
to separate
Number of bytes to separate 0 to No. of bytes in In 1
AryOut[]
(array)
Separation
results array
In-out Separation results array Depends on data type.
--- ---
Out Return value Output Always TRUE TRUE only --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In OK OK OK OK
Num OK
AryOut[]
(array)
OK
Out OK
Function
(@)Dispart8Bit
EN ENO
In Out
Num
AryOut

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