398
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.1 FNC 70 – TKY / Ten Key Input
15.1
FNC 70 – TKY / Ten Key Input
Outline
This instruction sets data to timers and counters through inputs of the ten keys from "0" to "9".
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 (TKY)
stores a numeric value input from
to
+9 connected to the ten keys. Output informations for
key pressing and key sensing are output to
to
+10.
1) Input numeric value
- When an input value is larger than "9999", it overflows from the most significant digit.
- An input numeric value is stored in the binary format.
- When the ten keys are pressed in the order "[1]
→
[2]
→
[3]
→
[4]" in the figure shown on the next page,
"2130" is stored in
.
Operand Type
Description
Data Type
Head bit device number from which one of the ten keys is input [10 devices are
occupied]
Bit
Word device number storing the data
16- or 32-bit binary
Head bit device number storing the key pressing information [11 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
S
3
3
3
3
3 3 3 3
3
3 3
3
3 3
3
S
3
FNC 70
TKY
D
TKY
16-bit Instruction
7 steps
Mnemonic
Operation Condition
Continuous
Operation
DTKY
32-bit Instruction
13 steps
Mnemonic
Operation Condition
Continuous
Operation
S
D
1
D
2
S
D
1
D
2
D
1
S
S
D
2
D
2
D
1
D
1
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......