EasyManua.ls Logo

Siemens SIMATIC HMI series - Scripting with VBS and ANSI-C

Siemens SIMATIC HMI series
226 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8.8 Scripting with VBS and ANSI-C
Runtime
The performance data can also be influenced by the following factors:
Hardware used
Type of configuration
Running processes, for example, Tag Logging or Alarm Logging
The following measured vales indicate the difference between VB scripting and C scripting
based on the comparison of orientation values.
The following configuration was tested as typical scenario:
Typical configuration
For example: Windows 7 (64-bit), Intel Core i7-2600 (3.4 GHz), 8 GB RAM
The measured values are specified in milliseconds.
VBS ANSI-C
Set color of 1 000 rectangles 220 1 900
Set output value of 200 I/O fields 60 170
Select a picture with 1 000 static texts which determine the
object name and issue it as return value
460 260
Read 1 000 internal tags 920 500
Re-read 1 000 internal tags 30 120
Conduct 100 000 calculations
1)
280 70
1) Calculations in the example:
VBS
For i=1 To 100000
value=Cos(50)*i
Next
ANSI-C
for(i=1;i<=100000;i++)
{
dValue=cos(50)*i;
}
Performance Data
8.8 Scripting with VBS and ANSI-C
WinCC: General information and installation
System Manual, 02/2017, A5E40840020-AA 217

Table of Contents

Other manuals for Siemens SIMATIC HMI series

Related product manuals