12 Applied Instructions (High Speed Processing)
284
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
12.6 DHSZ / High Speed Counter Zone Compare
Timing chart
In the part 1) in the timing chart, Y010 remains OFF if the current value of a high speed counter (C235 in the
example below) is "0" when restoring the power.
1) For initializing Y010, the current value of C235 is compared with K1000 and K1200, and Y010 is driven
using the DZCPP instruction (for general zone comparison) as pulse operation only in RUN.
2) The comparison result in Y010 is latched until an input pulse is input and the comparison output is driven
by the DHSZ instruction.
3) According to the current value of the counter, the DHSZ instruction drives the output , or .
A
B
C
(Input pulse
for C235)
X000
(smaller than zone)
X010
(inside zone)
Y010
(larger than zone)
Y011
(current value of counter)
0
1000
1200
Y012
(Start)
A
B
C
1)