
945
Basic I/O Unit Instructions
Section 3-23
Since 8 digits of data are being read, C1 (D32000 in this case) is set to 0001
hex. D32001 is used as the system word.
3-23-6 TEN KEY INPUT – TKY(211)
Purpose
Reads numeric data from a ten-key keypad connected to an Input Unit and
stores up to 8 digits of BCD data in the specified words.
This instruction is supported only by CS/CJ-series CPU Unit Ver. 2.0 or later.
Ladder Symbol
Variations
Applicable Program Areas
Operands
I: Input Word (Data Line Inputs)
Specify the input word allocated to the Input Unit and connect the ten-key key-
pad’s 0 to 9 data lines to the Input Unit as shown in the following diagram.
D
1
: First Register Word
Specifies the leading word address where the ten-key keypad’s numeric input
(up to 8 digits) will be stored.
I
O
D
C1
C2
DSW(210)
0100
0200
D00000
D32000
D32001
P_On
Always ON Flag
TKY(211)
I
D
1
D
2
I: Input word
D
1
: First register word
D
2
: Key input word
Variations
Executed Each Cycle for ON Condition
TKY(211)
Executed Once for Upward Differentiation
@TKY(211)
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
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
−
−
−
−
−
−
I
0
1
2
3
4
5
9
8
7
6
Bits 00 to 09 correspond
to keys 0 to 9.
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...