EasyManua.ls Logo

Inovance H3U Series - Matrix Comparison

Inovance H3U Series
737 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
Loading...
227
4
4 Instructions 4.6.2 Matrix Comparison
BKCMP=, >, <, <>, <=, and >=: Matrix comparison
Overview
These instructions perform matrix comparison based on comparison conditions.
BKCMP# S1 S2 D n
Matrix
comparison
Applicable model:
H3U
S1
Comparative
value
Comparative value, or number of the
element that stores the comparative value
16-bit instruction (9
steps)
BKCMP#: Continuous
execution
BKCMP#P: Pulse
execution
32-bit instruction (17
steps)
DBKCMP#:
Continuous execution
DBKCMP#P: Pulse
execution
S2
Compared
value
Start number of elements that store the
source data to be compared
D
Destination
address
Start number of elements that store the
comparison result
n Data count Number of data entries in an operation
Note: The # symbol can be =, >, <, <>, <=, or >=.
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The n data entries (16- or 32-bit) from head addresses [S1] and [S2] are compared. The result is stored in n
units (16- or 32-bit) from head address [D].
The BKCMP> instruction is used as an example.
[S1+0]
[S1+1]
[S1+n-2]
[S1+n-1]
...
K1111
K1111
K1111
K1111
...
[D+0]
[D+1]
[D+n-2]
[D+n-1]
...
OFF
ON
ON
OFF
...
[S2+0]
[S2+1]
[S2+n-2]
[S2+n-1]
...
K1111
K-2222
K500
K3333
...
A signed constant (16- or 32-bit) can be directly set in [S1]. The BKCMP> instruction is used as an
example.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals