Mitsubishi Electronics FX3GC Manuel D’Utilisation

Page de 964
345
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
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
C3
9
R
ota
tion and 
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
 
Proc
essing
14
FM
C60-FN
C69
H
andy 
In
struction
15
FN
C70-FN
C79
E
xternal
 F
X
 I/O
 
De
vice
16
FNC
80-FNC
89
External
 FX 
Dev
ice
17
FNC1
00-
FNC10
9
Dat
Transfer 2
18
FNC1
10-
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
 
Operation 2
20
FNC1
50-
FNC159
Pos
itioning 
Control
13.2.1 What should be understood before using REFF instruction
Generally, a C-R filter of approximately 10 ms is provided for inputs in PLCs as countermeasures against chattering
and noise at the input contacts.
A digital filter is provided for the inputs X000 to X017 in FX
3U
/FX
3UC
 PLC. The digital filter value can be changed
ranging from 0 to 60 ms using applied instructions.
1. How to change the digital filter (executing END instruction)
*1
The input filter initial value (10 ms) for X000 to X017 is set in special data register D8020.
By changing this value using the MOV instruction, etc., the input filter value for X000 to X017 which is used during
execution of the END instruction can be changed.
*1.
This function is supported only in DC input type.
2. Instruction in which the digital filter is automatically changed
Regardless of the change in the filter time executed by the REFF instruction, when the following functions and
instruction are executed, the input filter value is automatically changed (to 5 
µs in X000 to X005 and 50 µs in X006 and
X007).
However, if the digital filter is used in any other functions or instructions than the ones listed, the digital filter uses the
time set in D8020. As a result, the program will not run correctly if the ON or OFF duration of the corresponding input
signal is less than the input filter time.
• Input of interrupt pointer specified in the input interrupt function
• Input used in a high-speed counter
• Input used in the SPD (FNC 56) instruction
D8020
REFF
instruction
When the
command is ON
When the END
instruction is
executed
X000 to X017
Input terminal
Digital filter
Initial value: 10 ms
Input image
memory
X020 and
later
Input terminal
C-R filter
Fixed to 10 ms