4/19/2022 1:21 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Faceplate pop up formatiing and Windows Flags Hi, The Faceplate Pop up formatting could be configured by Windows flags parameter. This could be used, for example, to hide the close button on the title bar. HMIWindowsFlag parameter is a byte where each bit has a meaning:
TIP: you can use also system constants to do it and "|" to add different features. The system constants are:
Here there is an example of system constant use:
In this simple sample, the Windows Flag could be didactically set in the main windows and due internal tags passed to the faceplate / faceplate pop up. AttachmentFaceplateWindowFlags_20220416_2109.zip (884 Downloads) |
Last edited by: Denilson Pegaia at: 04/19/2022 13:23:02Last edited by: Denilson Pegaia at: 07/29/2022 12:39:39Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
4/20/2022 12:07 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Faceplate Pop up – UI data Hi, It should be possible to extract some information about of Faceplate Pop-ups using UI object. The script principle to get this information are showed here. It was add some code lines to check and avoid to try access information of a nonexistent faceplate.
Many different solutions could be develped with this information. In this simple sample, the UI information is extract directly on IO fields and buttons uses these indexes to close the faceplates. AttachmentFaceplateUiData_20220417_0848.zip (764 Downloads) |
Last edited by: Denilson Pegaia at: 04/20/2022 12:10:53Denilson Pegaia |
|
This contribution was helpful to2 thankful Users |
4/25/2022 1:13 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Popup Faceplate controlled by UI Data Hi, here there is a simple example using the last-mentioned concepts to control the number of open Faceplate Popup. Here, the “father” Faceplate checks internally if there is an open popup’s faceplate and close it before launch its.
AttachmentFaceplateControledByUiData_20220417_1706.zip (832 Downloads) |
Last edited by: Denilson Pegaia at: 04/25/2022 13:15:26Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
5/20/2022 2:34 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Faceplate's Button dymamic graphic and text Hi, in V17 it is not possible to direct dynamise the graphic property of faceplate’s button. A suggestion in this case is to store the graphics as Types and use it with scripts to change the button appearance, using instructions like:
The follow sample project shows dynamic buttons text and graphics in this way. (special thanks to Mr. Rainer Uhl for the tip) AttachmentProject.zip (723 Downloads) |
Last edited by: Denilson Pegaia at: 05/20/2022 14:35:24Last edited by: Denilson Pegaia at: 05/20/2022 14:36:39Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
7/12/2022 11:57 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Additional TIP for UI Data and PopUp control Hi,
The FAQ "How do you control pop-up windows in WinCC Unified PC RT and Comfort Panels via script (JavaScript examples)?" https://support.industry.siemens.com/cs/ww/en/view/109810540 complements my lasts related posts and shows additional tips about the topics: 1. Prevent a pop-up from opening multiple times 1.1 List open pop-up windows 1.2 Access the instance of a pop-up via its title 1.3 Close all open pop-up windows simultaneously 2. Properties of Pop-up Windows 2.1 Change the properties of the open pop-ups 2.2 Overview: Properties and methods of pop-up windows 3. Implement an operation lock when the pop-up is open and gives a sample projects |
Last edited by: Denilson Pegaia at: 07/12/2022 11:58:36Denilson Pegaia |
|
8/15/2022 12:33 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Authorization Authorization could also be passed as Property interface. This allow to control the user access to individual parts of the face plate. TIP: up to this current version (V17 up4) it just possible to access "default" user access (User administrator, Monitor, Operate, Remote access). Sample project Attachmentauthor.zip (810 Downloads) |
Denilson Pegaia |
|
8/17/2022 12:02 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Hi, would running in simulation mode be an option for you? |
Denilson Pegaia |
|
12/16/2022 9:49 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, As from TIA V18 it is possible to add trends and alarm view in the faceplate. TIPs: Real time tags trends:
Historical values trends:
where "Trend control_2" is the object name 0 in TrendAreas.Item(0) is the number of the used trend area (always starts with 0) 0 in Trends(0) is the number of the trend (always starts with 0) Interface_Property_1 is the related faceplate property interface name
where HMI_Tag_1 is the “real tag name” Data log_1 is the data log name where HMI_Tag_1 is stored (is not used as parameter ! ) LoggingTag_1 is the name of the HMI_Tag_1 as logging tag of Data log_1 note: do not use “ or ‘ Alarm
Sample project AttachmentProject29_20230105_0710.zip (692 Downloads) |
Last edited by: Denilson Pegaia at: 12/16/2022 09:50:40Last edited by: Denilson Pegaia at: 12/20/2022 12:15:01Last edited by: Denilson Pegaia at: 12/20/2022 12:15:45Last edited by: Denilson Pegaia at: 02/16/2023 10:10:36TIP addition, new sample program with real time and historical data trends Denilson Pegaia |
|
12/20/2022 10:49 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 As from TIA V18 it is possible to build a faceplate inside another faceplate (nesting). TIPs:
Sample project (TO CONTINUE...) AttachmentProject11a_20221216_1451.zip (846 Downloads) |
Last edited by: Denilson Pegaia at: 12/20/2022 12:16:07Last edited by: Denilson Pegaia at: 01/04/2023 17:57:53Last edited by: Denilson Pegaia at: 01/15/2023 21:16:32Denilson Pegaia |
|
12/20/2022 12:11 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
(...CONTINUATION) More TIPs about faceplate inside another faceplates:
Sample project
AttachmentProject11c_20221217_0800.zip (699 Downloads) |
Last edited by: Denilson Pegaia at: 12/20/2022 12:12:03Last edited by: Denilson Pegaia at: 01/15/2023 21:17:48Denilson Pegaia |
|
12/22/2022 11:28 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, As from TIA V18 it is possible to use internal (local) tags. TIPs:
Sample project AttachmentProject11b_20221216_1509.zip (740 Downloads) |
Denilson Pegaia |
|
12/26/2022 10:32 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, As from TIA V18 it is possible to add an event to a faceplate. This could be used to pass parameters. That means, the faceplate could work with events that are configured (using scripts/system funcitons) in its call (instance specific). Configuration Steps:
TIPs:
Simple Sample AttachmentProject11d_20221218_0917.zip (848 Downloads) |
Last edited by: Denilson Pegaia at: 01/04/2023 16:47:19Denilson Pegaia |
|
This contribution was helpful to2 thankful Users |
12/28/2022 9:53 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, As from TIA V18 it is also possible to use HMI UDT in faceplates. Sample project AttachmentProject11e_20221220_0846.zip (587 Downloads) |
Denilson Pegaia |
|
1/2/2023 9:32 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, As from TIA V18 it is possible to use arrays of simple elements in faceplates. TIPs:
Sample project AttachmentProject11f_20230119_1619.zip (621 Downloads) |
Last edited by: Denilson Pegaia at: 01/19/2023 19:22:07Denilson Pegaia |
|
1/4/2023 10:58 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
Hi, As from TIA V18 it is possible to use Graphics objects linked to Graphics / "Typed" Graphics directly or by property inteface. The use of “ Typed:” Graphics allows different representations for different languages. TIP:
Sample project AttachmentProject26_20230104_0751.zip (730 Downloads) |
Last edited by: Denilson Pegaia at: 01/04/2023 17:55:56Denilson Pegaia |
|
1/15/2023 8:44 PM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, As from TIA V18 it is possible to use dynamic SVG in faceplates. TIPs:
Steps:
Simple project AttachmentProject22_20230101_1612.zip (642 Downloads) |
Last edited by: Denilson Pegaia at: 02/16/2023 10:01:53mistype correction Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
2/8/2023 10:10 AM | |
Joined: 9/23/2005 Last visit: 4/17/2024 Posts: 4325 Rating: (1424)
|
News about Faceplates as from TIA V18 Hi, From TIA V18 it is possible to assign a text inside a faceplate by a "Property interface". In general, all texts present in a project are available for edition in other languages (project tree, Language & resources, Project texts) but with this option it is possible to define static texts in multiple languages, directly in the properties of the faceplate called, in the tab "Texts". TIPs:
Sample project AttachmentProject32_20230120_1700.zip (862 Downloads) |
Denilson Pegaia |
|
Follow us on