10/3/2015 1:30 PM | |
Joined: 9/23/2005 Last visit: 12/6/2023 Posts: 4282 Rating:
|
“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:
The screens texts will be showed in other language, by button mouse click.
Requirements: WinCC Professional V13 SP1.
Project with a minimum configuration (texts, stop button, tags, etc.).
Configuration main steps:
Toggle language – System Function
Toggle language – VB
Sub OnClick(ByVal item)
SetLanguage hmiToggle
End Sub
Toggle language – C
#include "GlobalDefinitions.h" void OnClick(char* screenName, char* objectName, char* propertyName) {
SetLanguageByLocaleID (hmiToggle);
}
Set language language – System Function
Set language language – VB
Sub OnClick(ByVal item)
'Write the code as of this position:
SetLanguage "en-US"
End Sub
Set language = English – C
#include "GlobalDefinitions.h" void OnClick(char* screenName, char* objectName, char* propertyName) {
SetLanguageByName ("en-US");
}
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
How do you use WinCC (TIA Portal) to switch languages on a SIMATIC HMI operator panel https://support.industry.siemens.com/cs/br/en/view/109478713
Images: Due a size / format restrictions, the images are first compacted with 7z format (images.z7) and after that attached to a zip archive (data.zip).
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).
AttachmentProject2.zip (190 Downloads) |
Last edited by: Denilson Pegaia at: 10/15/2015 12:42:06 PMDenilson Pegaia |
|
This contribution was helpful to
1 thankful Users |
Follow us on