Xorn - Omron NY532-5400 Reference Manual

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

Advertisement

XORN

The XORN instruction performs a logical exclusive NOR operation on Boolean variables or individual
bits in bit stings.
Instruction
XORN
Logical Exclusive
NOR
Variables
Name
Meaning
In1 to InN
Data to
process
Out
Processing
result
* If you omit the input parameter that connects to InN, the default value is not applied, and a building error will occur. For
example, if N is 3 and the input parameters that connect to In1 and In2 are omitted, the default values are applied, but if the
input parameter that connects to In3 is omitted, a building error will occur.
Bit strings
In1 to InN
OK OK OK OK OK
Out
Function
The XORN instruction performs processing on Boolean variables or corresponding bits in bit strings.
The data to process is in In1 to InN. In1 to InN and Out must be the same data types.
If there are more than two data to process, processing is performed with the following procedure.
1
Processing is performed for In1 and In2.
2
Processing is performed for the results of step 1 and In3.
3
Processing is performed for the results of step 2 and In4.
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Input
Data to process, where N is
2 to 5
Output
Processing result
Must be same data type as In1 to InN
Graphic expression
(@)XORN
EN
ENO
In1
Out
:
:
InN
Valid range
Depends on data type.
Depends on data type.
Integers
2 Instruction Descriptions
ST expression
Out:=In1 XOR NOT ·· XOR
NOT InN;
Unit
Default
---
0*
---
---
Times, durations,
dates, and text strings
2
2-323

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents