CPM1A Features and Functions

Section 1-1

 

 

 

Quick-response Inputs

Interval Timer Function (Scheduled Interrupts)

The CPM1A-10CDR-j/10CDT-D/10CDT1-D PCs have 2 quick-response input terminals and the CPM1A-20CDR-j/20CDT-D/20CDT1-D, CPM1A- 30CDR-j/30CDT-D/30CDT1-D and CPM1A-40CDR-j/40CDT-D/40CDT1-D PCs have 4 quick-response input terminals. (The same terminals are used for quick-response inputs and interrupt inputs.)

Quick-response inputs have an internal buffer, so input signals shorter than one cycle can be detected.

 

Overseeing

Program

I/O

Overseeing

Program

I/O

 

 

processes

execution

refreshing

processes

execution

refreshing

 

 

 

 

 

 

 

 

 

Input signal (00003)

IR 00003

One cycle

PC model

Input bits

Min. input pulse width

 

 

 

CPM1A-10CDR-j/10CDT-D/

IR 00003 to IR 00004

0.2 ms

10CDT1-D

 

 

 

 

 

CPM1A-20CDR-j/20CDT-D/

IR 00003 to IR 00006

 

20CDT1-D/30CDR-j/

 

 

30CDT-D/30CDT1-D/

 

 

40CDR-j/40CDT-D/

 

 

40CDT1-D

 

 

CPM1A PCs are equipped with an interval timer which can be set from 0.5 ms to 319,968 ms in units of 0.1 ms. The timer can be set to trigger a single interrupt (one-shot mode) or to trigger scheduled interrupts (scheduled interrupt mode).

Main program

MOV

ADD

END

Interval timer time-out

Interrupt program

SBN00

MOV

RET

Mode

Function

 

 

One-shot

Generates a single interrupt the first time that the timer times

 

out.

Scheduled interrupt

Generates an interrupt each time that the timer times out.

Pulse Output Function

Since the CPM1A with transistor output has a pulse output function capable of

 

outputting a pulse of 20 Hz to 2kHz (single-phase output), a stepping motor can

 

be controlled by the CPU Unit alone.

7

Page 21
Image 21
Omron CPM1A operation manual PC model Input bits Min. input pulse width, Mode Function