Fnc 70 - Tky / Ten Key Input - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
15.1
FNC 70 – TKY / Ten Key Input
Outline
This instruction sets data to timers and counters through inputs of the ten keys 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 T C D R U \G
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
key 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 the 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
398
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
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
to
+9 connected to the ten keys. Output informations for
S
S
to
+10.
D
D
2
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:

Fx3uc seriesMelsec-f

Table of Contents