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 #150 background imageLoading...
Page #150 background image
2 Instruction Descriptions
2-102
NJ-series Instructions Reference Manual (W502)
TableCmp
The TableCmp instruction compares the comparison data with multiple defined ranges in a comparison
table.
* If you omit an input parameter, the default value is not applied. A building error will occur.
Instruction Name FB/FUN Graphic expression ST expression
TableCmp Table Comparison FUN Out:=TableCmp(In, Table,
Size, AryOut);
Variables
Name Meaning I/O Description Valid range Unit Default
In Comparison
data
Input
Value to compare
Depends on data type.
---
*
Tabl e[ ]
(two-
dimen-
sional
array)
Comparison
table
Two-dimensional array that
contains the elements for
the defined ranges
Size Comparison
size
Number of elements in
Tabl e[ ] to which to compare
In
1
AryOut[]
(array)
Individual com-
parison results
array
In-out Comparison results for
Tabl e[ ] elements
TRUE: Condition met.
FALSE: Condition not met.
Depends on data type.
--- ---
Out Comparison
result
Output TRUE: In meets all compari-
son conditions for elements
of Ta bl e[ ].
FALSE: The comparison
condition is not met for one
or more sets of elements.
Depends on data type. --- ---
(@)TableCmp
EN
In
Tabl e
Size
AryOut
Out

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