12/8/2019 8:03 PM | |
Joined: 9/23/2005 Last visit: 10/4/2024 Posts: 4349 Rating: (1446)
|
Faceplates As from the TIA V16, there was the introduction of the WinCC Unified. This is an engineering platform for HMI Comfort Unified and for WinCC Unified PC. It brings many news regarding the WinCC Advanced / WinCC Professional. (Note: about V17 news see post from 06/06/21) (Note: about V18 news see post from 16/12/23) (Note: about V19 news see post from 29/12/23) References:
Description “Faceplates are user-defined groups of display and operating objects that are stored, managed and edited centrally in the project.” Often there were a misunderstood taking faceplates as operation windows. Faceplates (as V16 WinCC Unified) could be called as popup / operation screen. But faceplates are not just an kind of operation window: take in mind that the main sign of a face plate is to have a “object” (group of screens’ object) that could be used many times in different parts of a project but that could be edited centrally.
Characteristics Faceplate has three tabs: Visualization, Tag interface, Property interface: Visualization:is the graphic interface editor (like the screen editor). Not all controls available for screen are available for faceplate. The java script snippets options are also customized for “Faceplates” Tag interface: it is used to create an interface between the faceplate and the extern world (that means, the interface between faceplate’s internal variables and HMI/PLC’s variable).
Property interface: It is used to create an interface between some faceplate internal properties and the extern world. Properties available are color and resource list (that means, text lists)
Here there is a simple sample program. the facepalte is used 3 times in the start screen. The contection with the internal tag and the background color were customized in each usage. AttachmentProjectFaceplate.zip (3252 Downloads) |
Last edited by: Denilson Pegaia at: 12/08/2019 21:53:16Last edited by: Denilson Pegaia at: 06/05/2021 18:46:39Last edited by: Denilson Pegaia at: 06/06/2021 17:11:30Last edited by: Denilson Pegaia at: 06/06/2021 17:12:09Last edited by: Denilson Pegaia at: 09/13/2021 12:10:55Last edited by: Denilson Pegaia at: 01/31/2023 11:04:30Adding references Last edited by: Denilson Pegaia at: 01/05/2024 09:42:54Denilson Pegaia |
|
This contribution was helpful to11 thankful Users |
12/10/2019 12:03 PM | |
Joined: 9/23/2005 Last visit: 10/4/2024 Posts: 4349 Rating: (1446)
|
Popup screen A Faceplate could be called as Popup screen without screen windows TIP: To call a Faceplate as popup screen from a main screen, create a button and add a java script on an event. Use the snippets: HMIRuntime, screens, Open faceplate in runtime TIP: the snippet first line is the parameters forwarding. it should match with the faceplate parameter. Tags should be passed with "{" "}", properties not. TIP: the other lines should also configured according (name of the faceplate, position offeset, etc.) AttachmentProjectFaceplatePopUp.zip (3078 Downloads) |
Last edited by: Denilson Pegaia at: 12/10/2019 12:04:33Denilson Pegaia |
|
This contribution was helpful to5 thankful Users |
1/12/2020 7:17 PM | |
Joined: 9/23/2005 Last visit: 10/4/2024 Posts: 4349 Rating: (1446) |
Connecting Faceplate to UDT's Faceplates could be connected as a whole to UDT's, and forward this connection to the popup. TIP: To do that, both the "parent" faceplate and the "child" faceplate should have the same interface. Follow there is a sample program about it, that was built with the these steps:
Project (.Zap16 as zipped) AttachmentFaceplate.zip (3539 Downloads) |
Last edited by: Denilson Pegaia at: 01/14/2020 11:16:51Denilson Pegaia |
|
This contribution was helpful to1 thankful Users |
9/10/2020 3:36 PM | |
Posts: 1 Rating: (0) |
Hi, Im trying to access the referenced faceplate width and height to detect if it will be located outside of the screen width or height. this is how i define it var data = {IN_Object:{Tag:STRING_TAG_Object}, IN_Debug:{Tag:STRING_TAG_Debug}, IN_Rights:{Tag:STRING_TAG_Rights}, IN_Name:{Tag:STRING_TAG_Title}, IN_Type:{Tag:STRING_TAG_Type}, ColorProperty:0xff00ff00}; var po = UI.OpenFaceplateInPopup(STRING_NAME_Faceplate, Tags(STRING_TAG_Title).Read(), data); Then i try to get the po.Width and po.Height but they returns as object properties and not integers. As far as I understand I can't use the javascript Number() function to convert it. How can I get the property so that I can use it? (as integer) AttachmentFaceplate Object Property Widht and Height.pdf (2040 Downloads) |
Follow us on