![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414062.webp)
2-1
Section
CPM2A/CPM2C Interrupt Functions
41
Operation Example
One-shot Mode
Explanation
In this example, the timer is started when the execution condition (00005) turns
from OFF to ON. When the time (approx. 1 s) has elapsed, the interrupt subrou-
tine is executed one time. When the interrupt subroutine is executed, 1 is added
to DM 0000.
Elapsed time: 100 x 100 x 0.1 = 1,000 ms
Programming
ON for 1 cycle at beginning
of operation
Clears Increment Area (DM 0000).
Always ON
(Execution condition)
Decrement counter setting
Count: 100 (0000 to 9999 BCD)
Count interval setting
Count interval setting: 10 ms
(0005 to 0320 BCD)
Starts interval timer in one-shot mode.
Executes interrupt one time
only when time elapses.
(69)
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...