Hi all,
I probably have some short questions for you. I'm trying to understand timers and the Siemens operating system in more detail.
Introduction:
We use a Siemens S7-300 PLC. In the program I use timers of various lenght, between 200 and 900ms.
The scan cycle time on avarage is 5ms.
The timing of our timers is important.
Questions:
- I understand from postings in this forum that timers update asynchronously. So if a timer reaches its set value and the program is in its cycle the changing value of the timer will be used in that particular cycle, from that point on, as I understand. Is this correct?
- If the timer reaches its set value and the conditions in the program using this timer have just past, the timer has a delay of maximum 1 scan cycle time. Is this correct? This would mean that my timers have an accuracy of +5ms in this example? (The respons time of actuators is not taken in consideration here)
- Is there a way to avoid this 'inaccuracy'?
Thanks in advance.
Cheers, Tom
I probably have some short questions for you. I'm trying to understand timers and the Siemens operating system in more detail.
Introduction:
We use a Siemens S7-300 PLC. In the program I use timers of various lenght, between 200 and 900ms.
The scan cycle time on avarage is 5ms.
The timing of our timers is important.
Questions:
- I understand from postings in this forum that timers update asynchronously. So if a timer reaches its set value and the program is in its cycle the changing value of the timer will be used in that particular cycle, from that point on, as I understand. Is this correct?
- If the timer reaches its set value and the conditions in the program using this timer have just past, the timer has a delay of maximum 1 scan cycle time. Is this correct? This would mean that my timers have an accuracy of +5ms in this example? (The respons time of actuators is not taken in consideration here)
- Is there a way to avoid this 'inaccuracy'?
Thanks in advance.
Cheers, Tom