Arybyteto - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

AryByteTo

The AryByteTo instruction joins BYTE array elements and stores the result in a variable.
Instruction
AryByteTo
Conversion from
Byte Array
Variables
Name
Meaning
In[] (array)
Array to
convert
Size
Number of
elements to
convert
Order
Conver-
sion order
OutVal
Conver-
sion result
Out
Return
value
* If you omit the input parameter, the default value is not applied. A building error will occur.
Bit strings
In[] (array)
OK
Size
Order
OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
OutVal
An enumeration, array, array element, structure, or structure member can also be specified.
Out
OK
Function
The AryByteTo instruction takes the first Size elements in array to convert In[] and joins them to match
the size of the data type of conversion result OutVal. It then stores the result in OutVal.
2-480
Name
FB/FUN
FUN
I/O
Description
Array to convert
Number of elements in In[]
Input
to convert
Conversion order
In-out
Conversion result
Output
Always TRUE
OK
Refer to Function for the enumerators for the enumerated type _eBYTE_ORDER.
Graphic expression
(@)AryByteTo
EN
ENO
In
Size
Order
OutVal
Valid range
Depends on data type.
_LOW_HIGH or
_HIGH_LOW
Depends on data type.
TRUE only
Integers
NY-series Instructions Reference Manual (W560)
ST expression
AryByteTo(In, Size, Order,
OutVal);
Out
Unit
Default
*
1
---
_LOW
_HIGH
---
---
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents