10/2/2015 2:51 PM | |
Joined: 9/23/2005 Last visit: 1/22/2025 Posts: 4396 Rating: (1464)
|
WinCC Professional V13 SP1 – Simple Sample: Screen change via controller
“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:
Many applications demands that the controller select (change) the HMI operation screen.
WinCC could call scripts triggered by tag change. It makes possible, for example, to call a script (indirectly) by a PLC command and use it to select (change) a screen.
Note: in this example, the trigger tag and the screen name tag are defined as internal tag, instead of PLC tag to simplify the simulations.
Requirements: WinCC Professional V13 SP1.
Configuration main steps:
Function Action()
ActivateScreen (SmartTags("ScreenName").Value), 0
Action = 0
End Function
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
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: As Project.zip.
AttachmentProject.zip (350 Downloads) |
Denilson Pegaia |
|
Follow us on