Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 61

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C Interrupt Functions
40
The interval from when STIM(69) is executed until the set time elapses is calcu-
lated as follows:
(Content of word C
(0.5 to 319,968 ms)
When a constant is set for C2, that value will be taken as the decrementing
counter initial value, and the decrementing time interval will become 10 (1 ms).
(The SV is specified just as it is, in units of ms.)
Reading Timer PVs
This function reads interval timer PVs.
(@)STIM(69)
006
C
2
C
3
Stopping Timers
This function stops the interval timer.
(@)STIM(69)
Masking or Unmasking All Interrupts
For details on masking/unmasking all interrupts, refer to 2-1-2 Interrupt Inputs
and 7-29 Interrupt Control Instructions.
) x (Content of words C
2
Control designation (006: Read timer PV)
Number of times decrementing timer
C
is decremented (4 digits Hex)
2
Decrementing time interval
C
+1
2
(4 digits BCD; unit: 0.1 ms)
Time elapsed since last decrement
C
3
(4 digits BCD; unit: 0.1 ms)
Control designation (010: Stop timer)
010
000
Fixed: 000
000
Fixed: 000
Section
2-1
+ 1) x 0.1 ms
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents