Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
14 Applied Instructions (External FX I/O Device)
14.2 HKY / Hexadecimal Input
358
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 16-bit operation(HKY)
The numerical value scanned by the signals of the input for connecting 16 keys (0 to F) (device designated in
) and the row output (device designated in ) and by pressing keys 0 to 9 is stored in the device
designated in , and the key sense output is issued to the device designated in .
When any one of keys A to F is pressed, the key pushing information corresponding to the key (device
designated in ) is turned ON, and the key sense output (device designated in ) is issued.
1) Numerical value input by keys 0 to 9
If more than 9,999, the value overflows from the higher digits.
- The entered numerical value is stored in as BIN (binary) value.
- The key sense output +7 is turned ON by pressing any one of keys 0 to 9.
2) Key pushing information of keys A to F
- To turn ON 6 points from corresponding to any one of keys A to F.
- The key sense output +6 is turned ON by pressing any one of keys A to F.
2. 32-bit operation(DHKY)
The numerical value scanned by the signals of the input for connecting 16 keys (0 to F) (device designated in
) and the row output (device designated in ) and by pressing keys 0 to 9 is stored in the device
designated in , and the key sense output is issued to the device designated in .
When any one of keys A to F is pressed, the key pushing information corresponding to the key (device
designated in ) is turned ON, and the key sense output (device designated in ) is issued.
1) Numerical value input by keys 0 to 9
- If more than 99,999,999, the value overflows from the higher digits.
- The entered numerical value is stored in ( +1, ) as BIN (binary) value.
- The key sense output +7 is turned ON by pressing any one of keys 0 to 9.
2) Key pushing information of keys A to F
As for the key pushing information, refer to the previous page on 16-bit operation (HKY).
Key Key pushing information Key Key pushing information
AD
+3
B
+1
E
+4
C
+2
F
+5
Command input
HKY
EN
s
ENO
d1
d2
d3
Beginning device
for entering 16 keys
Beginning device to be output
Device for storing numerical
value entered from 16 keys
Beginning bit device for turning
ON key pushing information
Command input
DHKY
EN
s
ENO
d1
d2
d3
Beginning device
for entering 16 keys
Beginning device to be output
Beginning bit device for turning
ON key pushing information
Device for storing numerical
value entered from 16 keys