S5-115U Manual
Interrupt Processing
Example of interrupt OB (OB2, OB3, OB4, OB5)
Figure 9-1. Program for Interrupt OB (Principle)
Save flag contents
Identify interrupt-initiating
module or interrupt
initiating channel,
acknowledge interrupt
Interrupt response
Transfer saved flag contents
back
9.2
Calculating Interrupt Response Times
The total response time is the sum of the following:
•
Signal delay of the interrupt-initiating module (=time from interrupt-initiating input signal
change until activation of the interrupt line)
•
Interrupt response time of the CPU
•
Execution time of the interrupt program (=sum of all STEP 5 operations in the interrupt-
evaluating program).
Calculate the interrupt response time of the CPU as follows:
Interrupt response time of the CPU=Basic response time+additional response times
The basic response time is 0.4 to 0.9 ms in the case of CPUs with one interface and 0.4 to 1.4 ms in
the case of CPUs with two interfaces and applies when
•
Integral FBs have not been used
•
The integral clock has not been initialized
•
PG/OP functions are not pending
•
No computer link ((3964R) procedure) and no ASCII driver is active
•
Time-controlled OBs are not programmed
and
•
SINEC L1 is not connected.
See Table 9-1 for the additional response times which can vary.
EWA 4NEB 811 6130-02b
9-3
Содержание SIMATIC S5-115U
Страница 6: ...EWA 4NEB 811 6130 02b ...
Страница 16: ...EWA 4NEB 811 6130 02b ...
Страница 18: ...EWA 4NEB 811 6130 02b ...
Страница 26: ......
Страница 62: ...EWA 4NEB 811 6130 02b ...
Страница 64: ...EWA 4NEB 811 6130 02b ...
Страница 67: ......
Страница 74: ......
Страница 79: ......
Страница 80: ......
Страница 81: ......
Страница 82: ......
Страница 83: ......
Страница 84: ......
Страница 97: ......
Страница 98: ......
Страница 99: ......
Страница 114: ...EWA 4NEB 811 6130 02b ...
Страница 280: ...EWA 4NEB 811 6130 02b ...
Страница 372: ...EWA 4NEB 811 6130 02b ...
Страница 432: ...EWA 4NEB 811 6130 02b ...
Страница 442: ......
Страница 528: ...EWA 4NEB 811 6130 02b ...
Страница 590: ......
Страница 591: ......
Страница 592: ......
Страница 593: ......
Страница 594: ......
Страница 600: ...EWA 4NEB 811 6130 02b ...
Страница 602: ...EWA 4NEB 811 6130 02b ...
Страница 604: ...EWA 4NEB 811 6130 02b ...
Страница 624: ...EWA 4NEB 811 6130 02b ...
Страница 632: ...EWA 4NEB 811 6130 02b ...
Страница 644: ...EWA 4NEB 811 6130 02b ...
Страница 646: ...EWA 4NEB 811 6130 02b ...
Страница 652: ...EWA 4NEB 811 6130 02b ...
Страница 654: ...EWA 4NEB 811 6130 02b ...
Страница 660: ...EWA 4NEB 811 6130 02b ...
Страница 662: ...EWA 4NEB 811 6130 02b ...
Страница 666: ...EWA 4NEB 811 6130 02b ...
Страница 668: ...EWA 4NEB 811 6130 02b ...
Страница 674: ...EWA 4NEB 811 6130 02b ...