Example Of Interrupt Response Time Calculation - Siemens Simatic S7-300 Technical Data Manual

Cpu 31xc and cpu 31x
Hide thumbs Also See for Simatic S7-300:
Table of Contents

Advertisement

5.6.3

Example of interrupt response time calculation

Installation
You have assembled an S7-300, consisting of one CPU 314C-2 and four digital modules in
the CPU rack. One of the digital input modules is an SM 321; DI 16 x 24 VDC; with
process/diagnostic interrupt function.
You have enabled only the process interrupt in your CPU and SM parameter configuration.
You decided not to use time-controlled processing, diagnostics or error handling. You have
configured a 20% communication load on the cycle.
You have configured a delay of 0.5 ms for the inputs of the DI module.
No activities are required at the scan cycle checkpoint.
Calculation
In this example, the process interrupt response time is based on following time factors:
• Process interrupt response time of CPU 314C-2: approx. 0,7 ms
• Extension by communication according to the formula:
• Process interrupt response time of SM 321; DI 16 x 24 VDC:
• Neither PROFIBUS DP, nor PROFINET IO are being used, so you do not have to make
The process interrupt response time is equivalent to the sum of the listed time factors:
Process interrupt response time = 0.7 ms + 0.4 ms + 0.25 ms + 0.5 ms = approx. 1.85 ms.
This calculated process interrupt response time expires between the time a signal is
received at the digital input and the call of the first instruction in OB40.
CPU 31xC and CPU 31x, Technical data
Manual, Edition 08/2004, A5E00105475-05
200 μs + 1000 μs x 20 % = 400 μs = 0.4 ms
– Internal interrupt preparation time: 0.25 ms
– Input delay: 0.5 ms
allowances for any DP cycle times on PROFIBUS DP or for PROFINET IO update times.
Cycle and reaction times
5.6 Sample calculations
5-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents