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 #277 background imageLoading...
Page #277 background image
2-229
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
BCD Conversion Instructions
2
AryToBin
AryToBin
The AryToBin instruction converts the elements of an array of BCD bit strings into unsigned integers.
*1 The valid ranges depend on the data types of the elements of In[] and AryOut[]. Refer to Function for details.
*2 If you omit an input parameter, the default value is not applied. A building error will occur.
Instruction Name FB/FUN Graphic expression ST expression
AryToBin Array Unsigned
Integer Conversion
FUN AryToBin(In, Size, Ary-
Out);
Variables
Name Meaning I/O Description Valid range Unit Default
In[] (array) Array of
BCD bit
strings
Input
Array of BCD bit strings *1
---
*2
Size Number of
elements
Number of elements of In[]
for conversion
Depends on data type. 1
AryOut[]
(array)
Unsigned
integer
array
In-out Unsigned integer array *1
--- ---
Out Return
value
Output Always TRUE TRUE only --- ---
Boolean
Bit string 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[] (array) OK OK OK OK
Size OK
AryOut[]
(array)
Must be an unsigned integer array. The data type must be the same size as the elements of In[].
Out OK
(@)AryToBin
EN ENO
In Out
Size
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