443
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.2 FNC 71 – HKY / Hexadecimal Input
11
FNC3
0-F
NC3
9
R
otati
on and
Shif
t
12
FNC4
0-F
NC4
9
D
ata
O
per
ati
on
13
FN
C
50-FN
C
59
H
igh Speed
Pr
ocess
ing
14
FM
C
60-
FN
C
69
H
andy
In
st
ru
ct
ion
15
FNC7
0-F
N
C7
9
Ex
ter
nal
FX
I/O
D
evice
16
FN
C
80-FN
C
89
Ext
ernal FX
De
vic
e
17
FN
C
100-
FN
C
109
Da
ta
Transf
er 2
18
FN
C
110-
FN
C
139
Fl
oati
ng Poi
nt
19
FN
C
140
-F
N
C
14
9
Da
ta
O
per
ati
on 2
20
FN
C
150-
FN
C
159
Posit
ioning
C
ontr
ol
15.2
FNC 71 – HKY / Hexadecimal Input
Outline
This instruction multiplexes four X-devices and four Y-devices to allow for 16 key (0 to F) 4-digit (byte) input.
Keys 0 to 9 stores numerical values, and keys A to F represent function keys.
When the extension function is set to ON, hexadecimal keys 0 to F all store their corresponding numerical
values.
1. Instruction format
2. Set data
3. Applicable devices
S
: "D
.b" cannot be indexed with index registers (V and Z).
Explanation of function and operation
1. 16-bit operation (HKY)
signals [
to
+3] and [
to
+3] connected to the 16 key input (0 to F) are scanned.
When a key 0 to 9 is pressed, the corresponding numeric value is shifted into
from the least significant
byte, and
+7 turns ON.
When a key A to F is pressed, the corresponding key press information bit [
to
+5] turns ON, and
+6 turns ON.
Operand Type
Description
Data Type
Head X device number to be used (Four devices occupied.)
Bit
Head Y device number to be used (Four devices occupied.)
Bit
Device number storing the numerical input from the 16 keys
16- or 32-bit binary
Head bit device number storing the key pressing information
(Eight devices are occupied.)
Bit
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
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modify K H
E
"
"
P
3
3
3
3
3 3 3 3
3
3 3
3
3 3
3
S
3
HKY
16-bit Instruction
9 steps
Mnemonic
Operation Condition
Continuous
Operation
DHKY
32-bit Instruction
17 steps
Mnemonic
Operation Condition
Continuous
Operation
FNC 71
HKY
D
S
D
1
D
2
D
3
S
D
1
D
2
D
3
S
S
D
1
D
1
D
2
D
3
D
3
D
3
D
3
Command
input
FNC 71
HKY
D
1
S
D
2
D
3