Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
341
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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, FX3UC-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.
*3. The filter time is fixed to 10 ms in X010 to X017 when the FX
3U-16M, FX3UC-16M is used.
Program example
1. Relationship between the program and the filter time
*4. X000 to X007 in the FX3U-16M, FX3UC-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 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.
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