Fnc 70 - Tky / Ten Key Input - Mitsubishi Electric FX3G SERIES Programming Manual

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
FNC 70
D
TKY
2. Set data
Operand Type
S
D
1
D
2
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
D
1
D
2
: "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
D
1
pressing and key sensing are output to
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
422
Mnemonic
16-bit Instruction
7 steps
TKY
Head bit device number from which one of the ten keys is input [10 devices are occupied]
Word device number storing the data
Head bit device number storing the key pressing information [11 devices are occupied]
Digit Specification
S
D
2
D
1
D
.
1
15 External FX I/O Device – FNC 70 to FNC 79
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
to
+9 connected to the ten keys. Output informations for key
S
to
D
+10.
2
15.1 FNC 70 – TKY / Ten Key Input
Mnemonic
Operation Condition
13 steps
DTKY
16- or 32-bit binary
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
Continuous
Operation
Data Type
Bit
Bit
Charac-
Pointer
ter String
" "
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents