423
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
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
2) Key pressing information [ to +10]
- For the key pressing information, to +9 turn ON or OFF according to the pressed keys.
- For the key sensing output, +10 turns ON when any key is pressed.
The figure below shows an example of FX
3U PLC (sink input).
For wiring details, refer to the following manual.
→ FX
3U Hardware Edition.
→ FX
3UC Hardware Edition.
2. 32-bit operation (DTKY)
[ +1, ] store a numeric value input from to +9 connected to the ten keys.
Output information for key pressing and key sensing are output to to +10.
1) Input numeric value [ ]
- When an input value is larger than "99,999,999", it overflows from the most significant digit.
- An input numeric value is stored in binary format.
2) Key pressing information [ to +10]
- For the key pressing information, to +9 turn ON or OFF according to the pressed keys.
- For the key sensing output, +10 turns ON when any key is pressed.
For the ten-key connection example and key pressing information, refer to the 16-bit operation (TKY) shown above.
Cautions
1. When two or more keys are pressed at the same time
In such a case, only the first key pressed is valid.
2. When the command contact turns OFF
Though the contents of do not change, all of to +10 turn OFF.
D
2
D
2
D
2
D
2
D
2
Command
input
FNC 70
TKY
D
1
S
D
2
+1
[1]
[2]
[3]
[4]
[1] [2] [3] [4]
Key sensing output
+2
+3
+9
+1
+2
+3
+9
+10
Input form ten keys
"2130" is stored in .
Output information for key
pressing information
S
S
S
S
S
D
2
D
2
D
2
D
2
D
2
D
2
D
1
Ten keys
→
PLC
S/S
567812340 9
+9
S
0V24V
+8
S
+7
S
+6
S
+5
S
+4
S
+3
S
+2
S
+1
S
S
D
1
D
1
S
S
D
2
D
2
D
1
D
2
D
2
D
2
D
2
D
2
Command
input
FNC 70
DTKY
D
1
S
D
2
D
1
D
2
D
2