400
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
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 twice or more, 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 the wiring, refer to the following manual of the used PLC.
→
FX
3U
Hardware Manual
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
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......