EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 822

Omron CP - PROGRAMMING MANUAL 05-2007
1175 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...
789
Basic I/O Unit Instructions Section 3-22
Description MTR(213) outputs the selection signals to bits 00 to 07 of O, reads the data in
order from bits 00 to 07 of I, and stores the 64 bits of data in the 4 words D
through D+3. MTR(213) reads the status of the 64-bit matrix every 24 CPU
Unit cycles. The One Round Flag (bit 08 of O) is turned ON for one cycle in
every 24 cycles after each of the selection signals has been turned ON.
When executed, MTR(213) begins reading the matrix status from the begin-
ning of the matrix, regardless of the point at which the last instruction was
stopped.
There is no restriction on the number of times that MTR(213) can appear in
the program.
External Connections Connect the hexadecimal keypad to Input Unit contacts 0 to 3 and Output Unit
contacts 0 to 3, as shown in the following diagram.
Timing Chart
Flags
COM
00
01
02
03
04
05
06
07
08
09
10
11
IN
CP1M-20EDT
OUT
COM
00
COM
01
COM
02
03
COM
04
05
06
07
1
st
row
7
th
ro
w
8
th
ro
w
00
01
02
03
04
05
06
07
00
32
64
00
32
64
08
:
:
:
:
One round com
p
leted in 24 c
y
cles
Selection signals
Matrix status
One Round Flag
Bits indicating status of inputs
(Bit ON when input is ON)
Name Label Operation
Error Flag ER OFF

Table of Contents

Related product manuals