Download as pdf or txt
Download as pdf or txt
You are on page 1of 110

SiVArc

WinCC Unified V18

Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Agenda

Time Topic Presenter

1 SiVArc overview
2 PLC program
3 Generation templates
4 SiVArc rules
5 Generate visualization
6 SiVArc overview

Page 2 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Overview
SIMATIC WinCC Unified

SiVArc is an option package in the TIA Portal.


You use generation rules to specify which HMI objects are generated for which blocks and devices.

SiVArc automatically generates your visualization.

Page 3 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Overview
SIMATIC WinCC Unified

WinCC
Professional • Automatic generation of the visualization including
process connection
WinCC
TIA Portal

Unified • Uniform layout of user interfaces

WinCC • Consistent naming of operating elements


Advanced

• Structured storage of configuration data


WinCC
Comfort

SiVArc promotes standardization in your project.

Page 4 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Overview
SIMATIC WinCC Unified

• Changes in the user program require only minimum


adaptations in the WinCC project.

• To apply changes to an entire project, you only


have to adapt central templates with SiVArc.

• It is possible to generate specific individual devices


or rules.

Modifications/Adaptations can be made after generation with SiVArc.

Page 5 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Installation
SIMATIC WinCC Unified

To install:

Projects generated with


• Step7 Prof. & WinCC must be installed.
SiVArc can also be opened in
engineering stations that do • To upgrade your version of the TIA Portal, you must
not have SiVArc installed. also upgrade your version of SiVArc.
• If you uninstall WinCC or STEP 7, SiVArc is also
uninstalled.

Licensing:

• You need a valid license to work with SiVArc.

SiVArc is an Option package.

Page 6 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Basic settings
SIMATIC WinCC Unified

• Generation settings of the visualization including


process connection.

• Acquisition cycle of user interfaces.

• Warning settings customize which warnings will be


displayed.

SiVArc settings can be edited under TIA Portal Options > Settings.

Page 7 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Basic settings
SIMATIC WinCC Unified

Select for SiVArc generation if you want to use the default version of library type.

Page 8 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Editors
SIMATIC WinCC Unified

SiVArc editors are located in the project tree.

Page 9 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Editors – SiVArc folder outside of Common data folder
SIMATIC WinCC Unified
V17 V18

Inside of ‘Common data’ Outside of ‘Common


folder data’ folder

SiVArc folder outside of Common data folder in V18

Page 10 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Editors
SIMATIC WinCC Unified

SiVArc editors can be accessed in “Plug-ins” tab, also in Step 7

Page 11 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc in WinCC Editors
SIMATIC WinCC Unified

Property with a fixed value or a SiVArc


expression that returns a string or a number.

Property with a tag name or a SiVArc


expression that returns a tag name.

A SiVArc property is an object property that you configure


either statically or dynamically with a SiVArc expression.
Page 12 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc in WinCC Editors
SIMATIC WinCC Unified

Select the function or script.

Configure the function or script with


SiVArc expressions.

In the "SiVArc events" tab, you can configure a function list to an event
of a generation template of a screen or screen object.
Page 13 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc in WinCC Editors
SIMATIC WinCC Unified

Displays which objects were actually generated in the active screen.

Page 14 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Agenda

Time Topic Presenter

1 SiVArc overview
2 PLC program
3 Generation templates
4 SiVArc rules
5 Generate visualization
6 SiVArc overview

Page 15 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Workflow
SIMATIC WinCC Unified

Step 2 – HMI Content Step 4 – Generate


Step1 – PLC Program Step 3 – SiVArc Rules
(Generation Templates) Visualization

Page 16 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – PLC Program
SIMATIC WinCC Unified

Supported objects:

• FC and (FB) in LAD, FBD, STL and SCL and global


and instance DB.

• All elementary data types that the operator panel


can display and the Array, Struct and UDT data
types.

PLC must be compiled without errors before SiVArc generation.

Page 17 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – PLC Program
SIMATIC WinCC Unified

Set PLC tags to "Accessible from HMI“.

Page 18 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – PLC Program
SIMATIC WinCC Unified

An "HMI connection“ must be established.

Page 19 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – PLC Program
SIMATIC WinCC Unified

UDTs that will be used


in the visualization,
must be in the Project
library

Page 20 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Expressions
SIMATIC WinCC Unified

LIVE DEMO

• SiVArc general settings

• SiVArc Editor

• Show PLC Program

Page 21 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Agenda

Time Topic Presenter

1 SiVArc overview
2 PLC program
3 Generation templates
4 SiVArc rules
5 Generate visualization
6 SiVArc overview

Page 22 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Workflow
SIMATIC WinCC Unified

Step 2 – HMI Content Step 4 – Generate


Step1 – PLC Program Step 3 – SiVArc Rules
(Generation Templates) Visualization

Page 23 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generation Templates
SIMATIC WinCC Unified

• Generation templates are HMI objects from the


library which are not only configured with fixed
defined WinCC properties but also with SiVArc
properties.

• A SiVArc property is an object property, which is first


assigned as tag/expression.

• SiVArc properties are only filled with texts, such as


the object name, labels or a tag designation
during the generation.

"SiVArc properties" tab is only available for objects supported by SiVArc.

Page 24 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generation Templates
SIMATIC WinCC Unified

• You generate one generation template per HMI


object.

• SiVArc properties are evaluated when the HMI


objects are generated. Object properties, such as
"Label" or "Name", are generated.

You can configure the templates using the plug-ins editor.

Page 25 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Usability Improvement for SiVArc
SIMATIC WinCC Unified

Scroll bar position is retained


when you select another object
in the meantime Retain scroll bar position in SiVArc Plugin,
so that you are able to continue the SiVArc
configuration when you select another object
meanwhile

Drag & Drop the SiVArc rules to the library in


an easier manner

Select any cell you want for


drag & drop
Page 26 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc - Support of common Properties for expression configuration
SIMATIC WinCC Unified

Select multiple screen


objects

Configure the
expression once for
common properties

Configure common expression for multiple objects by selecting multiple objects before

Page 27 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support of Screen Size properties via SiVArc
SIMATIC WinCC Unified

Screen Size – Height


and Width configurable
via SiVArc Properties

Retention of the Size –


User can modify Size
after SiVArc generation

Size Width and Height Properties are available for Screens

Page 28 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generation Templates
SIMATIC WinCC Unified

Templates that will be


used in the
visualization, must be
in the Project library

Page 29 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Supported elements
SIMATIC WinCC Unified

Devices:
• Unified PC Runtime
• Unified Comfort Panel

Generation of:
• Text list
• HMI tags
• Screens & Screen objects
• Faceplates

Screen objects:
• Text box
• IO fields / Symbolic IO field
• Button /Switch
• Bar / Slider
• Gauge

Page 30 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support for Unified Alarms
SIMATIC WinCC Unified

Use an alarm rule for


generating the alarms

Create a WinCC Generated alarms for


Unified alarm all motor instances
template

Generate WinCC Unified alarms with SiVArc

Page 31 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support for Unified Controls
SIMATIC WinCC Unified

SiVArc support for Trend Control in WinCC


Unified

SiVArc support for Function Trend Control in


WinCC Unified

Page 32 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Expressions
SIMATIC WinCC Unified

SiVArc expression accesses text sources via SiVArc


objects. The SiVArc objects address blocks in the
program call in STEP 7, in the HMI device or library
data.

SiVArc expressions are used for the following


configurations:
• Formulate conditions for generating HMI objects.
• Dynamic generation of properties, events and
animations for the visualization.

A SiVArc expression is a function that returns a text.

Page 33 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Expressions
SIMATIC WinCC Unified

Open the text editor


to have the
autocompletion
function.

Page 34 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Expressions
SIMATIC WinCC Unified

Local expressions:

• Expression that can be used only in the element in


which it was configured.

Global expressions:

• Expression which can be used within the project


library and the global library.
• Can be used globally by invoking the name of the
expression.

There are two types of SiVArc expressions.

Page 35 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Global expressions
SIMATIC WinCC Unified

Type the SiVArc


expression.

click "Create new


expression" to add a new
expression

SiVArc expressions editor allows you to add, define, and group expression
which can be used within the project library and the global library.
Page 36 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Global expressions
SIMATIC WinCC Unified

The object is made available


within the object picker of the
expression editor

Drag and drop the created


expressions as objects within
the Project/Global library

The expression can be reused in multiple instances.

Page 37 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Expressions
SIMATIC WinCC Unified

You can find all the available


references in TIA Portal Help under
SiVArc > References Chapter

SiVArc Expression Result


“MyBlock” MyBlock
“My\”Block" My"Block
Block.SymbolicName MotorControl
Block.DB.SymbolicName Motor1 / Motor2 / Motor3
“MyBlock_” & Block.SymbolicName MyBlock_MotorControl

You should keep in mind uniqueness and consistency when naming


data blocks and network titles.
Page 38 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Expression resolver
SIMATIC WinCC Unified

Check you SiVArc expressions without starting a generation,


reduce the time for “try and error"-runs.
Page 39 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Expression resolver block based
SIMATIC WinCC Unified

1. Select a source object e.g. a


block to check the expression

2. Add your SiVArc 4. Check the result


statement 3. Click on resolve

Page 40 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Expression resolver HMI device based
SIMATIC WinCC Unified

Select a HMI device

Page 41 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Editing properties
SIMATIC WinCC Unified

Edit SiVArc properties

Edit easy master copies without the need of replacing it in the Library.

Page 42 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Property configurator for master copies
SIMATIC WinCC Unified

Editor for bulk modification of SiVArc master copies.

Page 43 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Property Configurator: Support for Alarms and Alarm Classes
SIMATIC WinCC Unified Discrete alarm
Analog alarm
Alarm classes

Convenient configuration of SiVArc Master copy Alarms and Alarm classes via Property configurator

Page 44 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Property configurator for master copies
SIMATIC WinCC Unified

Select a device Select a HMI object

Select a folder.
By default all master copies are displayed

Page 45 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Expressions
SIMATIC WinCC Unified

LIVE DEMO

• Use a SiVArc expression to assign the screen name

Page 46 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Hands On: SiVArc Expressions
SIMATIC WinCC Unified

H A N D S O N in 10 min

• Add a new screen.


• Go to “Plug-ins” tab
• Go to “SiVArc Properties -> General -> Name”
• Use a SiVArc expression to assign the screen name
• Add this screen to the library

Page 47 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Faceplates
SIMATIC WinCC Unified

• Generation template of the faceplate type is stored


in the library.

• Upon SiVArc generation, unified faceplate is


generated as faceplate container.

You achieve the best reusability by using the type-instance concept from the library.

Page 48 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Faceplates
SIMATIC WinCC Unified

Use SiVArc expressions for


faceplate property interface

SiVArc generation

Use SiVArc expressions for the faceplate property interface

Page 49 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Retention of user changes in sequent generation
SIMATIC WinCC Unified

Manual changes at the faceplate


instance after SiVArc generation
will not be overwritten by the
expresion result of the following
SiVArc generation anymore

When there is difference in the


version of faceplate instances and
Type, the manual changes will not
be retained.
Define retention for Faceplate
properties

Page 50 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Support for additional properties on Faceplates
SIMATIC WinCC Unified

Additional SiVArc properties on faceplate types:

- Size – fit
- Rotation-angle

Page 51 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support for Tag Interfaces - PLCUDT & HMIUDT
SIMATIC WinCC Unified

HMI UDT as Tag Interface

Page 52 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support for Event Interface
SIMATIC WinCC Unified

Faceplate interface events can


be generated via SiVArc

Page 53 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support Container properties of Faceplates
SIMATIC WinCC Unified
Window Settings
can be defined in
new “Static New SiVarc Faceplate
Value” column or Properties:
via SiVArc • Appearance - Window
Expression settings
• Label - Foreground color
Label - Text
Label - Visibility
• Miscellaneous - Title row-
color
To be used resource list
Configure properties for
Show heading option

New SiVArc Properties for the faceplate container instance manage Window Settings and configure the
heading

Page 54 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support Property Interface Multilingual Text at Faceplates Multilingual texts are generated
based on the activated HMI
SIMATIC WinCC Unified
Runtime Languages

Support faceplate property interface of data type Multilingual text

Page 55 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Support Property Interface Authorization at Faceplates
SIMATIC WinCC Unified
Pre-defined function Rights User-defined function Rights
can be selected via new “Static can be assigned via
Value” column Expression

Support faceplate property interface of data type Authorization

Page 56 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support Property Interface Graphic & Graphic types at Faceplates
SIMATIC WinCC Unified

New column “Static Value”


provide selection for using
project graphic or graphic type
at the Interface

Newest version of the graphic


type from the library will be
assigned the interface

Support faceplate property interface of data type Graphic

Page 57 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – HMI Content (Faceplates)
SIMATIC WinCC Unified

LIVE DEMO

• Assign a SiVArc Expression to change the faceplate


container name

• Assign a SiVArc Expression to link the Faceplate


interface

Page 58 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Hands On: HMI Content (Faceplates)
SIMATIC WinCC Unified

H A N D S O N in 15 min

• Go to “Libraries” tab and edit the “Motor_faceplate”


type
• Assign a SiVArc Expression to change the faceplate
container name
• Assign a SiVArc Expression to link the Faceplate
interface
• Release the faceplate version

Page 60 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Agenda

Time Topic Presenter

1 SiVArc overview
2 PLC program
3 Generation templates
4 SiVArc rules
5 Generate visualization
6 SiVArc overview

Page 61 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Workflow
SIMATIC WinCC Unified

Step 2 – HMI Content Step 4 – Generate


Step1 – PLC Program Step 3 – SiVArc Rules
(Generation Templates) Visualization

Page 62 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Processing of rules
SIMATIC WinCC Unified
The following principles apply to screen rules:

• You must define a screen rule for each screen


object to be generated.

• If you want to generate different screen objects


from a program block, you must define a screen
rule with a condition for each screen object.

• The objects are created in the order of the screen


rules.

SiVArc executes the user program during generation.


If a rule applies to a function block, the rule is executed.
Page 63 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Processing of rules
SIMATIC WinCC Unified

During next generation:

• When you change a SiVArc rule, generated objects


based on this rule are overwritten.

• When you delete a rule, generated objects


associated with this rule are automatically removed.

You can add, delete or modify a rule at any time within any rule editor.

Page 64 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Processing of rules
SIMATIC WinCC Unified

Changes to the controller:

• If you delete a PLC with which you have already


generated a visualization, all objects generated with
this PLC are deleted during the next generation.

• If you delete/add a block call in the user program


and generate it once again, the objects generated
with SiVArc (HMI objects, screens, tags) are
automatically deleted/added.

You can modify the PLC program at any time and apply those changes
to the visualization during the next generation.
Page 65 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Rules
SIMATIC WinCC Unified

• SiVArc rules are a key functionality of SiVArc and


have a direct relationship to the PLC program.

• Changes can therefore be implemented centrally


and throughout the project.

• The various SiVArc rules define different generation


tasks.

SiVArc rules define how HMI objects are processed during generation.

Page 66 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Rules editors
SIMATIC WinCC Unified

• Screen rules define which control objects are


created.
• Tag rules store the external tags generated by
SiVArc in a structured manner.
• Text list rules create text lists in the device.
• Copy rules copy HMI objects without a PLC
connection from the library.
• Generation overview displays the screens, screen
objects, tags and text lists in the project that were
generated by SiVArc.
• Generation matrix displays the screens and screen
objects of a selected device.

SiVArc editors are located in the project tree.

Page 67 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Rules editor toolbar
SIMATIC WinCC Unified

Enable/disable grouping of Expand/Collapse Insert a new rule Show/Hide PLC


entries for sorted columns rows. above/below. column.

Filter SiVArc rules Export/Import rules Create a new Show/Hide HMI device
in the editor. to/from MS Excel rule group. type/devices column

Icons in the toolbar depends on the selected rule editor.

Page 68 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generating text list
SIMATIC WinCC Unified

• In the "Text list rules" editor, you define SiVArc rules


according to which text lists are generated for
various devices.

• When you generate the visualization, the text list is


created in the "Text and Graphic Lists“ editor.

• Text lists used for the generation must be in the


Library.

A text list rule specifies which text list is generated for a program block.

Page 69 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generating alarms
SIMATIC WinCC Unified

• With SiVArc alarm rules editor you can generate


alarms, alarm classes automatically.

• Alarms/alarm groups/classes used for the


generation must be in the Library.

During SiVArc generation, the system processes the rules


accordingly and generates the alarm objects.
Page 70 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Copy rules
SIMATIC WinCC Unified

• Use library rules to systematically copy a large


number of objects according to specific project
criteria.

• When you generate, objects that are interconnected


to scripts, you use the copy rules to ensure that
these scripts also exist on the HMI device.

• Create internal tags and tag tables, initially for


only one HMI device. SiVArc can copy them
automatically to all other devices.

A copy rule copies HMI objects based on master copies or types


when generating the visualization.
Page 71 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc - Copy rule for scripts
SIMATIC WinCC Unified

- Global modules
- functions

Page 72 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Support Expressions related to Device Resolution
SIMATIC WinCC Unified

Expresion for Device Screen


Resolution:

• HmiDevice.Resolution.Height

• HmiDevice.Resolution.Width

Use to conditional
generate objects
depending on the Device
Screen resolution

SiVArc Expression HmiDevice.Resolution.Height and HmiDevice.Resolution.Width can be used for Unified


Devices

Page 73 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generating tags
SIMATIC WinCC Unified

• According to the settings, SiVArc generates either


all tags or only those used in the project.

• External tags are stored in tag tables and groups in


the project tree according to your structuring
specifications.

• SiVArc generates external tags for instance data


blocks and global data blocks.

SiVArc generates an external HMI tag for each PLC tag with the option "Accessible from HMI".

Page 74 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Tag rules editor
SIMATIC WinCC Unified

Name of the tag group in which


the external tag is generated.
Unique name of the SiVArc expression evaluated
screen rule. when processing the screen rule.

Specifies the order in which Individual comment


the rules are executed. for screen rule.
Name of the tag table in which
the external tag is generated

Define tag rules according to which the external tags generated


by SiVArc are stored in structured form.
Page 75 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Tag rules editor
SIMATIC WinCC Unified

You can select which tag rules will be executed in the next generation.

Page 76 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Rule - Tables as versioned Type in Library
SIMATIC WinCC Unified

• Not supported for the default rule


tables

• Same library handling as for


UDTs and PLC blocks

• Export and Import function


supported

• Version status and control

• Terminate connection to the


library type when needed

User-defined rule tables can be versioned as type in the library.


Screen, Tag, Text list, Copy and Alarm rule tables

Page 77 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Expression support for instance block names
SIMATIC WinCC Unified

Get only the name of


the instances with
quotation marks

Use new expression


.DisplayName

Page 78 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - List FC/FB parameters for Parameter-Expression
SIMATIC WinCC Unified

Select the parameters via the


autocomplete dialogue

Autocomplete list shows all parameters of a FC / FB in the expression resolver for the expression
Block.Parameters(…)

Page 79 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - SiVArc tags accessible in all subordinate blocks
SIMATIC WinCC Unified
Screen Rule
Trigger: FC 1
Condition: Tag “Line2” defined?

OB 1

Network 1 Network 2
FB 4 FB4

FC 1 FC 1 FC 1 FC 1

IsDefined = False IsDefined = False IsDefined = True IsDefined = True

Parent Block in NW 1 Parent Block in NW 2


Tag Line2 is defined Line2 is not available Line2 is available
in NW2 of OB1

SiVArc tags will be accessible in subordinated blocks dependent on the call structure

Page 80 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Expressions
SIMATIC WinCC Unified

SiVArc Expression Description


HmiTag.DB.FolderPath Accesses the path of the block in the
project tree within the "Program blocks"
folder, e.g.
"Plant\Plantsection\Productionline"
HMITag.DB.SymbolicName Accesses the user-defined name of the
data block.

You should keep in mind uniqueness and consistency when naming


data blocks and network titles.
Page 82 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc Tag rules
SIMATIC WinCC Unified

LIVE DEMO

• Create a Tag rule

• Modify SiVArc settings to create “all HMI tags” and


“Used HMI Tags”

• Use SiVArc expressions for Tag group and for Tag


Table
(HmiTag.DB.FolderPath/HmiTag.DB.SymbolicName)

Page 83 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Hands On: Tag rules
SIMATIC WinCC Unified

H A N D S O N in 15 min

• Go to “Common data -> SiVArc -> Tag rules”


• Create a new rule
• Test different configurations: with and without “Tag group hierarchy” / with string or SiVArc expression for
“Tag table” parameter

Page 84 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Screen rules editor
SIMATIC WinCC Unified

Unique name of the Master copy or type of the HMI


screen rule. object that is generated.*

FB or FC that is invoked Generation template of the screen on Layout field for


in the user program. which the HMI object is generated.* precise positioning .

* must be stored in a library.

Page 85 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc
Unified Devices: Layout Function

Place a rectangle on
the template screen
to determine the
target position

Use the rectangle as layout


field and add an unique name

Use a rectangle as layout field to determine the target position of screen objects
as you know it from legacy WinCC systems

Page 86 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Screen rules editor
SIMATIC WinCC Unified

Errors in the generation may occur if a


faceplate of a comfort panel is used in a
unified device rule and vice versa.

In the properties of each rule, the equipment for which this rule applies must be specified.

Page 87 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Screen rules editor
SIMATIC WinCC Unified

Not supported in V17.


Individual comment for screen rule.
specify the positioning of the HMI object.

SiVArc expression evaluated


when processing the screen rule.

The SiVArc rules editors can be found in TIA Portal in the project tree,
“Common data > SiVArc”.
Page 88 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Screen rules editor
SIMATIC WinCC Unified

You can select which screen rules will be executed in the next generation.

Page 89 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Screen rules
SIMATIC WinCC Unified

LIVE DEMO

• Add the screen to the project library

• Create a Screen rule

• Test the configuration

Page 90 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Hands On: Screen rules
SIMATIC WinCC Unified

H A N D S O N in 15 min

• Go to “Common data -> SiVArc -> Screen rules”


• Create a new rule
• Assign the FC “MotorControl” as the “rule trigger”
• Assign the Faceplate as the “screen object”
• Assign the screen in the master copies as the
“screen type”
• Test your configuration

Page 91 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Agenda

Time Topic Presenter

1 SiVArc overview
2 PLC program
3 Generation templates
4 SiVArc rules
5 Generate visualization
6 SiVArc overview

Page 92 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Workflow
SIMATIC WinCC Unified

Step 2 – HMI Content Step 4 – Generate


Step1 – PLC Program Step 3 – SiVArc Rules
(Generation Templates) Visualization

Page 93 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generate visualization
SIMATIC WinCC Unified

Right-click the HMI Device and select “Generate the visualization (SiVArc)”.

Page 94 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generate visualization
SIMATIC WinCC Unified

Whether the generated instance is the “default” type or


the most current version, depends on the SiVArc settings.
Page 95 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Generate visualization
SIMATIC WinCC Unified

• A dialog for station selection is displayed the first


time generation is started in a project.

• In the dialog select the devices for which SiVArc is


to generate the visualization.

• The available selection of stations is stored after the


first generation. Every following generation is
based on this selection.

If your project contains several HMI devices or connected PLCs, SiVArc generates the
visualization for the HMI devices and PLCs you have selected.
Page 96 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Generate visualization
SIMATIC WinCC Unified

Generation types:

• Without station selection: The generation runs


with the station selection configured in the first time
generation dialog.

• With station selection: Displays the dialog to


select the station selection.

SiVArc generates the HMI objects based on the SiVArc rules and saves them according to the
configuration.
Page 97 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Generate visualization
SIMATIC WinCC Unified

Scope of the generation:

• Tag generation mode under "Options > Settings >


SiVArc”.

• Exempt rules from generation in the rule editors.

• Exempt devices from generation in the generation


dialog.

When generating the visualization, you generate HMI objects depending on the texts and
structures of the user program.
Page 98 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc – Generate visualization
SIMATIC WinCC Unified

You can find the complete overview of


all the elements generated with SiVArc
in "Common data > SiVArc".

The generation overview is created during the first generation and updated in future generations.

Page 99 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc - Generation Overview: Excel Export function
SIMATIC WinCC Unified
Export overview of
the current tab to
Excel

Export all tabs into


Excel with seperate
sheets

Exports the overview of the SiVArc generation result into a Excel file

Page 100 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generate visualization
SIMATIC WinCC Unified

Screens, Tags and faceplates generated via SiVArc.

Page 101 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generate visualization
SIMATIC WinCC Unified

• After SiVArc generation you can add elements to


your screen or change the appearance or position
of the elements, these changes are stored and
maintain even after further SiVArc generations.

Changes made to the visualization are retained even after another SiVArc generation.

Page 102 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc – Generate visualization
SIMATIC WinCC Unified

Delete all SiVArc generated Data on a HMI Device.


Reset the Device to the state, to before SiVArc-Generation.
Page 103 Unrestricted | © Siemens 2022 | DI FA S SUP HMI
SiVArc Generate visualization
SIMATIC WinCC Unified

LIVE DEMO

• Generate the visualization

• Test the configuration

Page 104 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Hands On: Generate visualization
SIMATIC WinCC Unified

H A N D S O N in 15 min

• Right-click the HMI Device and select “Generate the


visualization (SiVArc)”
• Select the corresponding HMI Device and PLC
• Go to "Common data > SiVArc > Generation
Overview"
• Check the results

Page 105 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Agenda

Time Topic Presenter

1 SiVArc overview
2 PLC program
3 Generation templates
4 SiVArc rules
5 Generate visualization
6 SiVArc overview

Page 106 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Openness
Create, modify and delete rule tables & folders

Create

Modify

Delete

Openness rule table support for rule table folders

Page 107 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Openness
Rule table folders
Available for:
//Folders are used to navigate through the folder hierarchy
• Screen
sivarc.<RuleSet>Rules.Folders; • Tag
//Tables are used to access the configured rules and groups of rules in the table • Textlist
sivarc.<RuleSet>Rules.Tables;
• Copy
//Second level in the hierarchy • Alarm
sivarc.<RuleSet>Rules.Folders.Find("Subfolder").Folders...;
sivarc.<RuleSet>Rules.Folders.Find("Subfolder").Tables...;

//Access to the default rule table


<RuleSet>RuleTable defaultTable = sivarc.<RuleSet>Rules.Tables.Find("Default <RuleSet> rule table");

//Create
sivarc.<RuleSet>Rules.Folders.Create(„…“);
sivarc.<RuleSet>Rules.Tables.Create(„…“);

//Access Name of the Rule table has


sivarc.<RuleSet>Rules.Folders.Find(„…“);
sivarc.<RuleSet>Rules.Tables.Find(„…“);
to be unique for the whole
folder hierarchy
//Delete
sivarc.<RuleSet>Rules.Folders.Find(„…“).Delete();
sivarc.<RuleSet>Rules.Tables.Find(„…“).Delete();

Openness rule table support for rule table folders

Page 108 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


SiVArc Openness
Generate SiVArc with Generation Options

Generate
Options
available

Sivarc sivarc = Tiaproject.GetService<Sivarc>();

SivarcGenerationResult result = sivarc.Generate("HMI_UnifiedRT_1", new List<string>() { "PLC_1" }, GenerationOptions.AllTags|GenerationOptions.UserCreatedRules);

Choose tag generation mode and rule set for the Openness triggered SiVArc generation

Page 109 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Open Source Software License Information

The products shown in this presentation include:


• Software developed by the University of California, Berkeley and its contributors.
• Software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)
• Cryptographic software written by Eric Young (eay@cryptsoft.com)
• Portions were derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm

Page 110 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Disclaimer

© Siemens 2022

Subject to changes and errors. The information given in this document


only contains general descriptions and/or performance features which
may not always specifically reflect those described, or which may
undergo modification in the course of further development of the
products. The requested performance features are binding only when
they are expressly agreed upon in the concluded contract.

All product designations may be trademarks or other rights of


Siemens AG, its affiliated companies or other companies whose use by
third parties for their own purposes could violate the rights of the
respective owner.

Page 111 Unrestricted | © Siemens 2022 | DI FA S SUP HMI


Thank you for your attention!
Siemens AG
DI FA S SUP HMI
Gleiwitzer Str. 555
90475 Nuremberg, Germany

Unrestricted | © Siemens 2022 | DI FA S SUP HMI

You might also like