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
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...