10/1/2015 7:58 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 could call scripts triggered by time or by Tag change. It makes possible, for example, to call a script (indirectly) by a PLC command.
Requirements: WinCC Professional V13 SP1.
Project with a minimum configuration (stop button, tags, etc.).
Configuration main steps:
Sub VBFunction_1()
IncreaseTag "HMI_Tag_2" , 1
End Sub
Thanks: Thanks to the Siemens United States Technical Support (in special Mr. David Crockett) for the Help with this TIP.
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
AttachmentProject2.zip (349 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
Follow us on