Smart Objects
Smart Objects
Smart Objects
v.8.20
© 2020 Ing. Punzenberger COPA-DATA GmbH
Distribution and/or reproduction of this document or parts thereof in any form are permitted solely
with the written permission of the company COPA-DATA. Technical data is only used for product
description and are not guaranteed properties in the legal sense. Subject to change, technical or
otherwise.
Contents
GENERAL HELP
If you cannot find any information you require in this help chapter or can think of anything that you
would like added, please send an email to documentation@copadata.com.
PROJECT SUPPORT
You can receive support for any real project you may have from our customer service team, which
you can contact via email at support@copadata.com.
2 Smart Objects
The concept of Smart Objects is based on the idea of providing configuration contents for not so
tech-savvy users of the zenon Editor in pre-configured objects known as smart objects. All the
configuration options available in zenon are combined in small units. This offers the advantage that
several encapsulated and separate objects within the zenon Editor can be maintained easily. They
are completely reusable and make a zenon project scalable.
4 | 61
Configuration - General notes
The creator of smart object templates is usually an experienced zenon user. He or she
merges complex configurations in one package. In addition to the configurations performed
such as the creation of symbols, the setting of interlocking conditions or the parameterization
of variables and drivers, the complexity can be reduced for less experienced users. The
creator of a smart object template can pre-select the properties available to the user of smart
objects.
User of smart objects
Smart objects are based on a smart object template. The user can integrate the
configurations merged in a smart object template into a zenon project quite easily. This
therefore reduces the complexity because the zenon properties that need to be
parameterized have already been pre-selected and restricted in the template.
The project engineer of a smart object template can release individual properties for
parameterization. This makes the configuration of content in zenon quick, efficient and very easy.
5 | 61
Configure and parametrize smart objects
Information
You can find information on creating smart object templates in the
Configuration of smart object templates (on page 45) chapter.
TREE VIEW
Parameter Description
6 | 61
Configure and parametrize smart objects
DETAIL VIEW
The following options are available in the toolbar and the context menu for the configuration of smart
objects:
Parameters Description
Manage smart object templates Manages smart object templates for use in zenon
configurations. For this, the Manage smart object
templates (on page 11) dialog will be opened.
7 | 61
Configure and parametrize smart objects
Parameters Description
Enter the properties Enters the properties for the selected element.
These inputs are parameterized in the properties
window.
8 | 61
Configure and parametrize smart objects
List of the available smart object templates. This list contains all the smart object templates contained
in the project.
The context menu can be used to hide or display columns. You can access this context menu by
right clicking in a column header.
Status information about available and selected elements is shown as text in the footer of the list.
Parameter Description
9 | 61
Configure and parametrize smart objects
DESCRIPTION
This description is contained in the smart object template. The author of the template is responsible
for creating a description for the smart object template. If the template does not contain such a
description, this area of the screen will remain empty.
In this input field, you enter the name of the smart object in the zenon configuration.
The entry is validated. If the input is invalid, a corresponding message will be shown.
CLOSE DIALOG
Parameter Description
10 | 61
Configure and parametrize smart objects
Parameter Description
11 | 61
Configure and parametrize smart objects
Parameter Description
Collapse selection Collapses the highlighted nodes.
Default: 0*
New name New name of the smart object template after import.
New version New version number of the smart object template after import.
Attention
Previously imported smart object templates can now be updated.
DESCRIPTION
This description is contained in the smart object template. The author of the template is responsible
for creating a description for the smart object template. If the template does not contain such a
description, this area of the screen will remain empty.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
12 | 61
Configure and parametrize smart objects
New variable Opens the dialog to create a new variable for the
current zenon project.
13 | 61
Configure and parametrize smart objects
Parameter Description
symbol in the header shows which cell has been
selected in a highlighted line. Only cells that can be
edited can be selected.
The context menu can be used to hide or display columns. You can access this context menu by
right clicking in a column header.
Status information about available and selected elements is shown as text in the footer of the list.
MAP VARIABLES
In this area, variables of the current zenon project are mapped to the variables configured in the
smart object template. The variables mapped in the Project variable name column are used in
productive operation and for display in the zenon Runtime.
Note: If the Variables interchangeable property has been deactivated during the configuration of a
variable in the smart object template, this variable will not be shown in the list. It cannot be mapped
to a project variable.
Parameter Description
Clear mapping (red X symbol) Deletes the mapping of the selected project
variable. Multiple selection is possible.
Smart object variable name Overview of the variables configured in the smart
object template. These entries cannot be changed.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
14 | 61
Configure and parametrize smart objects
Parameter Description
15 | 61
Manage and parameterize smart object templates
Smart object templates can be exported from and imported into any project. This allows
configuration contents to be exchanged between several computers or project engineers.
Information
You can find information on the configuration and parameterization of smart
objects in the Configure and parametrize smart objects (on page 6) chapter.
RESTRICTIONS
The following restrictions apply for the configuration of smart object templates:
The Smart Object module does not support distributed engineering. Smart Object contents
created locally are not transferred to the project server. If a multi-user project is
synchronized, the local smart object contents are deleted.
Copy and paste/drag & drop
It is not possible to copy and paste configuration contents between a zenon project and
a smart object configuration. This prevents changes from leading to misconfigurations
such as incorrect links.
Configuration contents can only be copied and pasted/dragged and dropped within a
smart object template. A configured zenon element cannot be exchanged between two
smart object templates.
Note: This restriction is also visualized by a dialog in the zenon Editor.
This view contains the engineering environment for smart object templates. The templates are
created and managed in this view separately from the configuration in the zenon Editor. The
16 | 61
Manage and parameterize smart object templates
appearance is based on the project tree but only contains those modules and functionalities
necessary for creating a template for a smart object.
The view of the engineering environment of the smart object template is divided into the following
parts:
Overview of smart object templates (on page 19)
All the existing smart object templates are listed and managed in a tree view.
Main window (on page 24)
Engineering environment of smart object templates (on page 25)
In a second tree view, all the modules are shown that support configurations for a smart
object template.
Released properties (on page 30)
The zenon properties are managed in this view. Only properties that are configured here
are available to the user of a smart object for parameterization.
17 | 61
Manage and parameterize smart object templates
5.1.1 Versioning
Every smart object template contains a version number. This number is given by zenon automatically
and cannot be changed. The current version number is displayed in the Version property of the
smart object template.
If a smart object template is saved via export, the storage file always contains the most recent version
of the smart object template. Versioning within the .so storage files is not planned. Therefore, you
should save each version of the template with a unique name. The mapping to the configured smart
objects is always done using the unique GUID of the smart object template.
Hint
When exporting a smart object template, you should always give a unique name
that also contains a version information such as motor_V3.so.
18 | 61
Manage and parameterize smart object templates
Information
You can find further information on this in the Manually create a smart object
template (on page 45) chapter in this manual.
Parameter Description
Create folder Creates a new folder in the tree view. The new
folder is added at the end of the selected node.
19 | 61
Manage and parameterize smart object templates
Parameter Description
20 | 61
Manage and parameterize smart object templates
Parameter Description
21 | 61
Manage and parameterize smart object templates
Symbol Description
The smart object template does not contain any unsaved changes.
22 | 61
Manage and parameterize smart object templates
Parameter Description
List of configured smart object templates. This list can be sorted and filtered.
The context menu can be used to hide or display columns. You can access this context menu by
right clicking in a column header.
Status information about available and selected elements is shown as text in the footer of the list.
Parameter Description
Default: 0*
New name New name of the smart object template after import.
New version New version number of the smart object template after import.
DESCRIPTION
In this area, information on the selected element is displayed. This description is contained in the
smart object template. The author of the template is responsible for creating a description for the
smart object template. If the template does not contain such a description, this area of the screen will
remain empty.
23 | 61
Manage and parameterize smart object templates
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
24 | 61
Manage and parameterize smart object templates
List of the released properties that are available to the user for the parameterization of a
smart object.
TOOLBAR
Parameter Description
Information
If the active project is modified or the <CD PRODUCTNAME> Editor is closed and
the smart object templates contain unsaved changes, a dialog with the option to
save these changes will be displayed.
5.1.3.1.1 Variables
Smart objects support the following functionality of the node's variables:
Driver
Data Types
Reaction matrix
Information
You can find further information in the Variables manual and in the linked
chapters of this manual.
25 | 61
Manage and parameterize smart object templates
5.1.3.1.2 Screens
In this node, you can configure the screen types and the symbol library for smart object templates.
This symbol library contains only the symbols of the selected smart object template. There is no direct
link to the symbol library in the project tree or to other smart object templates. If additional smart
object templates are referenced in the current smart object template, the screens used within them
are also displayed in the current template.
The following screen types are supported for a smart object template:
Faceplate
This screen type offers a frame with four screen containers.
You can find further information on this in the Faceplate chapter in the Screens manual.
Standard
Alarm Message List
Extended Trend
Command Processing
Chronological Event List
Information
You can find general information in the Screens manual and in the linked
chapters of this manual.
5.1.3.1.3 Functions
Smart Objects support all the functions that are also available for configuration in the zenon project
tree.
Information
You can find general information in the Functions manual and in the linked
topics of the Overview of functions in zenon chapter.
26 | 61
Manage and parameterize smart object templates
SCRIPTS
In addition to functions, scripts are also available for the configuration of a smart object template.
Information
You can find information on scripts in the Scripts chapter in the Functions
manual.
Referenced smart object templates provide maximum flexibility in the development of smart object
templates without thereby increasing the complexity for end users. In this way, smart object
templates can refer to each other on several hierarchy levels. A smart object template can thus be
part of another smart object template. Templates can be built in modules, divided into smaller
applications and be reused. The following applies here: The smart object template applies all the
parameterizations of the smart object template for which a reference has been configured.
Released properties of the linked smart object template must be released again for the current smart
object template.
27 | 61
Manage and parameterize smart object templates
A smart object template can contain several links to the same or several different smart object
templates.
Example
A smart object template represents a car. Another smart object template
represents a tire. A link to the tires smart object template is configured in the car
smart object template for each tire. If the configuration of the tires smart object
template is changed, these changes are applied automatically in the car smart
object template.
Advantages:
Simplified maintenance of a smart object template with large amounts of configuration
content.
Reduction of complexity by dividing the templates into smaller sub-areas
Better overview by dividing the templates into segments (e.g., pumps, tanks valves, or cars
and tires)
Division of work among several project engineers.
Reusability for different applications since the entire configuration content is not collected in
one object.
Information
You can find further information and step-by-step instructions in the Reference
smart object templates (on page 57) chapter in this manual.
Parameter Description
28 | 61
Manage and parameterize smart object templates
Parameter Description
references.
Copy selected elements to the clipboard Copies the selected entries to the clipboard.
Insert contents from clipboard Pastes the content from the clipboard. If an entry
with the same name already exists, the content is
pasted as "Copy of...".
CONTEXT MENU
The context menu provides the following options for configuring references:
Parameter Description
Information
You can find further information in the <CA_PRODUCTNAME >manual.
5.1.3.1.7 Interlockings
Smart object templates support the full scope of the Interlockings module as they are available for
configuration in the zenon project tree.
Information
You can find general information on this in the Interlockings manual.
29 | 61
Manage and parameterize smart object templates
Info
You can find general information on this in the Command processing manual.
5.1.3.1.9 Files
The following external files can be integrated into a smart object template via the Files node of the
tree view:
Graphics
Help
Multimedia
Drivers
Miscellaneous
The node and the supported subnodes only contain files in the smart object templates tree view.
There is no direct link to the files in the project tree.
Not supported:
Texts and Formats
Report Viewer
Information
You can find general information on this in the Editor manual and in the linked
themes of the Files chapter.
30 | 61
Manage and parameterize smart object templates
Releases can be created for properties of the configuration contents of a smart object template so the
user of the template has some limited configuration options. These released properties can then be
parameterized by the user of a smart object.
A smart object always contains parameterizations of released properties for one or several zenon
elements. Project properties are not parameterized by smart objects. These are configured in the
zenon project properties, independently of the Smart Objects module.
Information
You can find further information and step-by-step instructions in the Edit smart
object templates (on page 48) chapter in this manual.
Parameter Description
The context menu can be used to hide or display columns. You can access this context menu by
right clicking in a column header.
Status information about available and selected elements is shown as text in the footer of the list.
31 | 61
Manage and parameterize smart object templates
Parameter Description
32 | 61
Manage and parameterize smart object templates
5.1.4 Description
You can find a short overview of the configured smart object template in the Description tab.
When a smart object template is created for the first time, it does not have a description. This
description must be created outside of the zenon environment in .HTML format.
Information
You can find further information and step-by-step instructions in the Create a
description for a smart object template (on page 59) chapter in this manual.
FILE FORMAT
The start page for the description must be named index.htm. Internet-compatible files can be used
for the description. You can also use, for instance, .CSS files and a file structure with subfolders (in the
respective language folder).
33 | 61
Manage and parameterize smart object templates
SAVING LOCATION
All the configuration content of a smart object template is saved in the following saving location:
C:\ProgramData\COPA-DATA\SQL2016\[Project GUID]\FILES\zenon\system\SmartObjects\[Smart
Object Template GUID].
When a smart object template is created, a Description subfolder is automatically created. The
respective subfolders for the languages available in zenon are automatically created in this subfolder.
The description in the respective language is saved in this language folder.
If the zenon Editor is started in a language and the smart object template description is empty in the
respective language folder, the content of the ENGLISH folder is shown by default. If this folder is also
empty, then the description is displayed as empty.
Example
If the Editor is opened in Japanese, for example, and the respective language
folder of the smart object template (JAPANESE) does not contain any content, the
content of the ENGLISH folder will be displayed in the Editor.
Parameter Description
34 | 61
Engineering in the Editor
Parameter Description
Attention
The Smart Object module does not support distributed engineering. Smart
Object contents created locally are not transferred to the project server. If a
multi-user project is synchronized, the local smart object contents are deleted.
35 | 61
Engineering in the Editor
36 | 61
Engineering in the Editor
Note: The name of the smart object can be changed at anytime via the Name property.
d) Confirm your configuration by clicking on the Create button.
4. The Variable mapping: Project -> Smart object dialog is opened.
At the top of the dialog, all the configured variables of the current zenon project are
listed.
At the bottom of the dialog, all the variables are listed which are available via the smart
object.
5. Map the project variables to the configured variables of the smart object via drag & drop.
Note: If the smart object does not contain any variables, you can skip the mapping of
variables in the dialog by clicking the OK button.
The following applies for the mapping of variables:
A project variable can only ever be mapped to one smart object variable. Multiple
selection is not possible.
Previously existing configured mappings can be cleared by clicking the symbol or the
Clear mapping entry in the context menu.
A previously configured mapping is replaced by dragging & dropping another project
variable.
Variables can be remapped at anytime using the Variable mapping smart object
property.
Attention: Please note that only simple data types are available for mapping. While
structured data types are available for the configuration of smart objects, the address
information of the variables based on these cannot be replaced by the variable mapping
functionality. Configured structured data types are not displayed in the list of project
variables.
6. Confirm this mapping by clicking the OK button.
7. The smart object is displayed in the detail list of the Smart Object node.
8. Click to select the smart object and parameterize the Released properties.
9. Place the smart object in our current zenon configuration.
Information
Instead of mapping the variables using the dialog, you can also carry out an
individual addressing of the variables of a smart object by performing the following
engineering steps. The properties of the Addressing variable properties group
(for example, Net address, Offset, Symbolic address, ...) are configured as
released properties in the smart object template on which the smart object is
based.
37 | 61
Engineering in the Editor
38 | 61
Engineering in the Editor
(such as modifying the linking rules) are necessary because these have already been defined
automatically during the creation of the smart object.
The smart object symbol is saved and displayed in the symbol library of the current project.
This symbol can only be changed in the project via the released properties. The symbol is
configured exclusively in the smart object template.
It is possible to drag a smart object symbol from the symbol library and drop it onto a zenon
screen, but this is not recommended. The contents (such as variables, functions, etc.) of smart
object symbols that have been placed directly from the symbol library are not substituted!
Manual editing of the linking rule of the symbol is not recommended. When the smart object
is updated, such manual modifications are always overwritten!
Information
If a symbol is not visible in a smart object, this can be due to the following
reason:
The author of a smart object template can use the Wird in der Smart Object
Liste dargestellt property to configure whether the smart object symbol is
visible for the user. If this property has not been activated during
configuration, the symbol is not visible as an individual component of the smart
object and also cannot be used.
39 | 61
Engineering in the Editor
Only those properties can be parameterized which have been released for parameterization
by the creator of the smart object template.
After a smart object is created, the released properties are available in the properties
window.
Properties that have not been released are write-protected and apply the parameterization
of the smart object template.
The names of the released property groups and properties are defined by the creator of the
smart object template.
Properties of the smart object element, such as the name of the smart object, are
parameterized in the General smart object properties group,
The released properties can be linked or freely parameterized with objects of the current zenon
configuration. This always requires that the corresponding property has been released during the
configuration of the smart object template.
Examples:
Linking of the alarm/event class of the current zenon project with the alarm/event class
linked in the smart object template.
Input of a limit value text.
Activation of a required alarm acknowledgment.
Background color of a screen.
...
40 | 61
Engineering in the Editor
41 | 61
Engineering in the Editor
Note: If a smart object template is imported for the first time into the zenon project, the
Name and Version columns are empty. You can find the relevant information of the new
smart object template in the New name and New version columns.
5. Confirm your import by clicking the OK button.
6. The dialog is closed and the smart object template can be selected for the creation of a new
smart object.
These modification and enhancements can be applied to existing smart objects. To do this, the smart
object template is imported into zenon in a more recent version. All smart objects are enhanced by
the contents of the smart object template on which they are based. Smart objects that already exist in
the project are updated via the Manage smart object templates dialog. The version in use and the
current version are visualized during the import process.
42 | 61
Engineering in the Editor
43 | 61
Engineering in the Editor
object (such as variables, screens, functions, etc.) being removed from the project.
Example: If a smart object variable has been linked to an archive in the project, in this case,
the variable is deleted from the project, the linking to the archive is thus invalid and is labeled
accordingly.
Attention
When a smart object template is imported, any modified released properties of
the current zenon project are overwritten with the content of the template!
Follow the following steps to delete a smart object from the configuration:
1. Go to the Smart Objects node in the project tree.
2. In the detail view, click on the entry for the smart object you wish to delete.
3. In the toolbar, select the symbol or the Delete entry in the context menu.
The confirmation dialog for deleting a smart object is opened.
4. Confirm the prompt by clicking on the OK button.
The selected smart object is deleted.
Attention
When a smart object is deleted, all related zenon objects (such as screens, screen
elements, variables, functions, etc.) are removed from the project. If these objects
have been previously linked to other zenon modules, these links are no longer
valid due to deleting the smart object. The broken links are labeled accordingly.
44 | 61
Engineering in the Editor
In this section of the manual, you can find engineering instructions as well as tips for the creation,
management and parameterization of smart object templates.
45 | 61
Engineering in the Editor
An existing smart object template can be duplicated. The copy can act as the basis for a new
template. Follow the following steps to duplicate a smart object template:
1. Select the Smart Object templates tab in the project manager.
2. Select the desired smart object template in the tree view.
3. Click the Copy symbol or the corresponding entry in the context menu. The selected object is
copied to the clipboard.
4. Go to the node in the tree view which should contain the new smart object template.
5. Click the Paste symbol or the corresponding entry in the context menu. The newly created
smart object template is inserted at the selected position.
6. Give it a new name. To do this, parameterize the Name property in the properties window:
7. You can now edit the smart object template.
Follow the following steps to create a smart object template using the zenon equipment model:
46 | 61
Engineering in the Editor
A new smart object template is created for each execution of the command. It is not possible to
enhance an existing template by repeatedly executing the Create smart object command.
47 | 61
Engineering in the Editor
This opens the Manage smart object templates (on page 11) dialog.
c) Click the Import symbol.
This opens the file selection dialog.
d) From the file list, select the .SO storage file for the Smart object template to be
imported.
Note: Multiple selection is not possible.
e) Confirm your selection by clicking the Open button.
3. The smart object template is displayed in the list of smart object templates.
Note: If a smart object template is imported for the first time, the Name and Version
columns are empty. You can find the relevant information of the new smart object template
in the New name and New version columns.
4. Confirm your import by clicking the OK button.
5. The dialog is closed. The imported smart object template is displayed in the tree view of the
smart object templates.
The goal should be to keep the complexity and the configuration effort as low as possible for the user
of a smart object. This involves making only those properties available for parameterization that are
absolutely necessary for use in the smart object. The released properties depend upon the expertise
of the smart object user.
Therefore, the creator of a smart object template must carry out the following configuration steps:
Release properties (on page 49)
Configuration of the properties that are available to the user of a smart object.
Merge properties (on page 52)
Merging of several properties into one configurable property in the smart object.
Structure properties (on page 54)
Organization of properties in segments/groups.
48 | 61
Engineering in the Editor
Follow the following steps to release a property for parameterization in a smart object:
1. Switch to the engineering environment of the smart object templates.
To do this, click the Smart Object templates tab in the project manager.
2. Select a smart object template in the tree view.
This displays the engineering environment for the smart object template.
3. Select an entry such as Variables in the project tree of the selected smart object template.
4. Click in the detail view of a (previously created) variable of the smart object template.
The variable and all its properties are displayed in the zenon Editor.
5. Parameterize the variable properties.
49 | 61
Engineering in the Editor
6. Release those properties that should be parameterized by the user of the smart object.
a) To do this, click the desired property in the corresponding properties group in the
properties window.
b) Apply this property in the released properties area:
To do this, drag the property name of the property onto the list of released properties of
the smart object template.
Click the property name and click the Release property symbol in the toolbar of the
properties window.
Open the context menu of the property to be released and select the Release property
option.
The selected property is applied in the list of released properties. The current
parameterization is maintained. When it is used in the smart object, this applied
parameterization is regarded as the default value for the property in the smart object.
7. Optional: Name the released property.
a) To do so, click slowly on the entry in the Name column. The cell will be released for
editing.
b) Rename the released property.
This name is displayed in the properties window of the smart object during
parameterization.
50 | 61
Engineering in the Editor
Hint
Thanks to the multiple selection feature in the detail list of the project tree of the
smart object templates, you can apply the same property for all the highlighted
elements with just one click.
The property is included separately in the list of released properties for each
variable. This means that five entries for the released property are listed in the list
of released properties: for each variable, the respective property.
Properties of symbol elements (such as width and height of screen elements) cannot be released
directly in the smart object template. These properties must first be applied in the released
properties of the symbol. Afterwards, these released symbol properties can be dragged and dropped
onto the released properties of the smart object template.
When parameterizing a symbol in a smart object template, you can define whether the symbol is
visible to the user when it is used in a smart object. To do this, parameterize the corresponding
Wird in der Smart Object Liste dargestellt property.
51 | 61
Engineering in the Editor
Released properties of a symbol are always visible and configurable for the user.
When parameterizing a smart object template, this is done by creating a group. The created group
can only contain properties with the same configuration content.
Example:
Properties for the graphic display
52 | 61
Engineering in the Editor
Follow the following steps to merge several properties for the parameterization in a smart object into
one group:
1. Switch to the engineering environment of the smart object templates.
a) To do this, click the Smart Object templates tab in the project manager.
1. Select a smart object template in the tree view.
This displays the engineering environment for the smart object template.
2. Select an entry such as Variables in the project tree of the selected smart object template.
3. Create a new group.
a) To do this, select from the list of released properties the entry of a property you wish to
merge with other properties in a group.
b) In the toolbar, select the symbol or the New group entry in the context menu.
A new entry is created in the list. This entry is named Group by default. The new entry is
displayed as a node in the list and, as a sub-entry, contains the previously selected
property.
4. You can drag and drop further properties to add them to the structure of the group. To do
this, drag the selected entry onto the row of the group.
Note: This means you can select several properties in the List of released properties and
drag & drop them onto the group in one move.
5. Optional: Give the newly created group a name.
a) To do so, click slowly the entry in the Name column. The cell will be released for editing.
b) Rename the group.
This name is displayed in the properties window of the smart object during
parameterization.
53 | 61
Engineering in the Editor
Information
Released, merged properties groups (Group type) and individual properties can
be organized in group boxes (Node type). In this way, a group can be a
component of a node. However, a node can never be part of another node.
54 | 61
Engineering in the Editor
All the properties that should be parameterized by the user in the smart object for setting a
limit value.
Follow the following steps to display several properties for the parameterization in a smart object as a
group box:
1. Switch to the engineering environment of the smart object templates.
a) To do this, click the Smart Object templates tab in the project manager.
1. Select a smart object template in the tree view.
This displays the engineering environment for the smart object template.
2. Select an entry such as Variables in the project tree of the selected smart object template.
3. Create a new node.
a) In the toolbar, select the symbol or the New node entry in the context menu.
A new entry is created in the list. This entry is named Group box by default.
4. You can drag and drop further properties to add them to the structure of the node. To do
this, drag the selected entry onto the row of the node.
Note: This means you can select several properties in the List of released properties and
drag & drop them onto the node in one move.
5. Optional: Give the node a name.
a) To do so, click slowly the entry in the Name column. The cell will be released for editing.
b) Rename the node.
This name is displayed as a header in the properties window of the smart object during
parameterization.
55 | 61
Engineering in the Editor
Information
Released, merged properties groups (Group type) and individual properties can
be organized in group boxes (Node type). In this way, a group can be a
component of a node. However, a node can never be part of another node.
UNDO STRUCTURING
Follow the following steps to cancel the structuring for one or several properties:
1. In the List of released properties, select the entry for an existing node.
2. Click on the [+] next to the entry. The entry is expanded. All the entries contained within are
listed as subentries.
3. Drag and drop the entry onto the end of the list. The selected entry is removed from the
node. Please pay attention to the mouse cursor during this step.
Note: This means you can select several properties and use drag & drop to remove them
from the node in one move.
4. If a configured node no longer contains any entries, the entry is retained in the List of
released properties.
56 | 61
Engineering in the Editor
Follow the following steps to create a reference to an existing smart object template:
1. Switch to the engineering environment of the smart object templates.
a) To do this, click the Smart Object templates tab in the project manager.
1. Select a smart object template in the tree view.
This displays the engineering environment for the smart object template.
2. Select the Smart Object references entry in the tree view of the selected smart object
template.
3. Create a new reference.
a) In the toolbar, select the Reference smart object symbol or the New reference entry in
the context menu.
This opens the Instantiate smart object (on page 9) dialog.
57 | 61
Engineering in the Editor
b) Select an existing smart object template from the Smart object templates list as the
basis for the reference.
c) Give the new reference to be created a name by entering a name in the Name for new
smart object input field.
d) Confirm your configuration by clicking on the Create button.
4. The reference is displayed in the Smart Object references node in the detail view of the smart
object template.
Clicking on the reference displays the released properties in the properties window. This
information is applied by the configuration of the linked smart object template.
Attention
The released properties of the referenced smart object template must be released
again before they can be parameterized in the smart object. Released properties
of referenced smart object templates are not automatically available for
parametrization in the current smart object.
58 | 61
Engineering in the Editor
In the case of a smart object template, a specific description can be saved in .HTML file format for the
user. This information is displayed in the Description tab. The user will see this description when
creating a smart object and in the management dialog. When a smart object template is created for
the first time, it does not have a description.
When a smart object template is exported, an already existing description is included in the .so file.
Thus, it is available automatically to the user when importing the template.
Follow the following steps to create a description for a smart object template:
1. Create a description for the smart object template in a .HTML file format.
Attention: The (first) page must be named index.htm.
For this, you can use any HTML editor, create simple HTML files from Word or create the
HTML file in a text editor. Save your files.
2. Identify the GUID of the smart object template:
59 | 61
Engineering in the Editor
a) Switch to the Smart Object templates tab in the zenon project manager.
b) Select the smart object template in the project manager for which you want to add the
description. In the properties, see the GUID.
Make a note of this GUID, for example, by taking a screenshot.
3. Open the storage location of the smart object template:
a) In the file directory, open the C:\ProgramData\COPA-DATA\SQL2016\[Project
GUID]\FILES\zenon\system\SmartObjects\[Smart Object Template GUID]\Description
folder.
Optional:
b) Select the active <CD_PROJECTNAME> project in the project tree. To do this, click the
Project tree tab in the project manager and highlight the main node of the project.
c) Press the Ctrl+Alt+E keyboard shortcut. This opens the storage directory of the project.
d) Go to the system and SmartObjects subfolders. All the configured smart object templates
are displayed in the file list. Each folder has the name of the GUID of the smart object
template.
e) Open the Description folder within the smart object template folder.
4. Copy the previously created files for the information of the smart object templates in the
corresponding language folder.
Each language folder represents the display language of the zenon Editor. This allows you to
provide the user with information in the language in which the user is performing the
configuration.
Tip: If the Editor is opened in Japanese, for example, and the respective language folder of
the smart object template (JAPANESE) does not contain any content, the content of the
ENGLISH folder will be displayed automatically in the Editor.
Hint
If you create a new version of an existing smart object template, a change history
will be added to your description. This makes it easier to distinguish between
different versions of a smart object template.
60 | 61
Engineering in the Editor
Information
If changes have been made in the smart object template, this changes the display
of the smart object template icon in the project manager. Therefore, it is
immediately obvious in which smart object template changes have been made.
61 | 61