Arytobin - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

AryToBin

The AryToBin instruction converts the elements of an array of BCD bit strings into unsigned integers.
Instruction
AryToBin
Array Unsigned
Integer Conversion
Variables
Name
Meaning
In[] (array)
Array of
BCD bit
strings
Size
Number of
elements
AryOut[]
Unsigned
(array)
integer
array
Out
Return
value
*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.
Bit string
In[] (array)
OK OK OK OK
Size
AryOut[]
Must be an unsigned integer array. The data type must be the same size as the elements of In[].
(array)
Out
OK
2-258
Name
FB/FUN
FUN
I/O
Description
Array of BCD bit strings
Input
Number of elements of In[]
for conversion
In-out
Unsigned integer array
Output
Always TRUE
OK
Graphic expression
(@)AryToBin
EN
ENO
In
Size
AryOut
Valid range
*1
Depends on data type.
*1
TRUE only
Integers
NY-series Instructions Reference Manual (W560)
ST expression
AryToBin(In, Size, Ary-
Out);
Out
Unit
Default
*2
---
1
---
---
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents