EasyManua.ls Logo

Omron CPM1

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
Loading...
87
SRM1 Interrupt Functions Section 1-7
If the specified interval timer is stopped, then “0000” will be stored.
Stopping the Timer
Use the STIM(69) instruction to stop the interval timer. The interval timer will
be stopped.
Application Example
(One-shot Mode)
In this example, an interrupt is generated 2.4 ms (0.6 ms
× 4) after input
00005 goes ON; the interrupt executes interrupt subroutine number 23.
(@)STIM(69)
C
1
000
000
C
1
: Stop interval timer (010)
RET(93)
MOV(21)
#0004
DM 0010
MOV(21)
#0006
DM 0011
SBN(92) 023
@STIM(69)
000
DM 0010
#0023
00005
Interrupt program
Sets the decrementing counter's set value to 4.
(BCD: 0000 to 9999)
Sets the decrementing time interval to 0.6 ms.
(BCD: 0005 to 0320)
Starts the interval timer in one-shot mode.
Specifies the first word containing the set value.
Specifies the subroutine number (only lower by-
tes are effective).
25315 First Cycle Flag
ON for 1 cycle

Table of Contents

Other manuals for Omron CPM1

Related product manuals