Mitsubishi Electronics FX3S Garage Door Opener User Manual


 
424
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
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 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
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
FX
3UC Hardware Edition
3. Timing chart
1) When the ten keys are pressed in the order "[1] [2] [3]
[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.
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
X000
X001
X002
X003
[1]
[2]
[3]
[4]
M 10
M 11
M 12
M 13
M 20 [1]
[2] [3]
Key sensing output
X011
M 19
[4]