Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
258
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
12.1 REF / Refresh
12.1.1 What should be understood before using the REF instruction
1. Changing the input filter
The input filter value is determined by the contents of D8020 (initial value: 10 ms).
Use the MOV instruction, etc. to adjust the value in D8020, which represents the input filter value.
For details, refer to "FX Structured Programming Manual (Device & Common)."
2. Output response time
After the REF instruction is executed, the output (Y) sets the output signal to ON after the response time
shown below.
For details, refer to the respective PLC Hardware Edition manuals.
1) Relay output type
The output contact is activated after the response time of the output relay.
- Y000 and higher: Approximately 10 ms
2) Transistor output type
a) For FX
3U PLC
- Y000, Y001, Y002: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y003 and higher: 0.2 ms or less (load current = 200 mA, 24 V DC)
b) For FX3UC (D, DSS) PLC
- Y000, Y001, Y002: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y003 and higher: 0.2 ms or less (load current = 100 mA, 24 V DC)
c) For FX3UC-32MT-LT (-2) PLC
- Y000, Y001, Y002, Y003: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y004 and higher: 0.2 ms or less (load current = 100 mA, 24 V DC)
d) For FX3G PLC (14-point, 24-point types) and FX3GC PLCs
- Y000, Y001: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y002 and higher: 0.2 ms or less (load current = 200 mA, 24 V DC)
e) For FX3G (40-point, 60-point types)
- Y000, Y001, Y002: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y003 and higher: 0.2 ms or less (load current = 200 mA, 24 V DC)
f) For FX3GC PLC
- Y000, Y001: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y002 and higher: 0.2 ms or less (load current = 100 mA, 24 V DC)
g) For FX3S PLC
- Y000, Y001: 5 μs or less (load current = 10 mA or more, 5 to 24 V DC)
- Y002 and higher: 0.2 ms or less (load current = 200 mA, 24 V DC)
h) For FX1S, FX1N, FX1NC, FX2N and FX2NC PLCs
- Y000, Y001: 15 μs to 30 μs or less
- Y002 and higher: 0.2 ms or less
i) For FX0S, FX0, FX0N, FXU and FX2C PLCs
- Y000 and higher: 0.2 ms or less
3. When using the REF instruction between FOR and NEXT instructions or between a label
(with a lower step number) and CJ instruction (with a higher step number)
Inputs and outputs can be refreshed in a routine program even when the input information or immediate
output is required in the middle of a routine program during control.
4. When using the input interrupt (I) function
When executing interrupt processing accompanied by I/O operations, I/O refresh can be executed in the
interrupt routine to receive the latest input (X) information and give the immediate output (Y) of the operation
result so that dispersion caused by the operation time is improved.