403
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
FN
C30-
FN
C39
R
o
ta
tion and
Sh
ift
12
FNC
4
0
-FNC49
D
a
ta
Op
e
ra
tio
n
13
FNC5
0
-FNC5
9
H
igh Speed
Pr
ocessi
ng
14
FM
C6
0
-F
NC6
9
H
and
y
In
st
ru
cti
o
n
15
FNC7
0
-FNC7
9
Ex
te
rn
a
l F
X
I
/O
D
evi
ce
16
FNC8
0
-FNC8
9
Ext
e
rnal
FX
D
evi
ce
17
F
N
C1
00
-F
NC
10
9
Da
ta
Tr
ansf
e
r 2
18
FN
C
110-FN
C
13
9
Fl
oat
ing P
o
in
t
19
FN
C
140-FN
C
149
Da
ta
O
per
at
io
n
2
20
FN
C
15
0-F
N
C
159
P
o
si
tioni
ng
C
ont
ro
l
1) Input of a numeric value through keys 0 to 9:
and
+7
- When an input value is larger than "9999", it overflows from the most significant digit.
- An input numeric value is stored to
in the binary format.
- The key sensing output
+7 turns ON when either key among 0 to 9 is pressed.
2) Key pressing information for the keys A to F:
to
+6
- Six devices starting from
corresponding to the keys A throuth F turn ON.
- The key sensing output
+6 turns ON when either key among A throuth F is pressed.
2. 32-bit operation (DHKY)
Signals of inputs [
to
+4] connected to sixteen keys (0 to F) and column outputs [
to
+4] are scanned, a numeric value input by the keys 0 to 9 is stored to [
+1,
], and key
sensing output is output to
+7.
When a key A to F is pressed, the key pressing information [
to
+5] corresponding to the pressed
key turns ON, and key sensing is output to
+6.
1) Input of a numeric value through keys 0 to 9: [
+1,
] and
+7
- When an input value is larger than "99,999,999", it overflows from the most significant digit.
- An input numeric value is stored to [
+1,
] in the binary format.
- The key sensing output
+7 turns ON when either key among 0 to 9 is pressed.
2) Key pressing information for the keys A to F:
to
+6
For the key pressing information, refer to the 16-bit operation (TKY) on the previous page.
Extension function
When M8167 is set to ON to make the extension function valid, the hexadecimal key pressing data for the
keys 0 to F is stored in the binary format.
The contents are equivalent to those of "Explanation of function and operation" on the previous page except
the following.
For the key sensing output for the keys 0 to 9 and A to F as well as the key pressing information, refer to the
16-bit operation (TKY) on the previous page.
1. 16-bit operation (HKY)
Hexadecimal data input through the keys 0 to F is written as it is to
.
1) Input of a numeric value through the keys 0 to F:
- When an input value is larger than "FFFF", it overflows from the most significant digit.
- Example:
When "1
→
2
→
3
→
B
→
F" is input, "23BF" is stored to
in the binary format.
"1" overflows when "F" is input.
Key
Key pressing information
Key
Key pressing information
A
D
+3
B
+1
E
+4
C
+2
F
+5
D
2
D
3
D
2
D
3
D
3
D
3
D
3
D
3
D
3
D
3
D
3
D
3
D
3
D
3
S
S
D
1
D
1
D
2
D
2
D
3
D
3
D
3
D
3
Command
input
FNC 71
DHKY
D
1
S
D
2
D
3
D
2
D
2
D
3
D
2
D
2
D
3
D
3
D
3
D
2
D
2
D
2
Command
input
FNC 71
HKY
M8167
D
1
S
D
2
D
3