Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 987

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Basic I/O Unit Instructions
Description
External Connections
Area
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
and D
1
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
shifted into the least significant digit of D
shifted left and the most significant digit of D
When executed, TKY(211) begins reading the key input data from the first
cycle, regardless of the point at which the last instruction was stopped.
When one of the keypad keys is being pressed, input from the other keys is
disabled.
There is no restriction on the number of times that TKY(211) can appear in
the program (unlike the C200HX/HG/HE and CQM1H Series).
Connect the ten-key keypad so that the switches for keys 0 through 9 are
input to contacts 0 through 9 of the Input Unit, as shown in the following dia-
gram.
DC Input Unit
The Input Unit must be a DC Input Unit or High-density Input Unit with at least
16 inputs and the Input Unit cannot be mounted in a SYSMAC BUS Remote
I/O Rack.
I
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
+1. In addition, each time that a key is pressed,
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
. The other digits of D
1
+1 is lost.
1
ID212
0
0
1
2
3
4
5
6
7
8
9
10
9
11
12
13
10-key
14
15
COM
COM
0 V
Section 3-23
D
D
1
2
, D
+1 are
1
1
947

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents