3. Instructions
814
CS/CJ/NSJ Series Instructions Reference Manual (W474)
HKY
Applicable Program Areas
Operands
I: Input Word (Data Line D0 to D3 Inputs)
Specify the input word allocated to the Input Unit and connect the hexadecimal keypad's D0 to D3 data
lines to the Input Unit as shown in the following diagram.
O: Output Word (Selection Signal Outputs)
Specify the output word allocated to the Output Unit and connect the hexadecimal keypad's selection
signals to the Output Unit as shown in the following diagram.
Instruction Mnemonic Variations
Function
code
Function
HEXADECIMAL KEY INPUT HKY --- 212
Reads numeric data from a hexadecimal keypad
connected to an Input Unit and Output Unit and
stores up to 8 digits of hexadecimal data in the
specified words.
Symbol
HKY
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK Not allowed OK OK Not allowed OK
Operand Description Data type Size
I Input word UINT 1
O Output word UINT 1
D First register word WORD 3
C System word WORD 1
I: Input word
O: Output word
D: First register word
C: System word
HKY(212)
I
O
D
C
0123456789101112131415
−−−−−−−−−−−−
I
0
1
2
3
Bits 00 to 03 correspond
to Input Unit inputs 0 to 3.
0123456789101112131415
−−−−−−−−−−−−
O
0
1
2
3
Bits 00 to 03 correspond to
Output Unit outputs 0 to 3.