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

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

Advertisement

Basic I/O Unit Instructions
3-23-6 TEN KEY INPUT – TKY(211)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
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.
Always ON Flag
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.
TKY(211)
I
I: Input word
D
D
: First register word
1
1
D
D
: Key input word
2
2
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
Not allowed
OK
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.
15
14
13
12
11
10
9
I
9
8
7
6
D
: First Register Word
1
Specifies the leading word address where the ten-key keypad's numeric input
(up to 8 digits) will be stored.
P_On
DSW(210)
I
O
D
C1
C2
Step program areas
Subroutines
OK
8
7
6
5
4
3
2
1
0
0
1
2
3
4
5
Section 3-23
0100
0200
D00000
D32000
D32001
TKY(211)
@TKY(211)
Not supported.
Interrupt tasks
Not allowed
Bits 00 to 09 correspond
to keys 0 to 9.
945

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents