10/1/2015 5:26 PM | |
Joined: 9/23/2005 Last visit: 12/26/2024 Posts: 4376 Rating: (1458)
|
“Simple Samples” are small projects that demonstrate simple features. The target is give a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps.
Description:
By clicking on button a Boolean tag is inverted (True – False). To invert a bit could be easily adapted for other simple script tasks (set bit, reset bit, set value, etc.). It is also base of many other simple samples.
Requirements: WinCC Advanced V13 SP1.
Configuration main steps:
Function
Script
Sub VBFunction_1()
SmartTags("HMI_Tag_1").Value = Not SmartTags("HMI_Tag_1").Value End Sub
References: Manual WinCC Professional V13.0 https://support.industry.siemens.com/cs/br/pt/view/92323076/en
Online helps system WinCC Professional V13.0 SP1 https://support.industry.siemens.com/cs/br/pt/view/109096785/en
Application and tools Demo projects for HMI operator panels under WinCC V13 (TIA Portal) for Basic Panels (2nd generation) and Comfort Panels https://support.industry.siemens.com/cs/br/pt/view/96003274/en
FAQ Which VBS information and VBS programming tools are there in WinCC (TIA Portal)? https://support.industry.siemens.com/cs/br/pt/view/59885894/en
Tips and tricks for creating scripts in WinCC (TIA Portal) https://support.industry.siemens.com/cs/br/pt/view/57132412/en
Project: Due a size/ format restrictions, the project are first compacted with 7z format (project.z7) and after that attached to a zip archive (data.zip).
AttachmentProject.zip (303 Downloads) |
Last edited by: Denilson Pegaia at: 10/1/2015 5:26:49 PMDenilson Pegaia |
|
Follow us on