Mitsubishi FX3G Series Programming Manual page 419

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
3. Number of occupied device
1)
Ten bit devices are occupied from
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
Make sure that these devices are not used in other controls for the machine.
-
to
D
D
2
-
+10: Is ON while either one among "0" to "9" keys is pressed (key sensing output).
D
2
4. Limitation in the number of instructions
The TKY or DTKY instruction can only be used once in a program.
When the TKY and/or DTKY instruction need to 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
X030
FNC 70
TKY
2. Connection diagram
This connection diagram shows an example of FX
For wiring details, refer to the following manual.
Ten keys →
24V
0V
S/S X000 X001 X002 X003
3. Timing chart
When the ten keys are pressed in the order "[1] → [2] → [3]
1)
→ [4]" shown in the figure, "2130" is stored in (D0).
When an input value is larger than "9999", it overflows from
the most significant digit.
(An input numeric value is stored in binary format in D0).
2)
When X002 is pressed, M12 turns ON and remains ON until
another key is pressed. Other keys work in the same way.
In this way, M10 to M19 turn ON and OFF according to the
inputs X000 to X011.
3)
When pressing a key, the key sensing output M20 is ON only
while it is pressed.
Series
for connecting the ten keys.
S
D
2
+9: Turn ON or OFF according to input of the ten keys "0" to "9".
2
S
D
D
1
2
X000
D0
M10
0
1
2
3
4
X004
15 External FX I/O Device – FNC 70 to FNC 79
for outputting the key pressing information.
PLC (sink input).
3U
5
6
7
8
9
X005
X006 X007
X010 X011
PLC
X000
X001
X002
X003
X011
M 10
M 11
M 12
M 13
M 19
M 20
Key sensing output
15.1 FNC 70 – TKY / Ten Key Input
→ FX
Hardware Edition
3U
[4]
[2]
[1]
[3]
[4]
[1]
[2]
[3]
417
11
12
13
14
15
16
17
18
19
20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents