EasyManua.ls Logo

Inovance H3U Series - Page 367

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...
366
5
5 High-speed Input5.4.4 HSZ Range Comparison
3
)
Example:
a) Common mode
When the present value of C252 < K2000, Y0 is ON
When K2000 ≤ the present value of C252 < K3000, Y1 is ON
When the present value of C252 ≥ K3000, Y2 is ON
DHSZK2000 K3000 C252 Y0
C252 K100000
M8000
The program
is running
Y0
Y1
Y2
b) High speed table comparison mode
When the instruction parameter [D] is set to special auxiliary relay M8130, the instruction is in high-speed
table comparison mode. Notes to operands:
[S1] only corresponds to variables of register D and indicates the head address of the comparison table. Z
can be used. After the instruction is enabled, [S1] will no longer be affected by Z.
[S2] can use the constant K or H only to indicate the number of rows of the table. Z can be used. After the
instruction is enabled, [S1] will no longer be affected by Z.
[S] variables must be high-speed counters C252–C254.
When [D] is set to M8130, the instruction is in high-speed table comparison mode.
Example: The following describes instruction programming.
The program is running
HSZ control mode
The following is an equivalent comparison table:
The initial variable
of [S1] table is D0
Comparison Value (32 Bits)
Y Output Number ON/OFF Table Counter D8130
(High-order, Low-order)
The number of rows
of [S2] table is K4
(D1, D0) D2 D3 0
(D5, D4) D6 D7 1
(D9, D8) D10 D11 2
(D13, D12) D14 D15 3
Parameter example
K100 H10 K1
When the instruction
is executed,
the counter follows
the cycle from 0 to 1
to 2 to 3 to 0.
K150 H11 K1
K200 H10 K0
K300 H11 K0
Description
Operate after receipt of the
set pulse value.
H10 indicates Y10
port. H11 indicates
Y11 port.
K1 indicates ON.
K0 indicates OFF.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals