337
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High Speed Counter Zone Compare
11
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
2) Cases to select a general-purpose comparison instruction
- When the required frequency is beyond the counting performance of software counters
- When counting is regarded important, but the effect of the scan time can be ignored in operations
according to the counting result
- When the number of an instruction is more than 32
2. Device specification range
Only high speed counters (C235 to C255) can be specified as
.
3. Only 32-bit operation instructions are available.
Because instructions for high speed counters are dedicated to 32 bits, make sure to input "DHSZ (FNC 55)".
4. Caution on values set in the comparison value 1
and comparison value 2
Make sure that
is smaller than or equivalent to
.
If
is larger than
, an error is caused.
5. Relationship between the comparison timing and the result output
1) DHSZ instruction executes comparison and outputs the result only when a counting pulse is input to a
high speed counter.
(When
is "1000" and
is "1999", the output
is set to ON as soon as the current value of
C235 changes from "999" to "1000" or from "1999" to "2000".)
2) Because the comparison result cannot be obtained when restoring the power or when the PLC mode
switches from STOP to RUN, the result is not output even if the comparison condition is provided.
→
For the details, refer to "13.6.1 Program in which comparison result is set to ON when power is
turned ON [ZCP (FNC 11) instruction]".
6. Priority order in operation among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC 55)
instructions for a same high speed counter
→
For the details, refer to "6. Priority order in operation among HSCS (FNC 53), HSCR (FNC 54), and
HSZ (FNC 55) instructions for a same high speed counter" in Subsection 13.4.1.
7. Reset operation by an external terminal
→
For the details, refer to "5. Reset operation by an external terminal [M8025*1: HSC (external reset)
mode]" in Subsection 13.4.1.
8. Number of occupied devices
1) The comparison value occupies two devices from
or
respectively.
2) The output occupies three devices from
.
M8000
DHCMOV
C251
D100
Y010
K0
Y011
Y012
FNC226
LD
<
K10000
D100
FNC230
LD >=
K10000
D100
FNC237
AND <= K20000
D100
FNC225
LD
>
K20000
D100
M8000
FNC 50
REF
Y010
K8
S
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2
D
S
1
S
2
D
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......