Interrupt Processing Time - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

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

Advertisement

CPM2A/CPM2C Cycle Time and I/O Response Time

8-2-4 Interrupt Processing Time

1, 2, 3...
Item
Interrupt ON delay
Wait for completion of
interrupt-mask processing
Change to interrupt
processing
Return
Example Calculation
This section explains the processing times involved from the time an interrupt is
executed until the interrupt processing routine is called, and from the time an in-
terrupt processing routine is completed until returning to the initial location. This
explanation applies to input interrupts, interval timer interrupts, and high-speed
counter interrupts.
1. Source of interrupt
2. Interrupt ON delay
3. Wait for completion of interrupt-mask processing
4. Change to interrupt processing
5. Interrupt routing (CPM1A/CPM2A/CPM2C only)
6. Return to initial location
The table below shows the times involved from the generation of an interrupt sig-
nal until the interrupt processing routine is called, and from when the interrupt
processing routine is completed until returning to the original position.
This is the delay time from the time the interrupt input bit turns ON until the
time that the interrupt is executed. This delay does not affect other interrupts.
When a process that disables (masks) the interrupt is being executed, this is
the time required for that process to be completed.
This is the time it takes to change processing to the interrupt process.
This is the time it takes, from execution of RET(93), to return to the processing
that was interrupted.
Mask Processing
Interrupts are masked during processing of the operations described below. Un-
til the processing is completed, any interrupts will remain masked for the indi-
cated times.
Generation and clearing of non-fatal errors:
Interrupts will be masked for up to 100 s when a non-fatal error has been
generated and the error contents are being registered in the PC, or when an
error is being cleared.
Online editing:
Operation will stop and interrupts will be masked for up to 600 ms (for
DM 6144 to DM 6655) when online editing is executed or the settings are
changed with STUP(––) during operation. The program or PC Setup can be
overwritten during that delay.
In addition to the online editing delay, interrupts may be masked for up to
170 s for system processing.
This example shows the interrupt response time (i.e., the time from when the
interrupt input turns ON until the start of the interrupt processing routine) when
input interrupts are used under the conditions shown below.
Minimum Response Time
Interrupt ON delay:
Interrupt mask standby time:
+
Change-to-interrupt processing:
Minimum response time:
Maximum Response Time
(Except for the Online Editing of DM 6144 to DM 6655)
Interrupt ON delay:
Interrupt mask standby time:
+
Change-to-interrupt processing:
Maximum response time:
Contents
100
0
30
130
100
170
30
300
Section
8-2
Time
100 s
See below.
30 s
30 s
s
s
s
s
s
s
s
s
527

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents