EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 - Ten Key Input - Tky(211)

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
D2
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
0123456789101112131415
I
0
1
2
3
4
5
9
8
7
6
Bits 00 to 09 correspond
to keys 0 to 9.

Table of Contents

Related product manuals