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 #337 background imageLoading...
Page #337 background image
2-289
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Bit String Processing Instructions
2
XORN
XORN
The XORN instruction performs a logical exclusive NOR operation on Boolean variables or individual
bits in bit stings.
* 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.
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.
Instruction Name FB/FUN Graphic expression ST expression
XORN Logical Exclusive
NOR
FUN Out:=In1 XOR NOT ·· XOR
NOT InN;
Variables
Name Meaning I/O Description Valid range Unit Default
In1 to InN Data to
process
Input Data to process, where N is
2 to 5
Depends on data type.
--- 0*
Out Processing
result
Output Processing result Depends on data type.
--- ---
Boolean
Bit strings 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
In1 to InN OKOKOKOKOK
Out Must be same data type as In1 to InN
Function
(@)XORN
EN ENO
In1 Out
:
InN
:
···
···

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