402
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
15.2
FNC 71 – HKY / Hexadecimal Input
Outline
This instruction sets input data such as numeric value (0 to 9) and operation condition (function keys A to F)
using 16 keys from 0 to F.
When the extension function is set to ON, keys can be input in hexadecimal using the keys 0 to F.
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 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
, and the 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.
Operand Type
Description
Data Type
Head device (X) number inputting 16 keys (Four devices are occupied.)
Bit
Head device (Y) number to be output (Four devices are occupied.)
Bit
Device number storing a numeric value input through 16 keys
16- or 32-bit binary
Head bit device number which sets the key pressing information to ON
(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
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......