Download Print this page

Omron CPM1A Manual page 19

Micro programmable controller
Hide thumbs Also See for CPM1A:

Advertisement

J INTERVAL TIMER INTERRUPTS
The CPM1A has one interval timer. The interval timer shuts down the regular program regardless of the point in the cycle once the time is
up, and immediately executes an interrupt processing program. Interval timers are used in the following two modes.
Item
One-shot mode
Operation
An interrupt is executed only once when the time is up.
Setting time
0.5 ms to 319,968 ms (0.1-ms units)
Normal program
MOV(21)
ADD(30)
END(01)
J ANALOG SETTING
The CPM1A contains two analog setting controls that can be used for a broad range of analog timer and counter settings. Turning the
setting control stores values of 0 to 200 (BCD data) in the SR area.
Analog setting
Analog setting 0
Analog setting 1
*Phillips screwdriver is required
to turn analog adjustment knobs.
Analog setting 0
Analog setting 1
Micro Programmable Controller
A--40
Interval timer
Interrupt processing program
SBN(92) 00
MOV(21)
RET(93)
Storage area
SR 250
SR 251
Application Example:
Tact Operation Control of Conveyor Lines
A conveyor can be stopped temporarily as required for assembly
processes. When the timer function and limit switches are used
in a combination, conveyors can be stopped for a fixed time or
can be run at a constant speed for a fixed distance. Fine
adjustment of the stopping time can be easily done by using the
analog setting controls.
CPM1A
Scheduled interrupt mode
Interrupts are executed repeatedly at fixed periods.
Application Example:
Computing the Sheet Speed
The number of pulse inputs is computed
in the interrupt mode at a fixed time to
calculate the speed.
Setting value (BCD)
0000 to 0200
CPM1A
LS
Motor
CPM1A
Encoder

Advertisement

loading