
155
Interrupt Processing Time
Section 7-3
7-3
Interrupt Processing Time
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 interrupt processing routine is completed until returning to the initial loca-
tion. This explanation applies to input interrupts, interval timer interrupts, and
high-speed counter interrupts.
1,2,3...
1.
Interrupt source
2.
Interrupt ON delay
3.
Wait for completion of interrupt-mask processing
4.
Change to interrupt processing
5.
Execution of interrupt routine
6.
Return to initial location
The table below shows the times involved from the generation of an interrupt
signal until the interrupt processing routine is called, and from when the inter-
rupt processing routine is completed until returning to the original position.
Mask Processing
Interrupts are masked during processing of the operations described below.
Until the processing is completed, any interrupts will remain masked for the
indicated 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
150
µ
s for system processing.
Example Calculation
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:
50
µ
s
Interrupt mask standby time:
0
µ
s
+
Change-to-interrupt processing:
10
µ
s
Minimum response time:
60
µ
s
Item
Contents
Time
Interrupt ON delay
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 apply to other interrupts.
50
µ
s
Wait for completion of
interrupt-mask processing
When a process that disables (masks) the interrupt is being executed, this is the
time required for that process to be completed.
See
below.
Change to interrupt
processing
This is the time it takes to change processing to the interrupt process.
10
µ
s
Return
This is the time it takes, from execution of RET(93), to return to the processing
that was interrupted.
10
µ
s
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......