331
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.4 FNC 53 – HSCS / High Speed Counter Set
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
6. Priority order in operations among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC 55)
instructions for the same high speed counter
When the same comparison value is used for the same high speed counter in HSCS (FNC 53), HSCR (FNC
54), and HSZ (FNC 55) instructions, high speed counter reset (self-reset) by HSCR (FNC 54) instruction is
executed with the highest priority (as shown in the table below).
In this case, the comparison results do not change in HSCS, HSCR, and HSZ instructions whose comparison
value is programmed to be same as the comparison value for self-reset by HSCR (FNC 54) instruction.
For making valid the comparison results, set the comparison value to "K0".
Operation of FX
2N
/FX
2NC
/FX
1N
/FX
1NC
/FX
1S
PLC
[reference]
*1. Because of response delay at the output, the
output may not operate within the period of time
in which the present value is changed from "0" to
"1".
Program
sequence
Processing sequence
FX
3U
/
FX
3UC
FX
2N
/
FX
2NC
FX
1N
/FX
1S
/
FX
1NC
DHSCS (1)
DHSCR (6)
(self-reset)
DHSCS (1) DHSCS (1)
DHSCS (2)
DHSZ (4)
DHSCS (2) DHSCS (2)
DHSCR (3)
DHSCS (1) DHSCR (3) DHSCR (3)
DHSZ (4)
DHSCS (2) DHSZ (4)
DHSZ (4)
DHSCR (5)
DHSCR (3) DHSCR (5) DHSCR (5)
DHSCR (6)
(self-reset)
DHSCR (5)
DHSCR (6)
(self-reset)
DHSCR (6)
(self-reset)
M8000
C235
K10000
(1)
(2)
(3)
FNC 53
DHSCS
K500
C235
Y000
K500
C235
Y001
K500
C235
Y002
FNC 53
DHSCS
FNC 54
DHSCR
M8000
(4)
FNC 55
DHSZ
K250
K500
C235
K250
K500
C235
FNC 11
DZCPP
Y003
Y003
M8000
(5)
FNC 54
DHSCR
K500
C235
K500
C235
FNC 54
DHSCR
Y006
C235
(6)
Self-reset program
Operation of FX
3U
/FX
3UC
PLC
*1.
For changing the comparison results by the
instructions (1) to (3) and (5), change the comparison
value "K500" in the instructions (1) to (3) and (5) to
"K0".
*2.
For setting to ON Y005 in HSZ instruction (4), set a
value smaller than the comparison value "K500".
Because of response delay at the output, however,
the output may not operate within the period of time
in which the present value is changed from the set
value to "K500 (K0)".
500
250
0
Present value
Y003
Y004
Y005
Y000 to Y002 and Y006 do not change.
*1
ON
ON
OFF
OFF
It does not change.
*2
500
250
0
Present value
Y003
Y004
Y005
ON
ON
ON
Present value:1
Y000,Y001
Y002
ON
OFF
*1
Present value:1