Fnc 71 - Hky / Hexadecimal 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.2
FNC 71 – HKY / Hexadecimal Input
Outline
This instruction multiplexes four X-devices and four Y-devices to allow for 16 key (0 to F) 4-digit (byte) input. Keys 0 to
9 stores numerical values, and keys A to F represent function keys.
When the extension function is set to ON, hexadecimal keys 0 to F all store their corresponding numerical values.
1. Instruction format
FNC 71
D
HKY
2. Set data
Operand Type
S
D
1
D
2
D
3
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
3
: "D .b" cannot be indexed with index registers (V and Z).
Explanation of function and operation
1. 16-bit operation (HKY)
signals [
S
to
When a key 0 to 9 is pressed, the corresponding numeric value is shifted into
+7 turns ON.
D
3
When a key A to F is pressed, the corresponding key press information bit [
turns ON.
Command
input
426
Mnemonic
16-bit Instruction
9 steps
HKY
Head X device number to be used (Four devices occupied.)
Head Y device number to be used (Four devices occupied.)
Device number storing the numerical input from the 16 keys
Head bit device number storing the key pressing information
(Eight devices are occupied.)
Digit Specification
S
+3] and [
D
to
1
FNC 71
S
D
1
HKY
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
D
+3] connected to the 16 key input (0 to F) are scanned.
1
D
D
2
3
15.2 FNC 71 – HKY / Hexadecimal Input
Mnemonic
Operation Condition
17 steps
DHKY
16- or 32-bit binary
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
D
from the least significant byte, and
2
D
to
D
+5] turns ON, and
3
3
Continuous
Operation
Data Type
Bit
Bit
Bit
Charac-
Pointer
ter String
" "
P
D
+6
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents