7/12/2021 11:15 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
As from V17 the WinCC Unified devices could be configured with help of SiVArc. SiVArc is a tool that configures WinCC Unified objects automatically, based on PLC objects and predefined rules. In this example, a screen will be copied from the master copy library to the project and a faceplate will be placed on this screen for each instance of a given block that exists in the controller. Requirements:
In our simple sample the FB is Block1; the instances DB’s are instBlock1 and instBlock2; the faceplate is Faceplate1.
TIP: Up to this point, all faceplates will be copied with the same name, overwriting one to other, so that at end there will just one faceplate in the screen. So, it is necessary to give different names for each faceplate. It is done in the faceplate configuration. There are different possibilities to configure unique names for the faceplate. Here we are going to use the instance DB name to differentiate the faceplate names.
TIP:
Sample program AttachmentSiVArc3_20210711_1601.zip (211 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to
2 thankful Users |
7/12/2021 11:23 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
The same reasoning applied to the dynamization of object names can also be applied to faceplate properties or interfaces. SiVArc will take care to create the used tags in your HMI project (and rename someone if it already was created before). Faceplate, Plug-ins, Miscellaneous, Name configuration:
Faceplate, Plug-ins, Miscellaneous, Property interface, myTitleProperty:
Faceplate, Plug-ins, Miscellaneous, Tag interface, interface_Tag_1 (type tag):
Faceplate, Plug-ins, Miscellaneous, Tag interface, invidualTag (individual tag):
Sample program: AttachmentSiVArc4_20210711_1602.zip (157 Downloads) |
Denilson Pegaia |
|
7/12/2021 11:24 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
Here the faceplate position is calculated by a formula
Sample program AttachmentSiVArc5_20210711_1604.zip (149 Downloads) |
Last edited by: Denilson Pegaia at: 07/12/2021 11:25:10Denilson Pegaia |
|
7/12/2021 11:26 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
In this example, a ConfigurationString faceplate parameter become the instance DB name, with Rename function, the prefix is eliminate. In the faceplate load event, a script copy the Configuration String parameter to a text box. It is used as faceplate title. Individual tags is also filled as type tags.
Sample program AttachmentSiVArc7_20210711_1629.zip (148 Downloads) |
Denilson Pegaia |
|
12/29/2022 9:37 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
News about V18 Hi, As from TIA V18 it is possible to use layouts fields to position elements with SiVArc. In this case, instead of formulas to set the position of the faceplates, a layout screen is built where rectangles will show where the faceplates will take place. Configuration:
Sample project Attachmentproject15_20221227_1427.zip (45 Downloads) |
Denilson Pegaia |
|
1/6/2023 10:29 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
News about V18 Hi, As from TIA V18, SiVarc has support for WinCC Unified Alarms. It is an alternative for program_alarms, where the alarms are configured by SiVArc rules. Configuration steps:
Sample project Attachmentproject15b_20221227_1426.zip (35 Downloads) |
Denilson Pegaia |
|
1/9/2023 10:51 AM | |
Joined: 9/23/2005 Last visit: 3/24/2023 Posts: 4180 Rating:
|
News about V18 Hi, Starting from TIA V18, SiVarc is able to detect the screen resolution of the HMI / PC RT device through the HmiDevice.Resolution.Height / HmiDevice.Resolution.Width expressions. In this example, two screen rules using these expressions as condition (If(HmiDevice.Resolution.Height < 500, True, False)) copy different screens according to device resolution (“blue screen” for high resolution, “green screen” for low resolution) Sample project Attachmentproject15f_20221228_1641.zip (39 Downloads) |
Denilson Pegaia |
|
Follow us on