Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 986

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Basic I/O Unit Instructions
Operand Specifications
Description
15
14
13
D
2
ON when any
key is pressed.
ON when the corre-
sponding key is press-
ed. (Remains on until
another key is pressed.)
Note TKY(211) does not require a system word, unlike other I/O instructions such
as HKY(212).
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
TKY(211) reads numeric data from input word I, which is allocated to a ten-
key keypad connected to an Input Unit, and stores up to 8 digits of BCD data
in register words D
the corresponding bit in D
another key is pressed. Bit 10 of D
and OFF when no key is being pressed.
The two-word register in D
When a key is pressed on the ten-key keypad, the corresponding BCD digit is
12
11
10
9
8
7
6
5
4
3
9
8
7
6
I
CIO 0000 to CIO
6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
D00000 to
D32767
E00000 to
E32767
En_00000 to
En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
and D
+1. In addition, each time that a key is pressed,
1
1
(0 to 9) will be turned ON and remains ON until
2
will be ON while any key is being pressed
2
and D
+1 operates as an 8-digit shift register.
1
1
Section 3-23
2
1
0
0
1
2
ON when the corre-
3
sponding key is press-
4
ed. (Remains on until
5
another key is pressed.)
D
1
CIO 0000 to CIO
CIO 0000 to CIO
6142
6143
W000 to W510
W000 to W511
H000 to H510
H000 to H511
A448 to A958
A448 to A959
T0000 to T4094
T0000 to T4095
C0000 to C4094
C0000 to C4095
D00000 to
D00000 to
D32766
D32767
E00000 to
E00000 to
E32766
E32767
En_00000 to
En_00000 to
En_32766
En_32767
(n = 0 to C)
(n = 0 to C)
---
DR0 to DR15
D
2
947

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents