703
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
32 High Speed Processing 2 – FNC280 to FNC289
32.1 FNC280 – HSCT / High Speed Counter Compare With Data Table
31
FN
C
275-FN
C
279
Da
ta
Tr
ans
fe
r 3
32
FN
C
280
-F
N
C
28
9
H
igh Speed
Pr
oces
si
ng 2
33
FN
C
290-FN
C
299
Ext
ensi
on Fi
le
R
egi
st
er
34
SF
C
•S
T
L
Pr
o
g
ra
m
m
in
g
35
In
te
rru
p
t
Funct
ion
36
Sp
e
cia
l De
vic
e
37
E
rro
r C
o
d
e
A
V
e
rs
ion U
p
In
fo
rm
a
tio
n
B
Ex
ec
ut
ion Ti
m
e
s
C
Appl
ic
ab
le
In
st
ru
ct
ion Li
st
Table data used for comparison
Operation output setting (SET [1] or RESET [0]) [Up to 16 points]
1) When this instruction is executed, the redundant table in the table data is set as the redundant
comparison target.
2) When the current value of a high speed counter specified in
becomes equivalent to the comparison
target table data, the operation output specified by the comparison target table data is reflected on
to +n-1.
If an output (Y) is specified in
, the output processing is executed immediately without waiting for
the output refresh executed by END instruction.
When specifying an output (Y), make sure that the least significant digit of the device number is “0”.
Examples: Y000, Y010 and Y020
3) Immediately after the step 2), “1” is added to the current value of the table counter D8138.
4) The next table is set as the comparison target data.
5) The steps 2) and 3) are repeated until the current value of the table counter D8131 becomes "m".
When the current value becomes "m", the complete flag M8138 turns ON, and the execution returns to
the step 1). At this time, the table counter D8138 is reset to "0".
6) When the command contact is set to OFF, execution of the instruction is stopped and the table counter
D8138 is reset to “0”.
Table number
Comparison data
Operation output setting
(SET [1] or RESET [0])
Operation output
destination
0
+1,
+2
to
+n-1
1
+4,
+3
+5
2
+7
+6
+8
...
..
.
..
.
m-2
+3m-5,
+3m-6
+3m-4
m-1
+3m-2,
+3m-3
+3m-1
S
1
S
1
S
1
D
D
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
Operation output setting
= HA716
When the current value of the high speed counter
becomes equivalent to the comparison value, the
operation output setting pattern is output.
In the case of " =
Y000, n = K10"
D
Operation
output setting
1 0 1 0 0 1 1 1 0 0 0 1 0 1 1 0
A
7
1
6
Y
0
1
1
Y
0
1
0
Y
0
0
7
Y
0
0
6
Y
0
0
5
Y
0
0
4
Y
0
0
3
Y
0
0
2
Y
0
0
1
Y
0
0
0
:ON
:OFF
+n-1
D
D
S
2
D
D
D