Hanky
Member
Hey there professionals,
I've got a strange problem which i have already posted on another forum, but somehow is seems no-one knows how to explain it.
I am using a softPLC from Siemens (WinLC V4.1). Somehow the CPU of is suffering from peakloads. But these peakloads disappear when i ajust the settings for WinLC.
setting 1:
The setting in situation 1 is 15ms mimimum cycle time and 1 ms sleep time. So the total exucution time is 16ms. (The time needed to proces the program is approx 7ms). These were our default settings. (By setting the minimum cycle time we tried to reduce the overal CPU load, and this worked)
setting 2:
But when i ajusted the settings, sleep time 7ms and minimum cycle time 0ms, i saw a much more tranquil CPU load (see figure). But i can't explain it. The total exectuin time is now approx 14 ms, and that is even faster!!
I'm satisfied with this solution.
But i would like to be able to explain my solution, can someone?
Thanks Henk,
Philips, The Netherlands.
I've got a strange problem which i have already posted on another forum, but somehow is seems no-one knows how to explain it.
I am using a softPLC from Siemens (WinLC V4.1). Somehow the CPU of is suffering from peakloads. But these peakloads disappear when i ajust the settings for WinLC.
setting 1:
The setting in situation 1 is 15ms mimimum cycle time and 1 ms sleep time. So the total exucution time is 16ms. (The time needed to proces the program is approx 7ms). These were our default settings. (By setting the minimum cycle time we tried to reduce the overal CPU load, and this worked)
setting 2:
But when i ajusted the settings, sleep time 7ms and minimum cycle time 0ms, i saw a much more tranquil CPU load (see figure). But i can't explain it. The total exectuin time is now approx 14 ms, and that is even faster!!
I'm satisfied with this solution.
But i would like to be able to explain my solution, can someone?
Thanks Henk,
Philips, The Netherlands.