Mitsubishi Electronics FX3U Garage Door Opener User Manual


 
422
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
15.1 FNC 70 – TKY / Ten Key Input
Outline
This instruction sets data for timers and counters through ten key inputs ranging from "0" to "9".
1. Instruction format
2. Set data
3. Applicable devices
S: "D.b" cannot be indexed with index registers (V and Z).
Explanation of function and operation
1. 16-bit operation (TKY)
stores 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 "9999", it overflows from the most significant digit.
- An input numeric value is stored in binary format.
- When the ten keys are pressed in the order "[1] [2] [3] [4]" in the figure shown on the next page, "2130"
is stored in .
Operand Type Description Data Type
Head bit device number from which one of the ten keys is input [10 devices are occupied] Bit
Word device number storing the data 16- or 32-bit binary
Head bit device number storing the key pressing information [11 devices are occupied] Bit
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
 S
 
 S
FNC 70
TKY
D
TKY
16-bit Instruction
7 steps
Mnemonic Operation Condition
Continuous
Operation
DTKY
32-bit Instruction
13 steps
Mnemonic Operation Condition
Continuous
Operation
S
D
1
D
2
S
D
1
D
2
D
1
S
S
D
2
D
2
D
1
D
1