2-1
Section
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
2
) x (Content of words C
2
+ 1) x 0.1 ms
(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.
Control designation (006: Read timer PV)
Number of times decrementing timer
is decremented (4 digits Hex)
Decrementing time interval
(4 digits BCD; unit: 0.1 ms)
Time elapsed since last decrement
(4 digits BCD; unit: 0.1 ms)
(@)STIM(69)
006
C
2
C
3
C
2
C
2
+1
C
3
Stopping Timers
This function stops the interval timer.
Control designation (010: Stop timer)
Fixed: 000
Fixed: 000
(@)STIM(69)
010
000
000
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.