423
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.2 FNC 71 – HKY / Hexadecimal Input
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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
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 (HKY)
signals
[ to +3] and [ to +3] connected to the 16 key input (0 to F) are scanned.
When a key 0 to 9 is pressed, the corresponding numeric value is shifted into from the least significant byte, and
+7 turns ON.
When a key A to F is pressed, the corresponding key press information bit
[ to +5] turns ON, and +6
turns ON.
Operand Type Description Data Type
Head X device number to be used (Four devices occupied.) Bit
Head Y device number to be used (Four devices occupied.) Bit
Device number storing the numerical input from the 16 keys 16- or 32-bit binary
Head bit device number storing the key pressing information
(Eight 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
3 3
3 3
33333333
33 3 S 3
HKY
16-bit Instruction
9 steps
Mnemonic Operation Condition
Continuous
Operation
DHKY
32-bit Instruction
17 steps
Mnemonic Operation Condition
Continuous
Operation
FNC 71
HKY
D
S
D
1
D
2
D
3
S
D
1
D
2
D
3
S
S
D
1
D
1
D
2
D
3
D
3
D
3
D
3
Command
input
FNC 71
HKY
D
1
S
D
2
D
3