Flags function, 2 instructions, External connections – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 399: Timing chart

Advertising
background image

2-363

2 Instructions

CP1E CPU Unit Instructions Reference Manual(W483)

Basic

I/O U

n

it I
n

stru

ctio

ns

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 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.

External Connections

Connect the hexadecimal keypad to Input Unit contacts 0 to 7 and Output Unit contacts 0 to 7, as
shown 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

1

st

row

7

th

row

8

th

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)

Advertising
This manual is related to the following products: