EasyManua.ls Logo

Inovance H3U Series - Page 348

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...
347
5
5 High-speed Input 5.2.3 HSZ Range Comparison
When [D] is set to special auxiliary relay M8130, the instruction is in high-speed table comparison mode, and
variables of the instruction will be resolved in table mode.
When [D] is set to the special auxiliary relay M8132, the instruction is in frequency control mode. In combination
with DPLSY instruction, it can control the output frequency of DPLSY by the present value of high-speed counter.
Like common instructions, HSCS, HSCR, and HSZ can be executed repeatedly, but there should be less than
eight simultaneously active instructions. Only one HSZ instruction in special mode (high-speed table comparison
mode or frequency control mode) can be active.
2
)
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 C235–C255.
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

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals