705
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
Cautions
• This instruction can be executed only once in a program.
If this instruction is programmed twice or more, an operation error is caused by the second instruction and
later, and the instruction will not be executed. (error code: K6765)
• This instruction constructs the table data by END instruction at first execution of this instruction.
Accordingly, the operation output works after the second scan and later.
• With regard to DHSCT (FNC280), DHSCS (FNC 53), DHSCR (FNC 54) and DHSZ (FNC 55) instructions,
up to 32 instructions can be executed in one operation cycle. An operation error is caused by the 33rd
instruction and later, and the instruction will not be executed. (error code: K6705)
• 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
• When a high speed counter specified in
is indexed with index, all high speed counters are handled
as software counters.
• For this instruction, only one table (in one line) is handled as the comparison target at one time.
Comparison will not move to the next table until the current value becomes equivalent to the table currently
selected as the comparison target.
If the current value of a high speed counter executes up counting using comparison tables shown in the
operation example on the previous page, make sure to execute the instruction while the current value of a
high speed counter is smaller than the comparison value in table No. 1.
Errors
An operation error occurs in the following cases; The error flag M8067 turns ON, and the error code is stored
in D8067.
• When any devices other than high speed counters C235 to C255 are specified in
(error code: K6706)
• When the “3m-1”th device from a device specified in
exceeds the last number of the device (error
code: K6706)
• When the “n”th device from a device specified in
exceeds the last number of the device (error code:
K6706)
• When this instruction is used twice or more in a program (error code: K6765)
• With regard to DHSCT (FNC280), DHSCS (FNC 53), DHSCR (FNC 54) and DHSZ (FNC 55) instructions,
up to 32 instructions can be executed in one operation cycle. An operation error is caused by the 33rd
instruction and later, and the instruction will not be executed. (error code: K6705)
D
S
2
S
2
S
1
D