Aryand, Aryor, Aryxor, And Aryxorn - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

AryAnd, AryOr, AryXor, and
AryXorN
These instructions process Boolean variables or individual bits in bit stings between arrays.
AryAnd:
Logical AND
AryOr:
Logical OR
AryXor:
Logical Exclusive OR
AryXorN:
Logical Exclusive NOR
Instruction
AryAnd
Array Logical AND
AryOr
Array Logical OR
AryXor
Array Logical
Exclusive OR
AryXorN
Array Logical
Exclusive NOR
Variables
Name
Meaning
In1[] and
Array to pro-
In2[]
cess
(arrays)
Size
Number of ele-
ments
AryOut[]
Processing
(array)
results array
Out
Return value
* If you omit an input parameter, the default value is not applied. A building error will occur.
NJ-series Instructions Reference Manual (W502)
Name
FB/FUN
FUN
FUN
FUN
FUN
I/O
Description
Array to process
Input
Number of elements to pro-
cess
In-out
Processing results array
Output
Always TRUE
2 Instruction Descriptions
Graphic expression
(@)AryAnd
EN
ENO
In1
Out
In2
Size
AryOut
(@)AryOr
EN
ENO
In1
Out
In2
Size
AryOut
(@)AryXor
EN
ENO
In1
Out
In2
Size
AryOut
(@)AryXorN
EN
ENO
In1
Out
In2
Size
AryOut
Valid range
Depends on data type.
Depends on data type.
TRUE only
ST expression
AryAnd(In1, In2, Size, Ary-
Out);
AryOr(In1, In2, Size, Ary-
Out);
AryXor(In1, In2, Size, Ary-
Out);
AryXorN(In1, In2, Size, Ary-
Out);
Unit
Default
*
---
1
---
---
---
---
2-293
2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents