10/1/2015 7:46 PM | |
Joined: 9/23/2005 Last visit: 11/19/2024 Posts: 4353 Rating: (1454)
|
“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 changing a value of a tag (HMI_Tag_1), a script will be called and increment the value of a second tag (HMI_Tag_2).
WinCC Advanced (and HMI e.g.) could call scripts by schedule. In some applications, however, the schedules options are not enough. In this case, it is possible to call a script by a tag change. It makes possible, for example, to call a script (indirectly) by a PLC command.
Requirements: WinCC Advanced V13 SP1.
Project with a minimum configuration (stop button, tags, etc. ).
Configuration main steps:
Configure the script as follow:
Sub VBFunction_1()
IncreaseTag "HMI_Tag_2", 1
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: Project.zip
AttachmentData.zip (1017 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to6 thankful Users |
8/9/2019 10:03 PM | |
Joined: 7/30/2018 Last visit: 4/9/2022 Posts: 1 Rating: (0) |
thanks boss |
Follow us on