Is there a recommended number of threads?

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
BongBongV
Posts:16
Joined: Thu Sep 24, 2020 10:41 am

Is there a recommended number of threads?

Post by BongBongV »

Version : WINCC OA 3.14
Patch : 015
OS : Windows Server 2012


Is there a maximum number of Threads that can be used in WINCC OA?

Using the startThead function, Ctrl script was created to generate an alarm when the buffer count value remained unchanged for 30 seconds, but the script did not work properly.

The rollback function that exists in this script is 480 dpConnect(_S7.ConnState, _S7.ReduConn.ConnState change detected) and 240 startThread (buffer count Threads).


In WinCC OA 3.16 version's manual, there is a phrase "When calling the function startThread() under Windows a maximum of 62 threads can be started!" Is there a limit to the number of times that startThread() can be used?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Is there a recommended number of threads?

Post by leoknipp »

The information for 62 threads is related to threads which are using the system() command.
For plain CTRL threads more than 62 can be used in parallel.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1