Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル
341
FX
3G
/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
C
C
30
-FN
C
C
39
R
otati
on and
on and
Shi
ft
ft
12
FNC4
0-F
0-F
NC4
9
D
ata O
per
ati
per
ati
on
13
FN
C
C
50-FN
C
59
H
igh S
pe
ed
P
rocessing
14
FM
C
C
60-FN
C
69
H
andy
In
st
ru
ct
ion
15
FNC7
0-F
0-F
NC7
9
Ex
ter
nal FX
I/O
D
evice
16
FN
C
C
80-FN
C
89
Ext
ernal
FX
ernal
FX
De
vic
vic
e
17
FN
C
100-
FN
FN
C
10
9
Da
ta
Transf
er 2
er 2
18
FN
C
110-
FN
FN
C
139
Floati
ng Poi
nt
19
FN
C
14
0-F
N
C
149
Da
ta
O
per
at
at
ion 2
20
FN
C
150-
FN
FN
C
159
Posit
ioning
C
ont
ro
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 into the inputs X000 to X017
*1
. The filter time can be changed in 1 ms units within the range from
0 to 60 ms using applied instructions. When the filter time is set to "0", the input filter value is as follows.
*1.
X000 to X007 in the FX
3U
-16M
, FX
3UC
-16M
.
*2.
When setting the input filter time to "5
µs", perform the following actions:
-
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 of the external equipment is 20 mA or more including the
input current of the main unit.
input current of the main unit.
*3.
The filter time is fixed to 10 ms in X010 to X017 when the FX
3U
-16M
, FX
3UC
-16M
is used.
Program example
1. Relationship between the program and the filter time
*4.
X000 to X007 in the FX
3U
-16M
, FX
3UC
-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
The image memory of X000 to
X017
*4
is refreshed with an input
filter of 1 ms.
The image memory of X000 to X017
*4
is
refreshed with an input filter of 20 ms.
The image memory is refreshed with
the input filter value set in D8020.
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