Cyclic program execution
3.4 Response time for cyclic and time-driven program execution
Cycle and response times
42 Function Manual, 10/2018, A5E03461504-AD
Response time for cyclic and time-driven program execution
Introduction
In this section you learn:
● How the response time is composed
● How to calculate the response time
The response time in the case of cyclic or time-controlled program execution is the time
between the detection of an input signal and the change of a connected output signal.
Fluctuation in the response time of the CPU
The actual response time of the CPU fluctuates between one and two cycles for cyclic
program execution and between one and two cyclic interrupt cycles for time-controlled
program execution.
You should always assume the longest response time when configuring your system.
The following figure shows the shortest and longest response times of the CPU to an event.
Figure 3-10 Shortest and longest response times of the CPU