321
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.2 FNC 51 – REFF / Refresh and Filter Adjust
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
Cautions
1. Setting the filter time "n"
Set "n" within the range from K0 (H0) to K60 (H3C) [0 to 60 ms].
2. Function of the input filter
A digital filter is built in the inputs X000 to X017
*1
. The filter time can be changed in units of 1 ms within the
range from 0 to 60 ms using an applied instruction. When the filter time is set to "0", the value shown in the
table below is resulted.
*1.
X000 to X007 in the FX
3U
-16M
*2.
When setting the input filter time to "5
µ
s", perform the following:
-
Make sure that the wiring length is 5 m or less.
-
Connect a bleeder resistor of 1.5 k
Ω
(1 W or more) to the input terminal, and make sure that the
load current in the open collector transistor output in the counterpart equipment is 20 mA or more
including the input current in the main unit.
*3.
The filter time is fixed to 10 ms in X010 to X017 when the FX
3U
-16M
is used.
Program example
1. Relationship between the program and the filter time
*4.
X000 to X007 in the FX
3U
-16M
Input number
Input filter value when set to "0"
X000 to X005
5
µ
s*
2
X006, X007
50
µ
s
X010 to X017
*3
200
µ
s
*3
n
X001
X000
END
When X010 is ON
The image memory of X000 to
X017
*4
is refreshed with the input
filter of 1 ms.
The image memory of X000 to X017
*4
is
refreshed with the input filter of 20 ms.
The image memory is refreshed with
the input filter value set in D8020.
Input
processing
Set value of D8020
(Initial value: 10 ms)
1 ms
20ms
Sequence
program
REFF instruction
REFF instruction
END
Output
processing
X010
X000
M8000
FNC 51
REFF
K 1
FNC 51
REFF
K 20