329
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
5. Reset operation by an external terminal
→
For the details, refer to "5. Reset operation by an external terminal" in Subsection 13.4.1.
6. For other cautions on using HSCS instruction, refer to the description later.
→
For the details, refer to the next page.
Program example
With regard to the current value of a counter, different outputs (Y) are arbitrary set to ON by two values.
13.4.1
Common cautions on using instructions for high speed counter
DHSCS (FNC 53), DHSCR (FNC 54), DHSZ (FNC 55) and DHSCT (FNC280) instructions are provided for
high speed counters.
This paragraph explains common cautions for these instructions.
1. Limitation in the number of an instruction in a program
DHSCS, DHSCR and DHSZ instructions can be used as many of times as necessary in the same way as
general instructions. However, the number of simultaneously driven instructions is limited. The DHSCT
instruction can be used only once in any program.
*1.
When DHSZ or DHSCT instruction is used, the maximum response frequency of every software
counter and the total frequency are limited.
2. Response frequency of high speed counters
When DHSZ or DHSCT instruction is used, the maximum response frequency of every software counter and
the total frequency are limited.
→
For the maximum response frequency of each software counter and the total frequency,
refer to Subsection 4.7.10.
Instruction
Limitation in number of instructions driven at same time
DHSCS
32 instructions including DHSCT instruction
DHSCR
DHSZ
*1
DHSCT
*1
Only 1 (This instruction can be used only once.)
M8000
C255
K2,147,483,647
FNC 53
DHSCS
K100
C255
Y010
C255 = K100
→
Y010 = ON
Set the maximum counting value of
high speed counter.
FNC 53
DHSCS
K150
C255
Y011
C255 = K150
→
Y011 = ON
RUN monitor
Comparison
value
Comparison
source
Output
destination
S
1
D
S
2
S
1
D
S
2
C255
Y010
Y011
0
…
99
100
101
…
149
150
151
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......