Tablecmp - Omron NY532-5400 Reference Manual

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

Advertisement

TableCmp

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents