749
FX
3G
/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
Transf
er 3
32
FN
C
280-
FN
C
289
H
igh Speed
Pr
ocessing 2
33
FN
C
29
0-F
N
C
299
Ext
ens
ion Fi
le
R
egi
ster
34
FN
C
300-
FN
C
305
FX
3U
-C
F-A
D
P
35
SFC•S
TL
Pr
ogr
am
m
ing
36
In
ter
rupt
Functi
on
37
Special D
evice
38
E
rro
r C
ode
A
Ve
rs
ion U
p
In
fo
rm
atio
n
B
Execution T
im
es
Data table used for comparison
Operation output setting (SET [1] or RESET [0]) [Up to 16 points]
1) When this instruction is executed, the data table is set as the comparison target.
2) When the current value of the high speed counter, specified in
, becomes equivalent to the
comparison value in the data table, the corresponding operation output specified in the data table is
output to
to
+n-1.
If an output (Y) is specified in
, the output processing is executed immediately without waiting for
the output refresh executed by the 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 step 2), “1” is added to the current table counter value D8138.
4) The next comparison point is set as the comparison target data.
5) Steps 2) and 3) are repeated until the current value of the table counter D8138 becomes "m".
When the current value becomes "m", the instruction execution complete flag M8138 turns ON, and the
execution returns to 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”.
Comparison
point number
Comparison value
Operation output set value
(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