![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030985.webp)
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.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...