782
Basic I/O Unit Instructions Section 3-22
Precautions TKY(211) will not operate correctly if I/O refreshing is not performed with the
Input Unit connected to the ten-key keypad after TKY(211) is executed. Con-
sequently, do not connect the ten-key keypad to the following Units.
• Communications Slaves (DeviceNet or CompoBus/S Slaves)
Example In this example, TKY(211) reads key inputs from a ten-key keypad and stores
the inputs in CIO 200 and CIO 201. The ten-key keypad is connected to CIO
2.
3-22-5 HEXADECIMAL KEY INPUT – HKY(212)
Purpose 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.
Ladder Symbol
Variations
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 hexadeci-
mal keypad’s D0 to D3 data lines to the Input Unit as shown in the following
diagram.
I
D
1
D2
TKY(211)
2
200
D0
P_On
Always ON Flag
HKY(212)
I
O
D
C
I: Input word
O: Output word
D: First register word
C: System word
Variations Executed Each Cycle for ON Condition HKY(212)
Executed Once for Upward Differentiation Not supported.
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
Not allowed OK OK Not allowed
0123456789101112131415
−−−−−−−−−−−−
I
0
1
2
3
Bits 00 to 03 correspond
to Input Unit inputs 0 to 3.