Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
340
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
13.2 FNC 51 – REFF / Refresh and Filter Adjust
Outline
The digital input filter time of the inputs X000 to X017
*1
can be changed using this instruction or D8020.
Using this instruction, the status of inputs X000 to X017
*1
can be refreshed at an arbitrary step in the program for the
specified input filter time, and then transferred to the image memory.
1. Instruction format
2. Set data
3. Applicable devices
S: K0 (H0) to K60 (H3C)
Explanation of function and operation
1. 16-bit operation (REFF and REFFP)
16 inputs from X000 to X017
*1
in the image memory are refreshed at the digital input filter time [n × 1 ms].
When the input turns ON "n × 1 ms" before the instruction is executed, the image memory is set to ON. When the
input turns OFF "n × 1 ms" before the instruction is executed, the image memory is set to OFF.
When the command input is ON, the REFF instruction is executed in each operation cycle.
When the command input is OFF, the REFF instruction is not executed, and the input filter of X000 to X017
*1
uses
the set value of D8020 (which is the value used during input processing).
*1. X000 to X007 in the FX
3U-16M, FX3UC-16M.
Operand Type Description Data Type
n Digital input filter time [K0 to K60 (H0 to H3C) × 1 ms] 16-bit binary
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD.b KnX KnY KnM KnS T C D R U\G VZModifyKH E ""P
n 33 SS
P
FNC 51
REFF
Mnemonic Operation Condition
16-bit Instruction
3 steps
REFF
REFFP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
FNC 51
REFF
n
K0 to K60 (Filter constant from 0 to 60 ms)
Command
input