Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
256
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
12.1 REF / Refresh
Function and operation explanation
1. 16-bit operation(REF, REFP)
1) When refreshing outputs (Y)
"n" points are refreshed from the output of the device specified by . ("n" must be a multiple of 8.)
- When this instruction is executed, the output latch memory is refreshed to the output status in the
specified range.
2) When refreshing inputs (X)
"n" points are refreshed from the input of the device specified by . ("n" must be a multiple of 8.)
- If the input information is turned ON approximately 10 ms (response delay time of the input filter) before
the instruction is executed, the input image memory turns ON when the instruction is executed.
- The response delay time of the input filter can be changed.
For details, refer to "what should be understood before using the REF instruction"
described later.
Command input
Number of
points
Head device
number
REF
EN
d
n
ENO
* Refer to "Caution" for the head device number and the number of points.
ON
ON
ON
Image memory
output (Y)
REF instruction
(executed)
END instruction
processing (output)
Improved response delay time Improved response delay time
Output refresh
REF instruction
+ END processing
Only END
processing
Command input
Number of
points
Head device
number
REF
EN
d
n
ENO
* Refer to "Caution" for the head device number and the number of points.
ON
ON
20ms5ms
10ms 10ms
ON
10ms
Input terminal
Does not turn ON.
Improved response delay time
Input signal (X)
Filter time
REF instruction (executed)
Input refresh
REF instruction + END
instruction processing
Only END instruction
processing
END instruction (input)
processing