EasyManuals Logo

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 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 #58 background imageLoading...
Page #58 background image
33
Interrupt Functions Section 1-4
Starting Up in Scheduled Interrupt Mode
Use the STIM(69) instruction to start the interval timer in the scheduled inter-
rupt mode.
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.
Reading the Timer’s Elapsed Time
Use the STIM(69) instruction to read the timers elapsed time.
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.
Word Function
C
2
Decrementing counter set value (4-digit BCD): 0000 to 9999
C
2
+ 1 Decrementing time interval (4-digit BCD; unit: 0.1 ms): 0005 to 0320
(0.5 ms to 32 ms)
Note If a constant is used for C
2
, the decrementing time interval is fixed
at 0010 or 1 ms, so the set value in C
2
is expressed in ms.
Word Function
C
2
Number of times the counter has been decremented (4-digit BCD)
C
2
+ 1 Decrementing counter time interval (4-digit BCD; unit: 0.1 ms)
C
3
Time elapsed since last decrement (4-digit BCD; unit: 0.1 ms)
Note This value will be less than the decrementing counter time interval.
(@)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 (first word address or constant)
C
3
: Subroutine No. (4-digit 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
: First word address 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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
I/O CapacityUp to 512 points
Power Supply100 to 240 VAC, 50/60 Hz or 24 VDC (depending on model)
Instruction SetBasic and advanced instructions
Operating Temperature0 to 55°C
Program Capacity7.2K to 15.2K steps
Communication PortsRS-232C
Expansion SlotsUp to 3 expansion units
TypeProgrammable Logic Controller (PLC)
CPU TypeRISC
Program Memory7.2K to 15.2K steps
I/O Points512 max
Expansion CapabilityUp to 3 expansion units
Data MemoryRAM (battery backup)

Related product manuals