![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 441](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083441.webp)
439
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.1 FNC 70 – TKY / Ten Key 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.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