![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 443](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083443.webp)
441
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
3. Number of occupied device
1) Ten bit devices are occupied from
for connecting the ten keys.
Because these devices are occupied even if the ten keys are not connected, they cannot be used for any
other purpose.
2) Eleven bit devices are occupied from
for outputting the key pressing information.
Make sure that these devices are not used in other controls for the machine.
-
to
+9: Turn ON or OFF according to input of the ten keys "0" to "9".
-
+10: Is ON while either one among "0" to "9" keys is pressed (key sensing output).
4. Limitation in the number the instruction
TKY or DTKY instruction can be used only once in a program.
When TKY and/or DTKY instruction should be used two or more times, use the indexing (V, Z) function.
Program example
In the program example shown below, the input X000 is set as the head bit device, and the ten keys "0" to "9"
are connected.
1. Program
2. Connection diagram
This connection diagram shows an example of FX
3U
PLC (sink input).
For wiring details, refer to the following manual.
→
FX
3U
Hardware Edition
S
D
2
D
2
D
2
D
2
X030
X000
D0
M10
FNC 70
TKY
D
1
S
D
2
Ten keys
→
PLC
S/S X000 X001 X002 X003
X005
X004
X006 X007
5
6
7
8
1
2
3
4
X010 X011
0
9
24V
0V