SIMATIC HMI WinCC V7 4 Scripting (VBS, ANSI C, VBA) SIMATIC HMI WinCC V7 4 WinCC Scripting (VBS, ANSI C, VBA) System Manual Print of the Online Help 022016 A5E37536061 AA VBS for Creating Procedures and Actions 1 ANSI C for Creating Functions and Actions 2 VBA for Automated Configuration 3 Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property The notices referring to your persona.
SIMATIC HMI WinCC V7.4 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual Print of the Online Help 02/2016 A5E37536061-AA VBS for Creating Procedures and Actions ANSI-C for Creating Functions and Actions VBA for Automated Configuration Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol These notices shown below are graded according to the degree of danger DANGER indicates that death or severe personal injury will result if proper precautions are not taken WARNING indicates that death or severe personal injury may result if proper precautions are not taken CAUTION indicates that minor personal injury can result if proper precautions are not taken NOTICE indicates that property damage can result if proper precautions are not taken If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems Proper use of Siemens products Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation If products and components from other manufacturers are used, these must be recommended or approved by Siemens Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems The permissible ambient conditions must be complied with The information in the relevant documentation must be observed Trademarks All names identified by ® are registered trademarks of Siemens AG The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described Since variance cannot be precluded entirely, we cannot guarantee full consistency However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions Siemens AG Division Digital Factory Postfach 48 48 90026 NÜRNBERG GERMANY A5E37536061-AA Ⓟ 03/2016 Subject to change Copyright © Siemens AG 2016 All rights reserved Table of contents VBS for Creating Procedures and Actions .11 1.1 VBS for creating procedures and actions .11 1.2 Using Visual Basic Script in WinCC .12 1.3 Modules and Procedures .15 1.4 Actions 18 1.5 Multiple Use of Procedures and Actions 20 1.6 Use of CrossReference 22 1.7 Using Global Tags in VBS 24 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 VBScript Editors 26 VBScript Editors 26 Global Script Editor 27 Working in an Editing Window .30 Working with the Toolbars 33 Deleting Actions or Procedures 35 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 Creating and Editing Procedures 36 Creating and Editing Procedures 36 Creating a New Procedure 39 How to Write Procedure Codes 41 Using Standard and Project Procedures 44 How to add module-related information .45 Protecting a Module with a Password 47 Saving a Procedure 48 Renaming a Procedure or Module .50 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.10.6 1.10.7 1.10.7.1 1.10.7.2 1.10.7.3 1.10.7.4 1.10.7.5 1.10.7.6 1.10.8 Creating and Editing Actions 52 Creating and Editing Actions 52 Creating a New Action 56 How to Edit Actions 57 How to add action-related information 60 Protecting an Action with a Password 62 Saving Actions .63 Triggers 64 Triggers 64 Animation trigger 68 How to add a trigger of the type "Timer" 70 How to add a trigger of the type "Tag" 72 How to change a trigger .74 How to delete a trigger 75 How to Rename an Action 76 1.11 How to activate global actions in Runtime 78 1.12 Diagnostics 80 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 1.12.1 1.12.2 1.12.2.1 1.12.2.2 1.12.2.3 1.12.2.4 1.12.3 1.12.3.1 1.12.3.2 1.12.3.3 1.12.4 1.12.4.1 1.12.4.2 1.12.4.3 1.12.4.4 1.12.4.5 1.12.4.6 1.12.4.7 1.12.4.8 1.12.4.9 1.12.4.10 1.12.4.11 1.12.4.12 Diagnostics 80 GSC Diagnostics 81 GSC Diagnostics 81 Inserting the GSC Diagnostics Window into a Picture 82 GSC Diagnostics Attributes 82 GSC Diagnostics Toolbar .83 GSC Runtime .84 GSC Runtime .84 How to insert the GSC Runtime Window into a Picture .85 GSC Runtime Attributes .86 Testing with the Debugger 87 Testing with the Debugger 87 How to Activate the Debugger .89 Principles of Debugging .90 Structure of VBScript Files 92 Action and Procedure Names in the Debugger 94 Selecting a Script for Editing 96 Processing Scripts Step-by-Step 97 Setting Breakpoints 98 Deleting Breakpoints 99 How to Set Bookmarks in Scripts .100 How to Determine and Modify Tag and Property Values 101 Executing Script Commands 102 1.13 Printing VBScripts 104 1.14 1.14.1 1.14.2 1.14.2.1 1.14.2.2 1.14.2.3 1.14.2.4 1.14.2.5 1.14.2.6 1.14.2.7 1.14.2.8 1.14.2.9 1.14.2.10 1.14.2.11 1.14.2.12 1.14.2.13 1.14.2.14 1.14.2.15 1.14.2.16 1.14.2.17 1.14.2.18 1.14.2.19 1.14.2.20 1.14.2.21 1.14.2.22 1.14.2.23 1.14.3 VBS Reference 105 VBS Reference 105 Objects and Lists 107 Objects and Lists 107 Alarm object .110 Alarms object (list) 110 AlarmLogs Object .112 DataItem Object 113 DataLogs Object 114 DataSet Object (List) 116 HMIRuntime Object 118 Item Object 119 Layer Object .120 Layers Object (Listing) .121 Logging Object 122 ProcessValue Object 123 ProcessValues Object (List) .124 Project Object .124 ScreenItem Object .125 ScreenItems Object (List) 129 Screen Object 131 Screens Object (List) 134 SmartTags Object 136 Tag Object 137 Tags Object (List) .140 TagSet Object (List) 141 Object types of the ScreenItem object .143 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 1.14.3.1 1.14.3.2 1.14.3.3 1.14.3.4 1.14.3.5 1.14.3.6 1.14.3.7 1.14.3.8 1.14.4 1.14.4.1 1.14.4.2 1.14.4.3 1.14.4.4 1.14.4.5 1.14.4.6 1.14.4.7 1.14.4.8 1.14.4.9 1.14.4.10 1.14.4.11 1.14.4.12 1.14.4.13 1.14.4.14 1.14.4.15 1.14.4.16 1.14.4.17 1.14.4.18 1.14.4.19 1.14.4.20 1.14.4.21 1.14.4.22 1.14.4.23 1.14.5 1.14.5.1 1.14.5.2 1.14.5.3 1.14.5.4 1.14.5.5 1.14.5.6 1.14.5.7 1.14.6 1.14.6.1 Object types of the ScreenItem object .143 Standard objects 144 Smart objects .169 Windows objects 201 Tube objects .215 Controls 218 Customized Object .298 Group 300 Properties 301 Properties 301 A 302 B 321 C 362 D 397 E 407 F 416 G 438 H 442 I 451 L 457 M 488 N 509 O 512 P 528 Q 546 R 547 S 557 T 595 U 671 V 680 W 697 X - Z 702 Methods .710 Methods .710 Methods A to E 712 Get methods .720 Methods H to M 769 Methods N to R 779 Methods S to T 797 Methods U to Z 812 Appendix 820 Error Messages from Database Area 820 1.15 1.15.1 1.15.2 1.15.2.1 1.15.2.2 1.15.2.3 1.15.2.4 1.15.2.5 1.15.2.6 1.15.2.7 Examples of VBScript 823 Examples of VBScript 823 Examples in WinCC 823 Examples in WinCC 823 Example: Accessing objects in Graphics Designer 824 Example: Defining the color of objects .825 Example: How to Configure Language Changes .825 Example: Deactivating Runtime 826 Example: Configuring change picture globally 826 Example: Configuring Change Picture Via Property 827 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 1.15.2.8 1.15.2.9 1.15.2.10 1.15.2.11 1.15.2.12 1.15.2.13 1.15.2.14 1.15.3 1.15.3.1 1.15.3.2 1.15.3.3 1.15.3.4 Example: Configuring diagnostics output via Trace 827 Example: Writing tag values .828 Example: How to Read Tag Values 830 Example: Writing Object Properties 833 Example: How to Start an Action on the Server (Logging Object) .836 Example: You connect or disconnect a database backup with VBS 838 Dynamization of Controls 841 General Examples 855 General examples for VBScript 855 Example: Configuring a Database Connection with VBS 856 Example: Using the MS Automation interface 858 Example: Starting an external application 859 1.16 1.16.1 1.16.2 Basic Principles of VBScript .861 Basic Principles of VBScript .861 VBScript Basics 861 ANSI-C for Creating Functions and Actions 863 2.1 Creating Functions and Actions with ANSI-C .863 2.2 Creating Functions and Actions 864 2.3 Characteristics of Project Functions 867 2.4 Characteristics of Standard Functions .868 2.5 Characteristics of Internal Functions 870 2.6 Characteristics of Local Actions 871 2.7 Characteristics of Global Actions .872 2.8 How to Add Global Script Runtime to a Project's Startup List 873 2.9 Use of Global C-Tags 874 2.10 Use of DLLs in Functions and Actions .876 2.11 2.11.1 2.11.2 2.11.2.1 2.11.2.2 2.11.2.3 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.11.10 2.11.11 2.11.11.1 2.11.11.2 2.11.11.3 2.11.11.4 The Global Script Editor .878 The Global Script Editor .878 Working in the Edit Window .880 Working in the Edit Window .880 Editing Functions with the Keyboard 881 Editing Functions with the Mouse 882 Working with the Toolbars 882 How to Set Different Views 885 How to Set the Font Style 885 How to Use "Save As " .886 How to Delete Actions or Project and Standard Functions 887 How to Generate a New Header 887 How to Compile All Functions 888 How to Search in Files .889 Printing Functions and Actions 890 Printing Functions and Actions 890 How to Set the Print Parameters 890 How to Open Page View 891 How to Print the Project Documentation 891 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 2.12 2.12.1 2.12.2 2.12.3 2.12.4 2.12.5 2.12.6 2.12.7 2.12.8 2.12.9 2.12.10 Creating and Editing Functions 892 Creating and Editing Functions 892 How to Create a New Function 895 How to Write Function Code 896 How to Use Internal Functions 897 How to Use Standard and Project Functions .897 Inserting Additional Function-Related Information .898 How to Protect a Function Against Unauthorized Access 900 How to Compile and Save a Function 901 How to Rename a Function 902 How to Use Functions from Other Sources 903 2.13 2.13.1 2.13.2 2.13.3 2.13.4 2.13.5 2.13.6 2.13.7 2.13.8 2.13.8.1 2.13.8.2 2.13.8.3 2.13.8.4 2.13.8.5 2.13.9 2.13.10 2.13.11 2.13.12 2.13.13 Creating and Editing Actions 905 How To Create and Edit Actions 905 WinCC Coding Rule 908 How to Create a New Action 909 How to Edit Actions 910 How to add action-related information .910 How to Protect an Action Against Unauthorized Access 912 How to Compile and Save an Action 913 Triggers 914 Triggers 914 How to Add a New Trigger of the "Timer" Type 917 How to Add a New Trigger of the "Tag" Type 918 How to change a trigger .920 How to delete a trigger .921 How to Assign Authorizations 922 How to Export an Action .922 How to Import an Action .923 How to Rename an Action 924 How to Use Actions From Other Sources 925 2.14 2.14.1 2.14.2 2.14.2.1 2.14.2.2 2.14.2.3 2.14.2.4 2.14.3 2.14.3.1 2.14.3.2 2.14.3.3 2.14.3.4 Runtime Behavior of Actions 927 Runtime Behavior of Actions 927 GSC Runtime .928 GSC Runtime .928 How to Place GSC Runtime in a Process Picture 931 Attributes of GSC Runtime 932 How to Edit Actions 932 GSC Diagnose 933 GSC Diagnose 933 How to Place GSC Diagnose in a Process Picture? 934 Attributes of GSC Diagnose .935 The Toolbar of GSC Diagnose 935 2.15 2.15.1 2.15.2 2.15.2.1 2.15.2.2 2.15.2.3 2.15.2.4 2.15.2.5 ANSI-C function descriptions .937 lpszPictureName 937 Standard functions .937 Standard functions - short description 937 Alarm 938 Graphics .942 Obsolete functions .947 Report 999 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 2.15.2.6 2.15.2.7 2.15.3 2.15.3.1 2.15.3.2 2.15.3.3 2.15.3.4 2.15.3.5 2.15.3.6 2.15.4 2.15.4.1 2.15.4.2 2.15.4.3 2.15.4.4 2.15.4.5 2.15.4.6 2.15.4.7 2.15.4.8 2.15.5 2.15.5.1 2.15.5.2 2.15.5.3 2.15.5.4 2.15.5.5 2.15.5.6 2.15.5.7 2.15.5.8 2.15.5.9 2.15.5.10 2.15.5.11 2.15.5.12 2.15.5.13 2.15.5.14 2.15.5.15 2.15.5.16 2.15.6 2.15.6.1 2.15.6.2 2.15.6.3 2.15.6.4 2.15.6.5 2.15.6.6 2.15.6.7 2.15.6.8 2.15.6.9 2.15.6.10 WinCC 1002 Windows 1009 Internal functions 1010 Internal functions - short description 1010 allocate .1010 c_bib 1011 graphics 1095 tag 1408 WinCC 1510 Examples 1517 Examles - A to G 1517 Examples - GetAlarmHigh to GetPropChar .1518 Examples - GetRangeMax to GetWidth 1534 Examples - H to S 1557 Examples - SetAlarmHigh to SetPropChar 1559 Examples - SetRangeMax to SetWidth 1569 Examples of WinCC controls 1579 Examples - Obsolete functions 1582 Lists 1590 Bar direction .1590 Bar Scaling .1590 Flash frequencies .1590 I/O field, output format 1591 I/O field, data type of the field content 1592 I/O field, field type 1592 Element alignment in check boxes and radio boxes 1592 Color chart 1592 Format descriptors 1593 Fill pattern 1594 Line styles 1595 Line end style 1595 List types 1596 Language ID .1596 Text alignment 1597 Tag statuses .1598 Structure definitions 1599 Structure definition CCAPErrorExecute 1599 Structure definition CCAPTime 1600 Structure definition CMN_ERROR 1601 Structure definition DM_TYPEREF 1602 Structure definition DM_VAR_UPDATE_STRUCT 1603 Structure definition DM_VAR_UPDATE_STRUCTEX 1604 Structure definition DM_VARKEY 1605 Structure definition LINKINFO 1605 Structure definition MSG_FILTER_STRUCT 1607 Structure definition MSG_RTDATA_STRUCT 1610 VBA for Automated Configuration 1613 3.1 Automated configuration 1613 3.2 3.2.1 3.2.2 Introduction: Using VBA in WinCC 1614 Introduction: Using VBA in WinCC 1614 Differentiation: Using VBA 1614 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 3.2.3 3.2.4 3.2.5 Organizing VBA Code in a WinCC Project .1615 How to export and import VBA code 1618 Executing VBA Macros in Graphics Designer 1619 3.3 3.3.1 3.3.2 3.3.2.1 3.3.2.2 3.3.2.3 3.3.2.4 3.3.3 3.3.3.1 3.3.3.2 3.3.3.3 3.3.3.4 3.3.4 3.3.4.1 3.3.4.2 3.3.4.3 3.3.4.4 3.3.5 3.3.5.1 3.3.5.2 3.3.5.3 3.3.5.4 3.3.6 3.3.7 3.3.7.1 3.3.7.2 VBA in the Graphics Designer 1621 VBA in the Graphics Designer 1621 Adapting the Graphics Designer with VBA .1623 Adapting the Graphics Designer with VBA .1623 Language-Dependent Configuration with VBA 1624 Creating Customized Menus and Toolbars 1626 Accessing the component library with VBA 1646 Editing Pictures with VBA 1654 Editing Pictures with VBA 1654 How to Create Picture-specific Menus and Toolbars .1655 Editing Layers with VBA 1657 Editing a Copy of a Picture with VBA .1658 Editing Objects with VBA 1660 Editing Objects with VBA 1660 Default objects, Smart objects, Windows objects and Tube objects 1662 Group Objects 1674 Customized Objects 1682 Creating Dynamics with VBA 1686 Creating Dynamics with VBA 1686 Configuring Dynamics in the Properties of Pictures and Objects .1687 Configuring Event-Driven Actions with VBA .1699 Editing Triggers 1707 Event Handling 1709 Accessing External Applications with VBA .1713 Accessing External Applications with VBA .1713 Example: Accessing MS Excel with VBA 1714 3.4 3.4.1 3.4.2 VBA in the WinCC Configuration Studio 1725 VBA in the WinCC Configuration Studio 1725 Example: VBA in the WinCC Configuration Studio 1726 3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.4.1 3.5.4.2 AddIns 1734 AddIns 1734 Linking Add Ins 1734 How to Configure an AddIn in the Graphics Designer .1737 Example: Creating Add Ins 1738 Example: Creating Add Ins 1738 Example: Creating an Add In with Visual Basic 6.0 1739 3.6 3.6.1 3.6.1.1 3.6.1.2 3.6.1.3 3.6.1.4 3.6.1.5 3.6.1.6 3.6.1.7 3.6.1.8 3.6.2 VBA Reference 1745 The object model of the Graphics Designer .1745 VBA Reference 1745 VBA Reference: ActionDynamic 1747 VBA Reference: HMIObjects 1749 VBA Reference: Languages .1751 Events 1752 Methods 1785 Objects and Lists 1894 Properties 2106 VBA in Other WinCC Editors 2560 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Table of contents 3.6.2.1 3.6.2.2 3.6.2.3 3.6.2.4 3.6.2.5 VBA in Other WinCC Editors 2560 VBA in Tag Management 2562 VBA im Tag Logging 2573 VBA in the Text Library 2608 VBA in Alarm Logging 2622 Index .2637 10 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index Q qsort, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 QuitHorn, 782 QuitSelected, 783 QuitVisible, 783 R rand, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 ReadTags, 787 realloc, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Reference, 1745 Event Handling, 1745 Methods, 1745 Object model, 1745 Objects and Lists, 1745 Properties, 1745 VBA Object Model, 1745 References, 1615 2672 Registry2, 946 remove, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 rename, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Rename:Module, 50 Renaming, 50, 76 Renaming:Action, 76 Renaming:Procedure, 50 ReportJob, 968 rewind, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 RPTJobPreview, 1000 RPTJobPrint, 1000 RptShowError, 1001 RulerBlock object, 226 RulerColumn object, 227 RulerControl, 272 Runtime, 78 Activating Global Actions, 78 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index S Save, 63 Module, 48 procedure, 48 Save As Applying, 886 Save:Action, 63 Saving file as, 922 Screen Object, 131 ScreenItem, 256, 262, 272, 280, 295 Control, 181 Controls, 218 Customized object, 298 Faceplate instance, 187 WinCC Alarm Control, 286 WinCC AlarmControl, 241 ScreenItem Object, 125 ScreenItem:3D bar, 169 ScreenItem:Application window, 173 ScreenItem:Bar, 174 ScreenItem:Button, 201 ScreenItem:Check Box, 204 ScreenItem:Circle, 149 ScreenItem:Circle segment, 152 ScreenItem:Circular arc, 151 ScreenItem:Combobox, 189 ScreenItem:Connector, 167 ScreenItem:Double T-piece, 216 ScreenItem:Ellipse, 144 ScreenItem:Ellipse arc, 146 ScreenItem:Ellipse segment, 147 ScreenItem:Graphic Object, 187 ScreenItem:Group, 300 ScreenItem:Group Display, 194 ScreenItem:HMI Symbol Library, 239 ScreenItem:I/O Field, 184 ScreenItem:Line, 154 ScreenItem:ListBox, 190 ScreenItem:Multiline Text, 191 ScreenItem:Object types, 143 ScreenItem:OLE Element, 191 ScreenItem:Picture window, 179 ScreenItem:Polygon, 156 ScreenItem:Polygon Tube, 215 ScreenItem:Polyline, 158 ScreenItem:Radio Box, 207 ScreenItem:Rectangle, 159 ScreenItem:Roundbutton, 209 ScreenItem:Rounded Rectangle, 162 ScreenItem:Slider, 212 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA ScreenItem:Static Text, 165 ScreenItem:Status Display, 199 ScreenItem:Text list, 196 ScreenItem:T-piece, 216 ScreenItem:Tube Arc, 217 ScreenItem:WinCC Digital Analog Clock, 246 ScreenItem:WinCC Function Trend Control, 288 ScreenItem:WinCC FunctionTrendControl, 248 ScreenItem:WinCC Gauge Control, 254 ScreenItem:WinCC Online Table Control, 292 ScreenItem:WinCC OnlineTableControl, 257 ScreenItem:WinCC Push Button Control, 269 ScreenItem:WinCC Slider Control, 277 ScreenItems object (list), 129 Screens Object (List), 134 Script file, 92 Script File:Action Names, 94 Script file:open in Debugger, 96 Script File:Permissible action name length, 94 Script File:Set bookmark, 100 Script files of VBScripts, 92 SelectedStatisticArea, 799 ServerExport, 799 ServerImport, 799 Set_Focus, 1287 SetActualPointLeft, 1295 SetActualPointTop, 1296 SetAlarmHigh, 1319 SetAlarmLow, 1320 SetAlignment, 1247 SetAlignmentLeft, 1288 SetAlignmentTop, 1289 SetAssumeOnExit, 1312 SetAssumeOnFull, 1312 SetAverage, 1355 SetAxisSection, 1248 SetBackBorderWidth, 1396 SetBackColor, 1257 SetBackColor2, 1258 SetBackColor3, 1258 SetBackColorBottom, 1259 SetBackColorTop, 1260 SetBackFlashColorOff, 1277 SetBackFlashColorOn, 1278 SetBasePicTransColor, 1390 SetBasePicUseTransColor, 1391 SetBitNumber, 1313 SetBorderBackColor, 1261 SetBorderColor, 1262 SetBorderColorBottom, 1262 SetBorderColorTop, 1263 SetBorderEndStyle, 1397 2673 Index SetBorderFlashColorOff, 1279 SetBorderFlashColorOn, 1279 SetBorderStyle, 1398 SetBorderWidth, 1398 SetBoxAlignment, 1399 SetBoxCount, 1297 SetBoxType, 1355 setbuf, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 SetButtonColor, 1264 SetCheckAlarmHigh, 1321 SetCheckAlarmLow, 1321 SetCheckLimitHigh4, 1322 SetCheckLimitHigh5, 1323 SetCheckLimitLow4, 1324 SetCheckLimitLow5, 1324 SetCheckToleranceHigh, 1325 SetCheckToleranceLow, 1326 SetCheckWarningHigh, 1327 SetCheckWarningLow, 1327 SetClearOnError, 1314 SetClearOnNew, 1315 SetColorAlarmHigh, 1328 SetColorAlarmLow, 1329 SetColorBottom, 1265 SetColorChangeType, 1356 SetColorLimitHigh4, 1330 SetColorLimitHigh5, 1331 SetColorLimitLow4, 1331 SetColorLimitLow5, 1332 SetColorToleranceHigh, 1333 SetColorToleranceLow, 1334 SetColorTop, 1266 SetColorWarningHigh, 1335 SetColorWarningLow, 1335 SetCursorControl, 1357 SetCursorMode, 1358 SetDirection, 1298 SetEditAtOnce, 1359 SetEndAngle, 1299 SetExponent, 1249 SetExtendedOperation, 1359 SetFillColor, 1266 2674 SetFilling, 1275 SetFillingIndex, 1276 SetFillStyle, 1400 SetFillStyle2, 1401 SetFlashBackColor, 1280 SetFlashBorderColor, 1281 SetFlashFlashPicture, 1392 SetFlashForeColor, 1282 SetFlashPicTransColor, 1392 SetFlashPicUseTransColor, 1393 SetFlashRateBackColor, 1282 SetFlashRateBorderColor, 1283 SetFlashRateFlashPic, 1394 SetFlashRateForeColor, 1284 SetFontBold, 1290 SetFontItalic, 1290 SetFontName, 1291 SetFontSize, 1292 SetFontUnderline, 1293 SetForeColor, 1267 SetForeFlashColorOff, 1285 SetForeFlashColorOn, 1286 SetHeight, 1299 SetHiddenInput, 1315 SetHysteresis, 1360 SetHysteresisRange, 1361 SetIndex, 1395 SetItemBorderBackColor, 1268 SetItemBorderColor, 1269 SetItemBorderStyle, 1402 SetItemBorderWidth, 1402 SetLanguage, 1513 SetLeft, 1300 SetLeftComma, 1250 SetLimitHigh4, 1336 SetLimitHigh5, 1337 SetLimitLow4, 1338 SetLimitLow5, 1338 SetLimitMax, 1339 SetLimitMin, 1340 SetLink, 1353 SetLongStrokesBold, 1251 SetLongStrokesOnly, 1252 SetLongStrokesSize, 1252 SetMarker, 1341 SetMax, 1362 SetMin, 1362 SetNumberLines, 1316 SetOffsetLeft, 1363 SetOffsetTop, 1364 SetOperation, 1364 SetOperationMessage, 1365 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index SetOperationReport, 1366 SetOrientation, 1293 SetOutputValueChar, 1317 SetOutputValueDouble, 1318 SetPasswordLevel, 1367 SetPicDeactTransparent, 1377 SetPicDeactUseTransColor, 1378 SetPicDownTransparent, 1379 SetPicDownUseTransColor, 1380 SetPicTransColor, 1380 SetPictureDeactivated, 1381 SetPictureDown, 1382 SetPictureName, 1368 SetPictureUp, 1383 SetPicUpTransparent, 1384 SetPicUpUseTransColor, 1385 SetPicUseTransColor, 1385 SetPointCount, 1301 SetPosition, 1374 SetPressed, 1403 SetProcess, 1369 SetPropBOOL, 1386 SetPropChar, 1387 SetPropDouble 0, 1388 SetPropWord, 1389 SetRadius, 1302 SetRadiusHeight, 1303 SetRadiusWidth, 1303 SetRangeMax, 1375 SetRangeMin, 1376 SetReferenceRotationLeft, 1304 SetReferenceRotationTop, 1305 SetRightComma, 1253 SetRotationAngle, 1306 SetRoundCornerHeight, 1307 SetRoundCornerWidth, 1307 SetScaleColor, 1270 SetScaleTicks, 1254 SetScaling, 1255 SetScalingType, 1256 SetSelBGColor, 1271 SetSelTextColor, 1271 SetSmallChange, 1369 SetStartAngle, 1308 SetTagBit, 1500 SetTagBitState, 1480 SetTagBitStateWait, 1469 SetTagBitWait, 1489 SetTagByte, 1501 SetTagByteState, 1481 SetTagByteStateWait, 1469 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA SetTagByteWait, 1490 SetTagChar, 1501 SetTagCharState, 1481 SetTagCharStateWait, 1470 SetTagCharWait, 1491 SetTagDateTime, 1502 SetTagDouble, 1503 SetTagDoubleState, 1482 SetTagDoubleStateWait, 1471 SetTagDoubleWait, 1492 SetTagDWord, 1503 SetTagDWordState, 1483 SetTagDWordStateWait, 1472 SetTagDWordWait, 1493 SetTagFloat, 1504 SetTagFloatState, 1484 SetTagFloatStateWait, 1473 SetTagFloatWait, 1493 SetTagMultiStateWait, 1474 SetTagMultiWait, 1494 SetTagPrefix, 1370 SetTagRaw, 1505 SetTagRawState, 1485 SetTagRawStateWait, 1475 SetTagRawWait, 1495 SetTagSByte, 1506 SetTagSByteState, 1486 SetTagSByteStateWait, 1476 SetTagSByteWait, 1496 SetTagSDWord, 1507 SetTagSDWordState, 1487 SetTagSDWordStateWait, 1477 SetTagSDWordWait, 1496 SetTagSWord, 1507 SetTagSWordState, 1488 SetTagSWordStateWait, 1478 SetTagSWordWait, 1497 SetTagValue, 1508 SetTagValueWait, 1498 SetTagWord, 1509 SetTagWordState, 1489 SetTagWordStateWait, 1479 SetTagWordWait, 1499 SetText, 1294 SetToggle, 1404 SetToleranceHigh, 1341 SetToleranceLow, 1342 SetTop, 1309 SetTrend, 1371 SetTrendColor, 1272 SetTypeAlarmHigh, 1343 SetTypeAlarmLow, 1344 2675 Index SetTypeLimitHigh4, 1345 SetTypeLimitHigh5, 1346 SetTypeLimitLow4, 1346 SetTypeLimitLow5, 1347 SetTypeToleranceHigh, 1348 SetTypeToleranceLow, 1349 SetTypeWarningHigh, 1350 SetTypeWarningLow, 1351 SetUnselBGColor, 1273 SetUnselTextColor, 1274 setvbuf, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 SetVisible, 1372 SetWarningHigh, 1352 SetWarningLow, 1352 SetWidth, 1310 SetWindowsStyle, 1405 SetZeroPoint, 1311 SetZeroPointValue, 1373 SetZoom, 1373 ShowBadTagState, 2418 ShowColumnSelection, 800 ShowComment, 800 ShowDisplayOptionsDialog, 801 ShowEmergencyQuitDialog, 801 ShowHelp, 801 ShowHideList, 802 ShowHitList, 802 ShowInfoText, 803 ShowLockDialog, 803 ShowLockList, 804 ShowLongTermArchiveList, 804 ShowMessageList, 804 ShowPercentageAxis, 805 ShowPropertyDialog, 805 ShowSelectArchive, 806 ShowSelection, 806 ShowSelectionDialog, 807 ShowSelectTimeBase, 806 ShowShortTermArchiveList, 807 ShowSort, 808 ShowSortDialog, 808 ShowTagSelection, 808 2676 ShowTimebaseDialog, 809 ShowTimeSelection, 809 ShowTrendSelection, 810 Simulation, 2419 SimulationBit, 2419 sin, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 sinh, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Slider control, 277 Smart object, 1662 Editing with VBA, 1664 Smart Objects Combobox, Control, 181 Faceplate instance, Smart objects:3D bar, 169 Smart objects:Application window, 173 Smart objects:Bar, 174 Smart Objects:Graphic Object, 187 Smart objects:Group Display, 194 Smart objects:I/O Field, 184 Smart objects:List Box, 190 Smart Objects:Multiline Text, 191 Smart Objects:OLE Element, 191 Smart objects:Picture window, 179 Smart objects:Status Display, 199 Smart objects:Text list, 196 Smart tag object, 136 SmartTag property, 580 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index sqrt, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 srand, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Standard function Application, 868 Applying, 897 Characteristics, 868 Deleting, 887 Standard object, 1662 Editing with VBA, 1664 Standard Objects:Circle, 149 Standard Objects:Circle segment, 152 Standard Objects:Circular arc, 151 Standard Objects:Connector, 167 Standard Objects:Ellipse, 144 Standard Objects:Ellipse arc, 146 Standard Objects:Ellipse segment, 147 Standard Objects:Line, 154 Standard Objects:Polygon, 156 Standard Objects:Polyline, 158 Standard Objects:Rectangle, 159 Standard Objects:Rounded Rectangle, 162 Standard objects:Static Text, 165 Standard procedure, 44 Standard procedure:Use, 44 Start, 1619 VBA editor, 1615 VBA Macros, 1619 Starting Global Script, 27 StartStopUpdate, 810 StatisticAreaColumn object, 228 StatisticResultColumn object, 229 Status bar, 878 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA StatusbarElement object, 229 stdio, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 stdlib, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 StorePicture, 1407 strcat, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strchr, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 2677 Index strcmp, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strcpy, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strcspn, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strerror, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 2678 strftime, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 string, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strlen, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strncat, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index strncmp, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strncpy, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strpbrk, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strrchr, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA strspn, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strstr, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strtod, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strtok, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 2679 Index strtol, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 strtoul, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Symbol Library, 239 Access with VBA, Copying an object with VBA, Creating a folder with VBA, Deleting a folder with VBA, Editing with VBA, Paste Object into a Picture with VBA, Syntax, 63 Syntax:Control, 63 Syntax:Error, 63 SysFree, 1011 SysMalloc, 1011 system, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 System behavior, 905 T Table Control, 292 Tag, 24, 64, 72, 2435, 2562 Change limits with VBA, 2562 2680 Change type with VBA, 2562 Configure a Trigger to an Action, 72 Creating with VBA, 2562 Define type with VBA, 2562 Deleting with VBA, 2562 Read limits with VBA, 2562 Read properties with VBA, 2562 Tag Logging, 2573 Create archive tag with VBA, 2573 Create process value archive with VBA, 2573 Delete archive tag with VBA, 2573 Delete process value archive with VBA, 2573 Edit archive tag with VBA, 2573 Edit process value archive with VBA, 2573 Tag Object, 137 Tag:global in VBS, 24 tagname, 2436 Tags Object (List), 140 TagScaleParam1 properties, 2437 TagScaleParam2 properties, 2437 TagScaleParam3 properties, 2438 TagScaleParam4 properties, 2438 TagSet Object (List), 141 tagtype, 2438 tan, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 tanh, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Template, 2438 Testing, 87 Testing:with the Debugger, 87 Text library, 2608 Changing text with VBA, 2608 Creating language with VBA, 2608 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index Creating text with VBA, 2608 Deleting text with VBA, 2608 Read text with VBA, 2608 Read TextID with VBA, 2608 TextBiblIDs, 2439 time, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 TimeAxis object, 230 TimeColumn object, 231 Timer, 64, 70 Configure a Trigger to an Action, 70 TitleBackColorActiveEnd property, 2440 TitleBackColorActiveStart property, 2440 TitleBackColorInactiveEnd property, 2440 TitleBackColorInactiveStart property , TitleForeColorActive property, 2441 TitleForeColorInactive property, 2441 TlgGetColumnPosition, 998 TlgGetNumberOfColumns, 992 TlgGetNumberOfRows, 993 TlgGetNumberOfTrends, 993 TlgGetRowPosition, 994 TlgGetRulerArchivNameTrend, 994 TlgGetRulerTimeTrend, 995 TlgGetRulerValueTrend, 996 TlgGetRulerVariableNameTrend, 997 TlgGetTextAtPos, 997 TlgTableWindowPressEditRecordButton, 969 TlgTableWindowPressFirstButton, 970 TlgTableWindowPressInsertRecordButton, 971 TlgTableWindowPressLastButton, 972 TlgTableWindowPressNextButton, 972 TlgTableWindowPressNextItemButton, 973 TlgTableWindowPressOpenArchiveVariableSelectio nDlgButton, 974 TlgTableWindowPressOpenDlgButton, 974 TlgTableWindowPressOpenItemSelectDlgButton, 975 TlgTableWindowPressOpenTimeSelectDlgButton, 976 TlgTableWindowPressPrevButton, 976 TlgTableWindowPressPrevItemButton, 977 TlgTableWindowPressRemoveRecordButton, 978 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA TlgTableWindowPressStartStopButton, 978 TlgTrendWindowActivateCurve, 999 TlgTrendWindowPressFirstButton, 979 TlgTrendWindowPressHelpButton, 979 TlgTrendWindowPressLastButton, 980 TlgTrendWindowPressLinealButton, 981 TlgTrendWindowPressNextButton, 981 TlgTrendWindowPressNextItemButton, 982 TlgTrendWindowPressOneToOneButton, 983 TlgTrendWindowPressOpenArchiveVariableSelectio nDlgButton, 983 TlgTrendWindowPressOpenDlgButton, 984 TlgTrendWindowPressOpenItemSelectDlgButton, 985 TlgTrendWindowPressOpenTimeSelectDlgButton, 985 TlgTrendWindowPressPrevButton, 986 TlgTrendWindowPressPrevItemButton, 987 TlgTrendWindowPressPrintButton, 987 TlgTrendWindowPressStartStopButton, 989 TlgTrendWindowPressStatsResultButton, 989 TlgTrendWindowPressStatsSelectRangeButton, 990 TlgTrendWindowPressZoomInButton, 991 TlgTrendWindowPressZoomOutButton, 991 tmpfile, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 tmpnam, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 2681 Index tolower, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 Toolbar, 1627 Add icon, 1637 application-specific, 1627 Assigning help text, Assigning status text, Assigning VBA macro, Configuring, Insert, picture-specific, 1627 Placement, 1627 Properties, 1627 user-defined, 1627 Working with toolbars, 882 Toolbar:GSC Diagnostics, 83 ToolbarButton object, 232 ToolbarItemType, 2444 toupper, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 TraceText, 1515 TraceTime, 1516 TransformDisplayCoordinate, 1892 TransformPixelCoordinate, 1892 trend, 2448 Trend object, 233 TrendWindow object, 234 Trigger, 64 Changing, 920 Deleting, 921 Effect on actions, 914 Picture cycle, 1708 Standard cycle, 1708 2682 Tag, 1708 Window Cycle, 1708 Trigger type, 864, 914 Triggers, 70, 72, 1707 Adding type "Timer", 70 Adding type Tag, 72 Changing, 74 Configuring with VBA, 1707 Deleting, 75 Tube objects:Double T-piece, 216 Tube objects:Polygon tube, 215 Tube objects:T-piece, 216 Tube objects:Tube Arc, 217 TubeArcObject object, 2088 TubeDoubleTeeObject object, 2090 TubePolyline object, 2092 TubeTeeObject object, 2094 U ungetc, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 UnhideAlarm, 812 UnlockAlarm, 812 UsedLanguage, 2464 UseEventState, 2464 UseGlobalAlarmClasses, 2465 UseGlobalSettings, 2466 User interface language, 1624 Access with VBA, 1624 UserArchiveControl, 280 User-defined menu, 1619, 1627 Add menu entry, 1631 Assigning help text, 1639 Assigning status text, 1639 Assigning VBA macro, 1642 Configuring, 1626 Creating, 1629 creating multiple languages, 1633 Placement, 1627 Properties, 1627 User-defined toolbar, 1619, 1627 Add icon, 1637 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index Assigning help text, 1639 Assigning status text, 1639 Assigning VBA macro, 1642 Configuring, 1626 Creating, 1635 Placement, 1627 Properties, 1627 UseValueText, 2469 V Validity range, 874 ValueAxis object, 235 ValueColumn object, 236 VB action, 1705 Configuring on an event with VBA, 1705 VB Scripts, 1697 Dynamize property with VBA, 1697 VBA, 1614 Access to a copy of the pictures, 1654 Access to external applications, 1713 Access to group objects, 1674 Access to layers, 1654 Access to objects in the Graphics Designer, 1660 Access to other programs, 1713 Access to the component library, 1646 Access to the symbol library, 1646 Accessing MS Excel with VBA, 1714 Action configuring, 1699 Add menu entry to user-defined menu, 1631 Adding a New Icon to the used-defined Toolbar, 1637 Alarm Logging, 2622 Assign help text to user-defined menu, 1639 Assign help text to user-defined toolbar, 1639 Assigning VBA macro to user-defined menu, 1642 Assigning VBA macro to user-defined toolbar, 1642 C Scripts (Delimitation), 1614 Configure user-defined menu, 1626 Configure user-defined toolbar, 1626 Configuring a Direct Connection, 1701 Configuring C Action on an Event, 1703 Configuring Dynamics in a Property with C Script, 1694 Configuring Dynamics in a Property with Dynamic Dialog, 1691 Configuring Dynamics in a Property with VB Script, 1697 Configuring event-controlled actions, 1699 Configuring for multiple languages, 1624 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Configuring triggers, 1707 Configuring VB Action on an Event, 1705 Controlling the visibility of layers, 1657 Create an application-specific menu, 1629 Create application-specific toolbar, 1635 Create user-defined menu, 1629 Create user-defined menu in multiple languages, 1633 Create user-defined toolbar, 1635 Creating a group object, 1676 Customized Object, 1682 Deleting Group Objects, 1676 Dynamic Wizards (Delimitation), 1614 Dynamization, 1686 Edit component library, 1649 Edit layers, 1657 Edit Smart object, 1664 Edit standard object, 1664 Edit Windows object, 1664 Editing a copy of a picture, 1658 Editing a group object, 1676 Editing Customized Objects, 1683 Editing objects in a group object, 1679 Editing objects in Graphic Designer, 1660 Editing objects in Graphics Designer, 1660 Editing picture, 1654 Editing symbol library, 1649 Event Handling, 1709 Executing VBA macros, 1619 Export code, 1618 global VBA code, 1615 Group Objects, 1674 HMIGO class, 2560 Import code, 1618 in Graphics Designer, 1621 in other WinCC Editors, 2560 Inserting an ActiveX control into a picture, 1671 Language-dependent configuration, 1624 Making properties dynamic, 1687 ODK (Delimitation), 1614 OLE Element, 1669 Paste Object from component library into a Picture, 1652 Paste Object from symbol library into a Picture, 1652 Paste Object into Picture, 1662 picture-specific VBA code, 1615 Project language, 1624 project-specific VBA Code, 1615 Tag Logging, 2573 Tag Management, 2562 Text library, 2608 2683 Index Ungrouping Group Object, 1676 Usage, 1614 User interface language, 1624 User-defined menu, 1627 User-defined toolbar, 1627 VB Scripts (Delimitation), 1614 VBA Code, 1618 Execution sequence, 1615 Exporting, 1618 global, 1615 Importing, 1618 Organization within the WinCC Project, 1615 Password protection, 1615 picture-specific, 1615 project-specific, 1615 protecting, 1615 References, 1615 VBA editor, 1615 Start, 1615 VBA events see VBA Events:VBA Event Handling , VBA in the Graphics Designer, 1621 VBA Macros, 1619 Specifics during the execution, 1615 Version, 1619 VBA Object Model, 1745 VBA Reference, 1745 Event Handling, 1745 Events, 1745 Methods, 1745 Object model, 1745 Properties, 1745 VBA Object Model, 1745 VBS, 24, 823 Application Scenarios, 12 Basics, 861 Examples, 855 Examples in WinCC, 823 Methods, 710 Object model, 105 Objects, 107 Reference, 105 Target Group of the Documentation, 12 VBS:Action, 18 VBS:CrossReference, 22 VBS:Editors, 26 VBS:Module, 15 VBS:Object Types, 143 VBS:Procedure, 15 VBS:Properties, 301 VBS:Standard Functions, 41 VBS:Using Global Tags, 24 2684 VBScript Activating in Runtime, 78 VBScript Files, 92 VBScript Files:Structure, 92 VBScript:debugging, 87 VBScript:open in Debugger, 96 VBScript:print, 104 vfprintf, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 View, 885 Setting different views, 885 Visual Basic Script in WinCC, 12 Visual Basic Scripts, 12 vsprintf, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095 W WinCC, 12, 143 Script Languages, 12 Visual Basic Scripts, 12 WinCC Alarm Control, 286 WinCC AlarmControl, 241 WinCC MediaControl, 256 WinCC AlarmControl HitlistColumn object, 222 MessageBlock object, 223 MessageColumn object, 223 OperatorMessage object, 224 StatusbarElement object, 229 ToolbarButton object, 232 VBS example, 853 WinCC coding rules, 908 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Index WinCC FunctionTrendControl StatusbarElement object, 229 ToolbarButton object, 232 Trend object, 233 TrendWindow object, 234 XAxis object, 237 YAxis object, 238 WinCC OnlineTableControl Example of C script, 1579 StatusbarElement object, 229 TimeColumn object, 231 ToolbarButton object, 232 ValueColumn object, 236 VBS example, 851 WinCC OnlineTrendControl Example of C script, 1581 StatusbarElement object, 229 ToolbarButton object, 232 Trend object, 233 TrendWindow object, 234 VBS example, 846 VBS example to setpoint trend, 849 WinCC RulerControl RulerBlock object, 226 RulerColumn object, 227 StatisticAreaColumn object, 228 StatisticResultColumn object, 229 StatusbarElement object, 229 ToolbarButton object, 232 WinCC UserArchiveControl Column object, 221 StatusbarElement object, 229 ToolbarButton object, 232 WinCC:Graphic object types, 143 WinCC:WinCC Digital Analog Clock, 246 WinCC:WinCC Function Trend Control, 288 WinCC:WinCC FunctionTrendControl, 248 WinCC:WinCC Gauge Control, 254 WinCC:WinCC Online Table Control Online, 292 WinCC:WinCC Online Trend Control, 295 WinCC:WinCC OnlineTableControl, 257 WinCC:WinCC OnlineTrendControl, 262 WinCC:WinCC Push Button Control Controls:WinCC Push Button Control, 269 WinCC:WinCC RulerControl, 272 WinCC:WinCC UserArchiveControl, 280 Window, 81, 84 Windows object, 1662 Editing with VBA, 1664 Windows Objects:Button, 201 Windows Objects:Check Box, 204 Windows Objects:Radio Box, 207 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA Windows Objects:Roundbutton, 209 Windows Objects:Slider, 212 WPFControl, 2104 WriteTag, 817 Writing tag values, 828 X XAxis object, 237 Y YAxis object, 238 Z ZoomArea, 818 ZoomInOut, 818 ZoomInOutTime, 818 ZoomInOutValues, 819 ZoomInOutX, 819 ZoomInOutY, 820 ZoomMove, 820 2685 Index 2686 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual, 02/2016, A5E37536061-AA ... 1. 14. 3.1 1. 14. 3.2 1. 14. 3.3 1. 14. 3 .4 1. 14. 3.5 1. 14. 3.6 1. 14. 3.7 1. 14. 3.8 1. 14. 4 1. 14. 4.1 1. 14. 4.2 1. 14. 4.3 1. 14. 4 .4 1. 14. 4.5 1. 14. 4.6 1. 14. 4.7 1. 14. 4.8 1. 14. 4.9 1. 14. 4.10 1. 14. 4.11 1. 14. 4.12 1. 14. 4.13... 1. 14. 4.13 1. 14. 4. 14 1. 14. 4.15 1. 14. 4.16 1. 14. 4.17 1. 14. 4.18 1. 14. 4.19 1. 14. 4.20 1. 14. 4.21 1. 14. 4.22 1. 14. 4.23 1. 14. 5 1. 14. 5.1 1. 14. 5.2 1. 14. 5.3 1. 14. 5 .4 1. 14. 5.5 1. 14. 5.6 1. 14. 5.7 1. 14. 6 1. 14. 6.1 Object... 1 04 1. 14 1. 14. 1 1. 14. 2 1. 14. 2.1 1. 14. 2.2 1. 14. 2.3 1. 14. 2 .4 1. 14. 2.5 1. 14. 2.6 1. 14. 2.7 1. 14. 2.8 1. 14. 2.9 1. 14. 2.10 1. 14. 2.11 1. 14. 2.12 1. 14. 2.13 1. 14. 2. 14 1. 14. 2.15 1. 14. 2.16 1. 14. 2.17 1. 14. 2.18