Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 822

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Basic I/O Unit Instructions
Description
External Connections
Timing Chart
00
01
02
03
04
05
06
07
00
:
32
:
64
00
:
32
:
64
08
One round completed in 24 cycles
Flags
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.
Connect the hexadecimal keypad to Input Unit contacts 0 to 3 and Output Unit
contacts 0 to 3, as shown in the following diagram.
IN
CP1M-20EDT
OUT
Name
Label
Error Flag
ER
Selection signals
Matrix status
Bits indicating status of inputs
(Bit ON when input is ON)
One Round Flag
Operation
OFF
Section 3-22
st
1
row
th
7
row
th
8
row
789

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents