2-363
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)

Basic I/O Unit Instructions

2

MTR

Flags
Function
MTR(213) outputs the selection signals to bits 00 to 07 of O, reads the data in order from bits 00 to 07of 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 inevery 24 cycles after each of the selection signals has been turned ON.
External Connections
Connect the hexadecimal keypad to Input Unit contacts 0 to 7 and Output Unit contacts 0 to 7, asshown in the following diagram.
Timing Chart
Name Label Operation
Error Flag P_ER OFF
COM
00
01
02
03
04
05
06
07
08
09
10
11
IN
CP1W-20EDT
OUT
COM
00
COM
01
COM
02
03
COM
04
05
06
07
1st row
7th row
8th row
00
01
02
03
04
05
06
07
00
32
64
00
32
64
08
:
:
:
:
One round completed in 24 cycles
Selection signals
Matrix status
One Round Flag
Bits indicating status of inputs
(Bit ON when input is ON)