Example: air traffic controller

SIMATIC HMI WinCC V7.2 - WinCC: Scripting (VBS, ANSI-C, …

SIMATIC HMIWinCC : Scripting (VBS, ansi -C, VBA)System ManualPrint of the Online Help 02/2013A5E32315920-AAVBS for Creating Procedures and Actions 1 ansi -C for Creating Functions and Actions 2 VBA for Automated Configuration 3 Legal informationWarning notice systemThis 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.

WinCC V7.2 WinCC: Scripting (VBS, ANSI-C, VBA) System Manual Print of the Online Help 02/2013 A5E32315920-AA VBS for Creating Procedures and Actions 1 ANSI-C for Creating Functions and Actions 2 VBA for Automated Configuration 3. …

Tags:

  Ansi, Scripting, Wincc, Naic s

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of SIMATIC HMI WinCC V7.2 - WinCC: Scripting (VBS, ANSI-C, …

1 SIMATIC HMIWinCC : Scripting (VBS, ansi -C, VBA)System ManualPrint of the Online Help 02/2013A5E32315920-AAVBS for Creating Procedures and Actions 1 ansi -C for Creating Functions and Actions 2 VBA for Automated Configuration 3 Legal informationWarning notice systemThis 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.

2 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 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 PersonnelThe 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 use of Siemens productsNote the following: WARNINGS iemens products may only be used for the applications described in the catalog and in the relevant technical documentation.

3 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 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 of LiabilityWe 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.

4 Siemens AGIndustry SectorPostfach 48 4890026 N RNBERGGERMANYA5E32315920-AA 02/2013 Technical data subject to changeCopyright Siemens AG rights reservedTable of contents1 VBS for Creating Procedures and for creating procedures and Visual Basic Script in and Use of Procedures and of Global Tags in VBScript Global Script Working in an Editing Working with the Deleting Actions or and Editing Creating and Editing Creating a New How to Write Procedure Using Standard and Project How to add module-related Protecting a Module with a Saving a Renaming a Procedure or Creating and Editing Creating and Editing Creating a New How to Edit How to add action-related Protecting an Action with a Saving Animation How to add a trigger of the type "Timer".

5 72 How to add a trigger of the type "Tag"..74 How to change a How to delete a How to Rename an How to activate global actions in : Scripting (VBS, ansi -C, VBA)System Manual, 02/2013, A5E32315920-AA3 GSC GSC Inserting the GSC Diagnostics Window into a GSC Diagnostics GSC Diagnostics GSC GSC How to insert the GSC Runtime Window into a GSC Runtime Testing with the Testing with the How to Activate the Principles of Components of the Microsoft Script Structure of VBScript Action and Procedure Names in the Selecting a Script for Processing Scripts Setting Deleting How to Set Bookmarks in How to Determine and Modify Tag and Property Executing Script Printing VBS VBS Objects and Objects and Alarm Alarms object (list).

6 116 AlarmLogs DataItem DataLogs DataSet-Objekt (List)..121 HMIR untime Item Layer Layers Object (Listing)..126 Logging ProcessValue ProcessValues Object (List)..129 Project ScreenItem ScreenItems Object (List)..133 Screen Screens Object (List)..138 SmartTags Tag Tags Object (List)..144 TagSet Object (List)..146 Table of contentsWinCC: Scripting (VBS, ansi -C, VBA)4 System Manual, 02/2013, A5E32315920-AA Object types of the ScreenItem Object types of the ScreenItem Standard Smart Windows Tube Customized X - Methods A to Get Methods H to Methods N to Methods S to Methods U to Error Messages from Database Examples of Examples of Examples in Examples in Example: Accessing objects in Graphics Example: Defining the color of Example: How to Configure Language Example: Deactivating Example: Configuring change picture of contentsWinCC.

7 Scripting (VBS, ansi -C, VBA)System Manual, 02/2013, A5E32315920-AA5 Example: Configuring Change Picture Via Example: Configuring diagnostics output via Example: Writing tag Example: How to Read Tag Example: Writing Object Example: How to Start an Action on the Server (Logging Object)..801 Dynamization of General General examples for Example: Configuring a Database Connection with Example: Using the MS Automation Example: Starting an external Basic Principles of Basic Principles of VBScript ansi -C for Creating Functions and Functions and Actions with Functions and of Project of Standard of Internal of Local of Global to Add Global Script Runtime to a Project's Startup of Global Use of DLLs in Functions and The Global Script The Global Script Working in the Edit Working in the Edit Editing Functions with the Editing Functions with the Working with the How to Set Different How to Set the Font How to Use "Save ".

8 846 How to Delete Actions or Project and Standard How to Generate a New How to Compile All How to Search in Printing Functions and Printing Functions and How to Set the Print How to Open Page How to Print the Project of contentsWinCC: Scripting (VBS, ansi -C, VBA)6 System Manual, 02/2013, A5E32315920-AA Creating and Editing Creating and Editing How to Create a New How to Write Function How to Use Internal How to Use Standard and Project Inserting Additional Function-Related How to Protect a Function Against Unauthorized How to Compile and Save a How to Rename a How to Use Functions from Other Creating and Editing How To Create and Edit WinCC Coding How to Create a New How to Edit How to add action-related How to Protect an Action Against Unauthorized How to Compile and Save an How to Add a New Trigger of the "Timer" How to Add a New Trigger of the "Tag" How to change a How to delete a How to Assign How to Export an How to Import an

9 How to Rename an How to Use Actions From Other Runtime Behavior of Runtime Behavior of GSC GSC How to Place GSC Runtime in a Process Attributes of GSC How to Edit GSC GSC How to Place GSC Diagnose in a Process Picture?..894 Attributes of GSC The Toolbar of GSC ansi -C function Standard Standard functions - short Obsolete of contentsWinCC: Scripting (VBS, ansi -C, VBA)System Manual, 02/2013, A5E32315920-AA7 Internal Internal functions - short Examles - A to Examples - GetAlarmHigh to Examples - GetRangeMax to Examples - H to Examples - SetAlarmHigh to Examples - SetRangeMax to Examples - T to Examples of WinCC Bar Bar Flash I/O field, output I/O field, data type of the field I/O field.

10 Field Element alignment in check boxes and radio Color Format Fill Line Line end List Language Text Tag Structure Structure definition Structure definition Structure definition Structure definition Structure definition Structure definition Structure definition Structure definition Structure definition Structure definition VBA for Automated : Using VBA in Introduction: Using VBA in Differentiation: Using of contentsWinCC: Scripting (VBS, ansi -C, VBA)8 System Manual, 02/2013, A5E32315920-AA Organizing VBA Code in a WinCC How to export and import VBA Executing VBA Macros in Graphics in the Graphics VBA in the Graphics Adapting the Graphics Designer with Adapting the Graphics Designer with Language-Dependent Configuration with Creating Customized Menus and Accessing the component library with Editing Pictures with Editing Pictures with How to Create Picture-specific Menus and Editing Layers with Editing a Copy of a Picture with Editing Objects with Editing Objects with Default objects, Smart objects.


Related search queries