Basic I/O Unit Instructions
External Connections
Timing Chart
I
00
01
02
to
09
D
2
00
01
02
to
09
10
(1)
Flags
There is no restriction on the number of times that TKY(211) can appear in
the program.
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.
IN
CPM1A-20EDT
OUT
Input from 10-key
Turn ON flags corre-
sponding to 10-key
inputs (The flags re-
main ON until the
next input.)
ON if a key is pressed.
(2)
(3)
(4)
Name
Error Flag
0
9
Tenkey pad
Before
0 0 0 0 0 0 0 0
execution
(1)
0 0 0 0 0 0 0 1
(2)
0 0 0 0 0 0 1 0
(3)
0 0 0 0 0 1 0 2
(4)
0 0 0 0 1 0 2 9
Label
ER
OFF
Section 3-22
D
+1
D
1
1
"1" key input
"0" key input
"2" key input
"9" key input
Operation
781
Need help?
Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?
Questions and answers