EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #67 background imageLoading...
Page #67 background image
46
CQM1 Interrupt Functions Section 1-5
Starting Up in Scheduled Interrupt Mode
Use the STIM(69) instruction to start the interval timer in the scheduled inter-
rupt mode.
C
2
: Decrementing counter set value (4 digits BCD): 0000 to 9999
C
2
+ 1: Decrementing time interval (4 digits BCD; unit: 0.1 ms): 0005 to 0320
(0.5 ms to 32 ms)
The meanings of the settings are the same as for the one-shot mode, but in
the scheduled interrupt mode the timer PV will be reset to the set value and
decrementing will begin again after the subroutine has been called. In the
scheduled interrupt mode, interrupts will continue to be repeated at fixed inter-
vals until the operation is stopped.
Note CQM1-CPU11-E/CPU21-E support subroutine numbers 0000 to 0127 only.
Reading the Timer’s Elapsed Time
Use the STIM(69) instruction to read the timers elapsed time.
C
2
: Number of times the decrementing counter has ben decremented (4 digits
BCD)
C
2
+ 1: Decrementing counter time interval (4 digits BCD; unit: 0.1 ms)
C
3
: Elapsed time from previous decrement (4 digits BCD; unit: 0.1 ms)
The time from when the interval timer is started until the execution of this
instruction is calculated as follows:
{(Contents of word C2) x (Contents of word C2 + 1) + (Contents of word C3)}
x 0.1 ms
If the specified interval timer is stopped, then “0000” will be stored.
Stopping Timers
Use the STIM(69) instruction to stop the interval timer.
The specified interval timer will stop.
(@)STIM(69)
C
1
C
2
C
3
C
1
: Interval timer no. + 3
Interval timer 0: 003
Interval timer 1: 004
Interval timer 2: 005
C
2
: Timer set value (leading word no.)
C
3
: Subroutine no. (4 digits BCD): 0000 to 0255
(@)STIM(69)
C
1
C
2
C
3
C
1
: Interval timer no. + 6
Interval timer 0: 006
Interval timer 1: 007
Interval timer 2: 008
C
2
: Leading word of parameter 1
C
3
: Parameter 2
(@)STIM(69)
C
1
000
000
C
1
: Interval timer no. + 10
Interval timer 0: 010
Interval timer 1: 011
Interval timer 2: 012

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals