421
FX3G/FX3U/FX3UC 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
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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 FX3U 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 X005X004 X006 X007
56781234
X010 X011
0 9
24V 0V