Screens
Screens
Screens
v.8.00
©2018 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 qualities in the legal sense. Subject to change, technical or
otherwise.
Contents
2. Screens........................................................................................................................................ 9
3. Graphics quality......................................................................................................................... 11
3.1 DirectX: Improve graphics performance ................................................................................................... 13
3.2 DirectX: Comparison between DirectX hardware and DirectX software .................................................. 17
3.3 DirectX: Error Handling ............................................................................................................................. 18
8. Toolbar Elements....................................................................................................................... 26
ZENON VIDEO-TUTORIALS
You can find practical examples for project configuration with zenon in our YouTube channel
(https://www.copadata.com/tutorial_menu). The tutorials are grouped according to topics and give an
initial insight into working with different zenon modules. All tutorials are available in English.
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 Support Team, who you can contact
via email at support@copadata.com.
If you find that you need other modules or licenses, our staff will be happy to help you. Email
sales@copadata.com.
2. Screens
Screens are central elements of a project. They display the configured equipment, inform, and provide
user elements.
Screens consist of vector elements or dynamic elements. These are linked with variables or functions.
Screens are configured in the main window of the Editor.
zenon offers a large number of pre-defined screen types, such as alarm message lists, Extended Trend
and many others. The advantage of these screen types is that the desired functionality is connected to
9
Screens
the screen type. You only need to create the screen type and you immediately have a variety of
pre-defined functions available.
You can find an overview of screen types in the Types of screen (on page 265) section.
MAIN WINDOW
In the main window documents such as screens, reports, etc. are displayed and edited. The main
window is the only window that cannot be hidden.
You can display multiple screens in the main window at the same time. The screens can be selected with
tabs at the top of the main window and can be positioned via options in menu item Windows. When
switching the tabs, the elements in the properties window are amended to the selected tab.
To close open screens, use the keyboard shortcut Ctrl+F4, the context menu or the command
Screen-> Close.
Activate elements by clicking on the symbol in the Toolbar elements and open them with the mouse in
the main window.
Elements can be assigned visibility levels in the Editor and also be hidden (on page 264) individually.
10
Graphics quality
Attention: Control elements are always displayed at the uppermost position. That also applies if they
are covered by other elements in the Editor. This ensures that they can always be reached.
ADJUSTMENT TO RESOLUTION
Screens and their elements are automatically adjusted to the screen resolution in Runtime. This can be
prevented. To display screen elements in the size and position configured in the Editor, activate the Do
not adapt element to screen resolution property for the corresponding screen in the Display group.
3. Graphics quality
In zenon the quality of the displayed graphics can be tuned to the resources for the system. This setting
is made using the project setting Graphics quality in group Graphical design. These settings only have an
effect on Runtime. DirectX is always used in the Editor.
Attention
DirectX is not available under Windows CE.
DirectX cannot be used for OCX.
DIRECTX
11
Graphics quality
Requirement Description
DirectX Hardware or In the project settings you must select DirectX Hardware or DirectX
DirectX Software must be Software for property Graphical design.
activated.
The operating system must DirectX hardware and DirectX software only works on operating
support DirectX 11.1. systems that support DirectX11.1.
If the system does not support DirectX 11.1, it automatically switches
to Windows Enhanced.
The current DirectX- Runtime must be installed. For zenon it is installed
together with the setup. For the zenon Web Client it must be installed
manually.
The screen or element must Only supported elements or screens can be displayed with DirectX.
support DirectX.
For DirectX Hardware the You can find details on the minimum requirements in the System
minimum requirements must be requirements when using DirectX chapter. If they are not
fulfilled.
met, it automatically switches to DirectX Software.
If the operating system does not provide any hardware acceleration (e.g.
Remote Desktop), it may not be possible to use DirectX Hardware.
DIRECTX 11.1
The following is applicable with regard to the operating system when using DirectX 11.1:
Windows 8 or higher:
DirectX 11.1 is available natively.
Windows 7 SP1 and Server 2008 R2 SP1:
A Windows service pack must be installed.
Windows 7 and Server 2008 R2 without service pack and lower:
DirectX 11.1 cannot be used.
12
Graphics quality
There is a graphics card in each computer. This is important for bringing the graphics to the screen.
If the graphics card has dedicated graphics memory, the graphics card has its own working memory and
it is thus a separate graphics card and not an integrated graphics processor. Graphics cards with
dedicated graphics memory and a graphics processor are normally used in the form of plug-in cards in
the computer. These generally offer high performance.
An integrated graphics processor is located in the main processor directly and cannot be removed. This
generally does not have its own graphics memory and thus needs part of the working memory. Such
graphics cards generally offer low graphics performance.
High graphics performance is necessary for good and quick visualization of screens. The graphics
performance is improved by DirectX, however it can be the case that high-resolution screens with
many elements and effects lead to longer waiting times.
In this case, the graphics performance can be additionally improved in that you are aware of the
following things.
EFFECTS
The application of effects for elements can have an effect on the graphics performance when the
following properties are used:
Shadow size for values not equal to 100%
Blur for values greater than 0
Spread for values greater than 0
NUMBER OF ELEMENTS
13
Graphics quality
Attention
Note the following information when adding elements into symbols:
Symbols are mostly used more than once; as a result of this, each element
added has a corresponding effect on performance.
For a better overview and increased graphics performance, the following is recommended in this case:
An element that is in a screen directly offers higher performance than an element that is in a nested
element, for example in a symbol.
COLOR GRADIENTS
14
Graphics quality
DYNAMICS
The use of dynamics for elements can, without a visible effect, lead to an increased requirement for
performance.
Examples of dynamics:
Panning,
Scaling,
Rotation.
The number of screen points for the display can have a direct effect on the graphics performance.
If an element has to be redrawn due to a change, this can lead to elements underneath and above this
also having to be redrawn.
15
Graphics quality
Large graphics files need, due to the large number of pixels, corresponding power.
Several screens open at the same time can require more graphics performance.
TRUNCATIONS
The use of rounded corners for elements can require more graphics performance.
Note: It is recommended that test of graphics performance and ergonomics are carried out on the
respective target platform even in early phases.
16
Graphics quality
In principle the graphic output between DirectX hardware and DirectX software is identical. The
same graphic properties are supported for screens and screen elements with both graphics options.
When selecting the graphics options DirectX hardware or DirectX software, the following is to be
noted:
DIRECTX HARDWARE
Allows additional hardware acceleration due to a DirectX-compatible graphics processor (GPU). This can
be in the form of an integrated graphics processor or ideally a dedicated graphics card integrated into
the computer system. A DirectX-compatible graphics card ensures that certain graphics operations are
sped up. This subsequently leads to the computer system being under less load and a potential
performance improvement.
Hint
For extensive visualization, it is recommended that corresponding graphics support in the
form of a powerful graphics card is used, in order to create suitable requirements for
ergonomic functionality. You can find out more details on the minimum requirements for
the use of DirectX in the System requirements for the use of DirectX chapter.
DIRECTX SOFTWARE
If DirectX hardware is not available as an option, the DirectX software graphics option can be
used. After selecting this option , DirectX uses emulation to execute the graphics operations on the
CPU of the computer. As a result of this, it is possible that there is an increased load on the system,
particularly the CPU and the memory.
Note: The freely-available computer performance of a single-core or multi-core CPU is used to the full
with this graphics option.
Hint
For extensive visualizations, it is recommended that graphics support in the form of a
powerful multi-core CPU is used, in order to create suitable requirements for ergonomic
functionality. You can find out more details on the minimum requirements for the use of
DirectX in the System requirements for the use of DirectX chapter.
17
Graphics quality
If DirectX cannot be initialized during the call up of a screen or in continuous operation, an attempt is
made to initialize DirectX again. During this process, zenon Editor and Runtime continue to run normally.
You can attempt to rectify the problem in this time. Possible causes and solutions can be found out with
the Diagnosis Viewer.
Note: Errors that make reinitialization of DirectX impossible are announced by means of an error
message.
DIAGNOSIS VIEWER
The display take place in an own module DirectX. For errors, the error text is displayed in the Error text
field; for warnings and debug information, the corresponding messages are displayed in the General
text field:
For the successful call up of a screen at least one DEBUG success message is displayed.
Warning point out events which can influence the operation.
If an error occurs which cannot be fixed, an error message is displayed.
Information
If a message is not completely displayed in the table in the Diagnosis Viewer, open the
entry via double click to display the whole message.
18
Project manager context menu
A check to see whether DirectX is working can be carried out by activating the debug messages in the
Diagnosis Viewer. A corresponding message is shown if the check is successful.
Are DirectX-specific warnings or error messages displayed in the Diagnosis Viewer?
Is DirectX Hardware or DirectX Software set in the Graphics quality project property?
Are the minimum requirements for DirectX met? You can find details on the minimum
requirements in the System requirements when using DirectX.
Is DirectX supported by the screen or the element?
Does the display with Windows Basic work properly?
Does the display work with another driver?
Does the display work with a graphics card of another manufacturer?
19
Detail view of toolbar and context menu
CONTEXT MENU
Paste Pastes the content from the clipboard. If an entry with the same
name already exists, the content is pasted as "Copy of...".
20
Creating a screen
Edit selected cell Opens the selected cell for editing. The binocular symbol in the
header shows which cell has been selected in a highlighted line. Only
cells that can be edited can be selected.
Replace text in selected Opens the dialog for searching and replacing texts.
column
6. Creating a screen
There are two procedures for the creation of a screen from zenon version 8.00:
using the screen creation dialog (activated per default)
The creation of a screen using the properties
Note: Screens take the size of the frame on which they are based. Sizes smaller than the frame are
ignored. If screens are defined as larger than the frame, they become a Worldview. For navigation and
scrolling in Worldviews, a Worldview overview screen, the Touch control and the mouse can be used.
21
Creating a screen
GENERAL
Parameter Description
Name Naming the screen
Frame Selection possibilities for the applied frame. Each screen
is assigned to a frame and displayed in the screen area
defined by the frame (on page 203).
CONTENTS
Select the desired screen type with a mouse click under screen type. The screen types are arranged
according to the respective topic in dialog New screen. For more information about screen type
Standard and about other screen types refer to chapter Screen types (on page 265). You can find an
alphabetic arrangement and a short description about the available screen types in chapter Special
screen types (on page 266).
22
Creating a screen
TEMPLATE
DIALOG HELP
The dialog help informs you about the configurable properties in dialog New screen and the individual
screen types.
OPTIONS
In this area you can link the equipment groups to the screen.
Enable checkbox "Screen active"- create and link variable in order to automatically create a variable
and link the screen to the variable.
As of zenon version 8.00 the screen creation dialog is available and activated per default.
23
Toolbar screens
7. Toolbar screens
A toolbar is available for editing screens. Per default, it is displayed below the menu bar.
24
Toolbar screens
Symbol Description
Save screen Save the current screen.
Save all Saves all changed screens.
Cut Cuts the selected element and stores it in the clipboard; works across
projects, too. Only available if an element has been selected.
Copy Saves a copy of the current screen to the clipboard. Only available if an
element has been selected.
Paste Inserts (i.e. pastes) a screen from the clipboard. Only available if the clipboard
contains data.
Transfer format Transfers the formatting of the element that has just been selected to the
next element that is selected.
Redraw screen Refreshes the display.
Undo Allows undoing up to 100 actions. By default, 10 actions can be undone.
Define the number of actions: Options -> Settings ->Settings -> number of
undoable actions. Enter a number between 1 and 100.
Edit mode Switches from Zoom to Edit mode .
Zoom Provides three zoom modes:
Variable zoom:
A predefined value can be selected from the combobox, or you can
directly enter any value between 15% and 1600%.
Zoom tool:
It is possible to zoom directly in the screen at the click of a mouse with
the two magnifier symbols (+ and -). Click on the magnifier symbol to
switch to zoom mode. Now click in the screen to change the size. The
Ctrl key switches between the reduce/enlarge. The defined zoom is
saved for each single screen. To end the zoom mode, click on the
Editing Mode symbol in the Elements tool bar.
Amend:
Automatically selects a zoom factor between 15 - 1600%, so that the
complete screen is shown in full and in proportion in the Editor. The
current zoom factor is shown in the combobox.
Keyboard combinations:
Reduce view: Keys: Ctrl + Shift + -
Enlarge view: Keys: Ctrl + Shift + +
Set view to 100%: Keys: Ctrl + Alt + 0
Amend the view to the space available in the Editor and display it
proportionally: Keys: Ctrl + 0
25
Toolbar Elements
Note: For free placed toolbar (undocked from the Editor) options are
not displayed. The toolbar can be closed by clicking on button X.
8. Toolbar Elements
26
Toolbar Elements
Symbol Function
Edit mode Switches from Zoom to Edit mode .
Ellipse/Circle With frame and fill color, type of frame and fill pattern (circle).
Arc of a circle With definable line thickness, line color and line type.
Segment of a circle Draws circle segment with an opening angle of 180º (changeable),
definable line thickness, color and line type.
Line With definable line thickness, line color and line type.
Polygon With frame and fill color, type of frame and fill pattern.
Polyline With line type and line color.
Rectangle With frame and fill color, type of frame and fill pattern.
Pipe With frame and fill color, type of frame and fill pattern
Static text With font color and selection of the type of font.
Button Operating field in button display.
Combined element Display of one or more variables on a screen point in color or symbol
(chained characters).
Universal slider Slider control or rotating control.
Switch Simple command initiation or set value input element
Combo-/Listbox Link values of variables with text messages.
Command Processing Only available with a license for SICAM 230
element
Button for screen Only available with a license for SICAM 230
alarming
27
Elements context menu
Note: For free placed toolbar (undocked from the Editor) options are not
displayed. The toolbar can be closed by clicking on button X.
The scaled-down display decreases the length of the context menu to the executable options.
The order of the entries displayed in the context menu complies with the available options and does not
have to match the tabular listing of the individual commands.
You can also get to these commands using menus and toolbars.
28
Elements context menu
Command Description
Symbol Opens drop-down list Symbols (on page 31). The following
commands are available depending on the symbol state:
Create element group
Resolve
Changing to individual editing mode/leaving individual editing mode
Insert in existing element group
Convert symbol into element group
Edit in symbol editor
Inserting in the symbol library
Select element Displays all elements located under the mouse pointer which are
positioned on top of each other in this area. Thus makes it possible
to quickly select a single element. Select the desired element by
clicking on it.
Element Position Opens the drop-down list for changing the position of the element:
Foreground: Moves selected elements into foreground
Background: Moves selected elements into background
Forward: Moves selected elements one layer up
Backward: Moves selected elements one layer down.
Alignment Opens the drop-down list for aligning elements.
Create style group from Makes it possible to create an own style group from the styles used in the
element element.
Linked elements Opens the drop-down list with dynamically linked elements, such as:
Variables, functions, fonts, symbols etc.
Replace links... Opens the dialog to replace links.
Example: tank 1 temperature is replaced by tank 2 temperature
Cut Cuts the selected objects and stores them in the clipboard.
Duplicate Duplicates the selected object including the recently made changes.
Example: If you duplicate a button and then move it, the next
duplication will be automatically inserted by an offset corresponding the
same direction and the same distance.
29
Elements context menu
Paste in same position Pastes copied or cut objects form the clipboard.
30
Elements context menu
Zoom Allows changes to the resolution size in fixed steps between 15%
and 1600%.
Amend: automatically selects a zoom factor between 15 - 1600%, so that
the complete screen is shown in full and in proportion in the Editor.
Export screen/symbol as a Exports the screen/symbol as a graphics file. The file selection
graphic file...
dialog offers the corresponding graphics formats supported on the
system. In principle, all Windows Imaging Component (WIC) codecs
that support saving are provided for selection. The size of the
graphics results from the screen or symbol to be exported.
Insert vector graphics Opens the dialog for inserting an external vector graphic.
Supports some versions of the file types DXF and PLT.
Note: Import of vector graphics is not available for the 64-bit Editor.
Properties Opens the property window for the selected element.
Edit text Makes it possible to edit text if a button was selected when the context
menu was opend.
Help Opens online help.
9.1 Symbols
Commands adapted to the situation are available to you in the context menu. The commands displayed
in the context menu comply with the state of the selected symbol or symbols.
The scaled-down display decreases the length of the context menu to the executable options. The order
of the entries displayed in the context menu complies with the available options and does not have to
match the tabular listing of the individual commands.
31
XML export and XML import
Command Description
Create element group Creates an element group. The keyboard shortcut Ctrl
+ G can also be used for this.
Resolve Resolves an element group into its screen elements. The
keyboard shortcut Ctrl + Shift key + G can also be
used for this.
Changing to individual editing Switches to the individual editing mode or back to the
mode/leaving individual editing mode symbol editing mode. The individual editing mode
enables you to edit individual elements of a symbol.
Insert in existing element group... Inserts symbol into an existing element group.
Insert into symbol library... Opens the dialog (on page 254) to add an element group
from a screen of a symbol library. In doing so, the
element group is converted into a symbol and inserted as
a symbol. The element group in the screen is retained as
an element group.
Convert symbol into element group Converts a symbol into an element group.
Edit in symbol editor Opens a symbol in the symbol editor in order to edit it
there.
EXPORTING SCREENS
The included variables and functions are exported with the screens. The export file for the screens (on
page 9) has the following sections:
Screens
Frames
Symbols
Variables
Functions
To export screens:
1. highlight the desired screens
2. In the context menu of the detail view, select the Export selected as XML... command
Alternatively: in the context menu of the Screens node, select the Export all as XML command
32
XML export and XML import
The selected screens are exported to an XML file and can be imported in this or in other projects at any
time.
IMPORTING SCREENS
To import screens:
1. in the context menu of node Screens or in the detail view Screens select the Import XML
command
2. the selection dialog for the saving location is opened
3. navigate to the saving location of the desired XML file
4. Select the desired file
5. confirm the import by clicking on the Open button
At the import of a screen the name (attribute ShortName) which is stored in the XML file is used for the
name of the screen which is created. If a screen with the same name already exist, the import is halted
and an error message is displayed:
33
Screen elements
Parameter Description
Yes The screen described in the error message is replaced by the screen from the XML file at
the import. If a new conflict occurs, the error message is displayed again.
No The screen described in the error message is not imported. The existing screen is
maintained. If a new conflict occurs, the error message is displayed again.
Yes, all The screen described in the error message is replaced by the screen from the XML file at
the import. This setting is used automatically when errors due to using the same name
occur. All affected screen are replaced.
No, all The screen described in the error message is not imported. The existing screen is
maintained. This setting is used automatically when errors due to using the same name
occur. All affected screen are maintained.
Note: Only the ShortName is used. The file name does not matter for the name of the screens which
should be imported. Thus it cannot be used to solve the conflict.
Dynamic elements (on page 34) and Frames (on page 203) are automatically imported together with the
screens. Variables and functions have to be imported manually before from the same file.
Only variables and functions of the first level are treated, i.e. variables and functions that are directly
linked to the screen. As on the one hand variables can be linked to functions (e.g. setting values) but on
the other hand functions can be linked to variables (e.g. limit value functions), it can be necessary to first
import the variables, then the functions, and then the variables again. Then all links should work
correctly.
Example: A screen contains a button with a function Send value to hardware to a variable. The
function is imported with the screen but not the variable.
Information
Here we recommend using the XML Import Wizards.
34
Screen elements
Element Properties
Ellipse (on page 105) With frame and fill color, type of frame and fill pattern
Circle Select the ellipse symbol and hold down the Shift key when drawing;
with frame and fill color; type of frame and fill pattern
Arc of a circle (on page With definable line thickness, color and type
105)
Segment of a circle (on With definable line thickness, color and type
page 106)
Line (on page 108) With definable line thickness, color and type
Polygon (on page 108) With frame and fill color, type of frame and fill pattern
Polyline (on page 110) With line type and color (also filling pattern and color for an area
description)
Square select Rectangle symbol, hold down the Shift key when drawing;
frame and fill color; type of frame and fill pattern
Rectangle (on page 111) with frame and fill color, type of frame and fill pattern
Rounded rectangle (on with frame and fill color, type of frame and fill pattern
page 111)
Pipe (on page 112) With frame and fill color, type of frame and fill pattern
Static text (on page 114) With font color and selection of the type of font
Hint
Hold down Shift when drawing one dimensional elements (lines, pipes) in order to
draw the elements horizontal or vertical.
Hold down Shift when drawing two dimensional elements in order to draw the
elements square or circular.
35
Screen elements
Element Function
ActiveX (on page 50) Inserts any desired ActiveX controls. These must already be
installed on the computer.
Bar display (on page 53) Displays the size of a signal in bar form. In doing so, the length of
the bar changes with the signal size.
Command Processing element (on Makes it possible to send commands for the Command Processing
page 54) module. Requires license forSICAM 230.
Button Screen Alarm (on page 54) Enables alarming with color and flashing via the screen. Requires
license forSICAM 230.
Bitmap button Links a graphics file (pixel graphics: *.bmp, *.jpg, *.gif, and *.png or
vector graphics: *.wmf) with a button.
Warning! This element is only available if the project property
Create Runtime files for has been set to lower than 6.50. This
function has been integrated into the button element from version
6.50.
Button (on page 54) Enables actions such as "execute function" or "write set value" to
be instigated. It can display text and graphics and be created as a
transparent object via other elements.
Warning! If the project property Create Runtime files for is set to
less than 6.50, only texts are displayed in the Runtime. The
engineering for the graphical design of the button for display in the
Runtime is not supported.
Graphics and the invisible function must then be configured with
the bitmap button and the invisible button elements. You then
find these two elements at the bottom of the elements drop-down
list.
Combined element (on page 57) Displays conditions of variables via symbols, screens and texts in
graphic form also be used as a switch or as a button.
36
Screen elements
Combo-/Listbox (on page 95) Displays a text in a combo box or a list box regardless of variable
value. When an entry is selected, the attendant value is sent or the
attendant function is executed.
Dynamic text (on page 102) Displays the value of a string variable in alphanumeric form or the
current limit value text of numeric variables.
Message element Reads text from a text file, depending on two variables, and displays
this.
Warning! This element is only available if the project property
Create Runtime files for has been set to lower than 7.50. This
property is no longer supported from version 7.50.
Multibin Enables, independently of variable values, a graphic to be displayed
or symbols to be colored and a status text to be provided.
Warning! This element is only available if the project property
Create Runtime files for has been set to lower than 7.50. This
property is no longer supported from version 7.50.
Switch (on page 113) Displays values of a binary variable and modifies these.
Move symbol (on page 137) Enables a symbol to be moved, rotated and changed in size
regardless of variable values.
Is required for project configurations under Windows CE.
Trend element (on page 115) Displays values in the form of trend curves.
Clock (on page 117) Displays the current time and date.
Universal slider (on page 118) Provides sliders in different graphical forms.
Notes on the moving scale style: Values can only be amended in
Runtime by means of a dialog. Changing a value using the slider
directly is not possible.
Invisible button Transparent object, with which actions such as "execute function"
or "write set value" can be triggered.
Warning! This element is only available if the project property
Create Runtime files for has been set to lower than 6.50. This
function has been integrated into the button element from version
6.50.
WPF element Displays WPF-XAML files in zenon.
Numeric value (on page 122) Displays the value of a variable in numerical form.
Pointer instrument (on page 123) Displays the value of a variable in the form of an analog measuring
tool with a indicator as display element.
Status element Transfers properties from linked variables to a symbol and displays
statistical limit value texts.
Warning! This element is only available if the project property
Create Runtime files for has been set to lower than 7.50. This
property is no longer supported from version 7.50.
37
Screen elements
Hint
Hold down Shift when drawing elements in order to draw the elements in square form.
11.1 Engineering
Hint
You have many key combinations available when editing screen elements. You can find
details in the help, in the graphics key combinations (on page 172) section.
You create vector elements in zenon with the character editor. Select the desired element in the
Elements toolbar (on page 26) and place it in the main window using the mouse. Configure the
properties with the Properties window. The element must be selected in the main window to do this.
Vector elements that have been created in external programs can be imported as a screen and included.
To do this, go to Files-> Graphics -> Add file in the project manager.
Note: Import of vector graphics is not available for the 64-bit Editor.
38
Screen elements
You create dynamic screen elements in zenon with the character editor. Select the desired element in
the Elements toolbar (on page 26) and place it in the main window using the mouse. Configure the
properties with the Properties window. The element must be activated in the main window to do this.
Graphic elements can be activated directly here through variables. For many elements, a configuration
dialog is shown when they are being created.
DEFINE PROPERTIES
For many dynamic elements, a configuration dialog opens to select variables or functions that define the
elements in runtime. The properties can also be set independently of the configuration dialog in the
properties window. They can be changed at any time here. The corresponding element must be
activated in the main window to do this.
You can also select several elements at the same time and assign these common properties. For this, the
following applies:
Different values for different properties are marked in red.
Properties which cannot be changed jointly are deactivated.
You also receive help instructions for the properties when the elements are created. To do this, activate
the properties list in zenon.
You can obtain information on a dynamic element in the main window by:
Tool tip when the mouse is moved over it:
Element type
Element name
Function name/function type
Linked variables
In the status bar on activation:
Mouse pointer position
Element type
Element name
Start point
Width/height
39
Screen elements
For elements in the main window, the properties are set in the Property window. The corresponding
element must be activated in the main window to do this.
You can also select several elements at the same time and assign these common properties. For this, the
following applies:
Different values for different properties are marked in red.
Properties which cannot be changed jointly are deactivated.
You also receive help instructions for the properties when the elements are created. To do this, activate
the help window in zenon.
The selected element can be selected several time in the main window and arranged there. Which
element is selected and therefore active is shown by a symbol under the peak of the mouse pointer.
To add an element:
1. Select the desired element by clicking on it.
2. Drag the mouse to the desired location in the main window.
3. Click the left mouse button and drag the element up.
4. Release the mouse button as soon as you have reached the desired size for the element.
Attention
Each element must have a unique ID. If several elements with the same ID are used in a
screen, all duplicates are removed during compilation. If, for example, a button is copied
and inserted into the same screen, it has the same ID. The copy is removed during
compilation.
Exception: Several containers can be created in a Faceplate screen.
40
Screen elements
In order to change the size of an element, you can use the mouse, keyboard, properties or a dialog:
With the mouse:
a) Click on one of the handles of the element frame.
b) Drag the element to the desired size.
With the keyboard:
Activate the desired sizing handle (mouse pointer must be over the sizing handle).
Drag with the help of the arrow keys:
By pressing an arrow key you change the position by 1 pixel.
With the Shift key: + arrow key: By pressing an arrow key you change the position by 10
pixel.
With the property window: In the property group Position you can enter the position and the size
of the element accurate to the last pixel.
With a dialog: Double clicking a handle opens a dialog in which you can enter the position
accurate to the last pixel.
Note: If, for the Graphic size property, original size has been selected for the value with the
element multibin, combined element, button or switch, then the width and height of the respective
graphics file can no longer be changed.
41
Screen elements
Elements can be rotated freely. The pivot point is set with the properties in the group Reference point.
Information
Window-based screen elements such as ActiveX, lists or combobox/listbox cannot be
rotated in Runtime. Configuration in the Editor is possible for ActiveX, but this has no
effect on the display in Runtime.
11.1.5 Visibility
Visibility determines whether an element or status is shown in Runtime. The visibility of an element in
Runtime is defined by the properties on the Visibility/flashing group. The settings of the Visibility
property are used to define whether the visibility of a variable or an interlocking is determined.
Variable: The visibility is controlled by a variable.
The element is always visible if no variable is defined. If a variable has been defined, the visibility
is either taken from the limit value properties of these variables or defined by the value range
that is defined in the from and to properties.
Interlocking: The visibility is controlled by an interlocking.
The element is always visible if no interlocking is defined. The Visible if interlocked property is
used to define whether the element is visible, if it is interlocked or if it is not interlocked.
Visibility with interlocking:
X X X Visible
X X - Invisible
42
Screen elements
X - X Invisible
X X - Visible
- - - Visible
The row height can be defined for certain elements, regardless of the font size, using the
Representation/Line height [pixel] property. The default value is 0 pixels. For the default setting the
line height is fitted to the font size. Each value above 0 defines a fixed value in pixels for the row height.
If a line height is defined in this way, graphical illustrations are not scaled according to the line height
but adapted to the font size.
If the graphical display for the interlocking is on the one hand configured at project property User
Administration or Graphical design and on the other hand at property Visible if interlocked at the screen
element, an ambiguity occurs. In this case, the local setting has a higher priority than the setting in the
project properties.
COVERED ELEMENTS
43
Screen elements
Hint
Elements that remain hidden or out of the visibility range of a screen in Runtime can be
actuated in the Editor with the keyboard. For details on configuration, see the Runtime
manual, Defining sequences in frames chapter.
IN THE RUNTIME
Behavior in Runtime:
Transformation
Graphic display
Sequence in Runtime
Visibility
You can find detailed information on this in the Engineering (on page 38) chapter.
Hidden elements
You can find detailed information on this in the Engineering (on page 38) chapter.
Information
Screen elements (on page 34) that are linked to a variable that have neither a value nor a
status are switched to invisible in Runtime.
TRANSFORMATION
You can find more information in the transformation sequence of the screen elements (on page 45).
GRAPHIC DISPLAY
Elements with graphics only show the graphics if the attendant value is present.
44
Screen elements
If the variable does not have a value or the value has not yet been requested from the driver, graphics in
elements (such as a combined element) are not shown in Runtime. This also applies for variables from
subprojects for which the project server cannot be reached. However in this case, a communication
problem in shown (blue square) - if this is activated. If the server for a subproject cannot be reached
after values have already been transferred to the variable, the graphics are displayed until the screen is
opened again.
You can find further information in the Status processing manual in the Not updated(N_UPDATE)
chapter.
If there is no communication with the PLC, the value of the variable concerned is visualized in Runtime
with a red square.
You can find out more information in relation to this at the Display status of variable property.
SORTING ORDER
In Runtime, the elements are shown in a sequence from top to bottom. For this, the following applies:
1. WPF element: always in the foreground
2. ActiveX Element: always in the foreground, unless it is overlaid by a WPF element
3. Dynamic elements and vector elements
You can find detailed information on this in the Engineering (on page 38) chapter.
You define the sequence for the actuation of the elements in a screen with the project configuration in
the zenon Editor. For instructions on configuration, see the Runtime manual, Defining sequences in
frames chapter.
The transformation sequence of the graphic elements can be selected in the Editor in the Graphical
design group under the Transformation sequence project property.
45
Screen elements
Note: The difference between the two transformation sequences is in the use of enlargement and
rotation of a graphical element. The Zoom -> Rotation -> Translation option is selected by
default.
Depending on the setting of the project.ini UseGDILegacyDrawing, the following is applicable for
buttons and vector elements:
With the setting active (corresponds to the display in versions < 7.60)
Buttons with a color gradient are displayed with roundings of 20%.
Right-angled buttons with a color gradient are shown with centered (50%) or full (100%) offset.
Round buttons are shown with the Spot setting.
Rectangles with color gradients are shown with the Linear color gradient setting.
Rectangles with roundings are shown without color gradient.
The ellipse/circle element with color gradient are shown with the Selective color gradient
setting.
If the setting is inactive (corresponds to the display in versions from 7.60 and the display in the Editor)
Buttons with a color gradient are displayed with roundings like on the element.
Linear color gradients for buttons can have any value (0-100%).
Round buttons can be displayed with all color gradient settings (Linear, Selective,
Radiant).
Rectangles (also with roundings) can be displayed with the color gradient settings Linear and
Radiant.
The ellipse/circle elements can be displayed with all color gradient settings (Linear,
Selective, Radiant).
46
Screen elements
Vector elements (rectangle, circle/ellipse) with color gradient are displayed with the frame as
configured in the settings in the Line group.
Information
You can read more about the use of .NET with zenon in the Programming interfaces
manual in the .NET chapter.
47
Screen elements
CONFIGURATION DIALOG
48
Screen elements
Option Description
SelectUserControl Selection of the .NET Controls via drop-down list from the controls
which are available in the selected .NET Control Assembly.
Browse Opens the file manager for selecting a .NET Control Assembly.
Note: The .NET Control Assembly should be in the project's
Additional folder.
Field right below: List of properties for the selected .NET Control.
49
Screen elements
11.4 ActiveX
You connect ActiveX elements in projects using the ActiveX dynamic element.
Information
You can read more about the use of ActiveX with zenon in the Programming interfaces
manual in the ActiveX chapter.
You define individual properties of the element in the properties window. In order to do this, the
element must be active (mouse click) in the main window. To subsequently select or change controls,
open the configuration dialog by double-clicking on the properties menu item in the context menu.
Attention
Only ActiveX elements that are installed or registered on the computer are shown. All
ActiveX elements are also installed on all Runtime systems on which you use the project.
You can also use Remote Transport to register ActiveX elements on remote systems.
Refer to chapter Define files (Editing: copy & register)
50
Screen elements
ACTIVEX CONFIGURATION
51
Screen elements
ACTIVEX ELEMENTS
Element Function
ActiveX elements List of all ActiveX elements available.
Properties Opens a configuration dialog for the ActiveX highlighted, if available. You
can obtain help and information about the configuration from the
manufacturer of the respective ActiveX control.
VARIABLE ASSIGNMENT
Element Function
Variable assignment List of variables linked to the ActiveX element.
Variable Opens the zenon Dialog to select variables if it is possible to link variables.
Down Sorts highlighted variables downwards.
Up Sorts highlighted variables upwards.
Windowed ActiveX controls work with untransformed mouse coordinates in Runtime. If an element is
rotated, stretched or otherwise changed in terms of its size or position, the control no longer fits and
continues to be executed at the original position. The transformed element can therefore no longer be
operated at its transformed position using the control.
Windowless ActiveX controls can work with transformed mouse coordinates in Runtime. If an element is
rotated, stretched or its position is otherwise changed, the control works if the following requirements
have been met:
Does not work under Windows CE.
Does not contain a control in windowless ActiveX
Windowless ActiveX supported transformed characters correctly
Information
Regard the difference between windowed and windowless ActiveX elements.
Windowed ActiveX elements (e.g. all Microsoft ActiveX Controls) are always in the
foreground.
In contrast you can place for example a dynamic element over windowless ActiveX
elements.
52
Screen elements
You show the numerical size of a signal with the Bar display dynamic element. The length of the bar
changes with the signal size in runtime.
You define individual properties of the element in the Properties window. In order to do this, the
element must be active (mouse click) in the Main window.
At limit value violations the color from the variable can color the whole area or only the area starting
from the limit violation. This functionality is controlled via property Explicit in group Representation.
This property affects only the display of values with defined limit values from variables.
Limit values from reaction matrices are not considered.
Active: If a limit value of the linked variable is violated, only the part of the display that goes into the limit
value violation is shown in the color of the respective limit value.
If the variable has several defined limit values, the corresponding areas of the display are each shown in the
color of the limit value.
Inactive: If a limit value of the linked variable is violated, the complete display is displayed in the color of
the violated limit value.
53
Screen elements
Default: Inactive
Makes it possible to send commands for module Command Processing. Requires license forSICAM 230.
You can find instructions on how to use elements in the help at SICAM 230.
Attention: The button for screen alarming requires a license for SICAM 230. You can find further
instructions on how to use elements in the help at SICAM 230.
11.8 Button
You create a freely adjustable button the dynamic element button which you can use interactively in
the screen to either carry out a function or as a switch for a binary variable.
Information
Buttons are subdivided into text button, bitmap button and invisible button in versions up
to and including version 6.22. From version 6.50, all properties that can be configured
with buttons are together in the element button.
54
Screen elements
LABELING
UNDERLINE
&Text becomes:
If you would like to use the character '&' in text, enter it twice:
1 && 2 becomes 1 & 2.
LINE BREAK
Example:
Line 1 \n
Line 2
BUTTON AS SWITCH
55
Screen elements
INVISIBLE BUTTON
Access to Runtime:
The mouse pointer changes when the mouse is moved over the element
over a defined key combination (Runtime node, Key combination property)
Info
The status of the variable cannot be displayed for the invisible button.
The following color gradients and the Spot setting are supported, depending on Button shape and
Graphics quality:
56
Screen elements
Selective X X -- X
Radiant X -- X --
Spot -- X -- X
Key:
X: available
--: not available
The combined element is a dynamic element that can be used universally and can adopt the most varied
graphic characteristics:
Graphics
Screen symbol
Text
The form of the display is defined through statuses. Variable values of the main value, values of further
values and status information from all linked variables can all serve as statuses. Links can be created as
desired via formulas.
Statuses of the main variables (limit value attributes) can be transferred directly to the combined
element. The combined element also supports the setting of set values in the form of a
57
Screen elements
If set values are set via command processing and a response variable is set in the combined element
dynamic element, it can be set regardless of the setting of the Write set value property. All action
buttons in the Command processing screen that trigger a direct modification of the response variable
are then set to invisible.
When setting up manually, define the Type of display in the Representation node. The symbol from the
library is given as a default. You can define screen data and text according to the settings.
You define additional statuses either in the assistant via the New Status or in Combined Element
Properties in the display with property node Configuration and test.
Functions and variables can be assigned to the combined element by dragging & dropping. In doing so,
the respective variables/functions are each replaced by the new ones.
Combined elements can accept the action for buttons set in the project. To do this, activate the Apply
project properties for "locked" property. In doing so, the settings from the Locked buttons and
Interlocked buttons properties are applied. The gray selection only has an effect on non-symbolic text
components.
Attention
Note the following limitations:
Symbols in a "Combined" element cannot be operated.
Exception: Symbols from the library can be used as clickable buttons (on page
67).
If the combined element is configured with shading, it cannot be rotated within a
symbol.
58
Screen elements
LINK RULES
If you have selected Symbol from Library as a display type, you can enter link rules. You open the
dialog for entering the element via the Configuration and test property. After selecting the symbol via
the Symbol Select button, you can create and edit linking rules. These rules are saved for every status.
Example
The variables and functions of the symbol are now replaced with the following rule:
Source: *_0010
replace with: _0020
With the help of the linking rule, all variables and functions can be exchanged. If a
variable or function does not fit into the scheme, that link cannot be replaced.
When the runtime files are created, the respective links are set for every status, according to the rule.
59
Screen elements
Example
You would like to graphically display whether a motor is switched on and in which
direction it is turning.
The information about running direction and about on/off status equals the value of the
linked variable with the current values from the PLC. This variable is linked to the
combined element in property group Variable/function at property Variable.
The status text displays whether the motor is turning and how it is turning.
In property group Representation at property Type of display select entry
Condition text and screen symbol from the drop-down list.
For configuring the combined element click on ... at property Configuration
and test.
The Condition definition dialog is opened.
Enter the state text which you want to assign to the respective value in this
dialog in option area Display element.
It is subsequently displayed in your motor during runtime, for example: 'left', 'right'
or no text at all if the motor is not turning.
You will find more information about the evaluation of the status bits in the chapter Statuses (on page
71).
60
Screen elements
11.9.1 Assistant
An assistant is available for the basic configuration of the combined element. This opens as soon as you
have selected a variable for the combined element.
In the first step, you select the display type. The following display types are available:
Symbol from library
Status texts and screen symbols
Graphics file and screen symbol
Only screen symbol
Information
You can define additional statuses in all status selection windows. The New Status button
is available for this.
61
Screen elements
You can define statuses as soon as you have selected a type of display. The first status is always the
default status.
Note: A value cannot be entered for the default status; a value must be entered for all other statuses.
You can only edit one status at a time.
62
Screen elements
Click on the empty window at the bottom left to select a symbol from the global symbol library or from
the project library. You can delete the selected symbol again by clicking on the X next to the window.
Setting Description
Value Numerical value at which the status becomes active.
Default: no value
From 2. Status: Entry required.
New status Creates a new status for the combined element.
Information
For Symbol from library, clickable buttons (on page 67) can be created in any
form.
63
Screen elements
Each condition can be labeled with a text and with a foreground and background color.
64
Screen elements
Setting Description
Value Numerical value at which the status becomes active.
Default: no value
From 2. Status: Entry required.
Status text Text as it is displayed in runtime.
Color Font color of the status text.
Fill color Background color of the status text.
New status Creates a new status for the combined element.
Click on the <No graphic selected> button at the bottom left to select a screen file (*.bmp, *.gif, *.jpg,
*.png etc.). You have two options for screen selection:
1. Pictures from the project:
Pictures which you have already stored in the graphics directory of a project (see chapter on
Editor -> Project Manager -> Files) are offered to you automatically by the assistant.
2. Absolute path to other directories:
Activate direct file selection for this
65
Screen elements
You can give a common symbol for all combined element statuses.
This symbol:
must already be present on the screen
applies for all statuses
can be labeled for each status with its own fill color
66
Screen elements
Setting Description
Value Numerical value at which the status becomes active.
Default: no value
From 2. Status: Entry required.
Screen symbol Drop-down list to select a symbol.
If no symbols are displayed, then no symbols are present in the current screen.
Fill color Names the allocated status.
New status Creates a new status for the combined element.
In the combined element, clickable buttons can also be created in any desired form.
Information
This option is available from version 6.51. For projects for earlier versions, the property is
treated as inactive.
Information
This property does not work under Windows CE, because the required functionality
is not available under Windows CE.
ELEMENTS
There can be further symbols or combined elements in the symbol. The clickable area of this contents is
adjusted accordingly. For symbols, the element limits are used completely normally, with a combined
element this depends on the Symbol form defines the click area property, either the individual click areas
of the elements or the environment rectangle of the combined element.
67
Screen elements
SPECIAL ATTRIBUTES
Symbol protrudes from the combined Symbol is displayed, but clicks are only interpreted
element. within the combined element.
68
Screen elements
CLICK AREAS
In the Editor, areas larger than the click area are sometimes defined, in order to make these easier to
click on. For example, a line with 1 pixel thickness in the editor can be selected using a width of 8 pixels.
The display of the click area is exact in Runtime. For example, a line of 1 pixel thickness is also only
selectable from a width of 1 pixel.
The calculation of the click area for the combined element works regardless of the Graphics quality
property's setting. However, a different click area is calculated for the elements regardless of this
setting.
Information
If the mouse pointer is above the combined element, it is analyzed whether the cursor is
in the click area of the element. The load placed on the CPU can then be high with a large
number of elements in the combined element symbol.
EXAMPLE 1
69
Screen elements
EXAMPLE 2
active Click
inactive Click
EXAMPLE 3
70
Screen elements
11.9.3 Conditions
You get to the statuses window via the Configuration and test property in the Representation node.
Clicking on the ... button or on the "Click Here" text opens the window:
Here
you edit existing statuses
add the new statuses
specify in which direction statuses are to be processed.
The settings in the upper part of the window are the same for all types of display. In the lower third,
individual settings for the four different types of display are made.
71
Screen elements
COMMON SETTINGS
STATUS DEFINITION
Lists all defined statuses. A condition can consist of values and status. The element is processed from
the first condition up to the last entry. The first complete match is shown. Exception: The Overlapping
property (for symbols from the library) or Chained (for texts) is active.
Parameter Description
Default value The status defined when creating the element. It is always in the first position
and can longer be changed or deleted.
Value Shows the defined (32 bit) value.
Status shows the defined status. An "F" at the end of the status display indicates a
formula.
New Defines new statuses. in doing so, values, status and formulas of the condition
currently highlighted are taken on as initial values.
Delete Deletes the selected status. The default status cannot be deleted.
upwards/downwards changes the order in which statuses are processed. The default status is always
in the first position.
FORMULA VARIABLES
shows all variables that were defined for input in formulas. Existing variables are marked with a green
tick, non-existent variables are marked with a red cross. Non-existent variables can be replaced by
exiting variables via Change. The Add and Change buttons open the dialog to select variables (on page
200).
VALUE
Enables
input of a value for a status via a matrix or numerically
the definition of a formula
Parameter Description
Value Defining the value via a preset bit structure
Value Enter the numeric value.
Formula Opens the window to enter formulas (on page 88). In the formula variable
area, defined variables are available. Linking is performed by logical, bitwise
and comparative operators.
72
Screen elements
Attention
For non-binary variables, the value is entered in the signal resolution. Settings in the
measuring range or the non-linear value adjustment are not supported in this element.
STATUS
Attention: Most statuses can only be requested if the driver supports the status processing.
73
Screen elements
74
Screen elements
75
Screen elements
Information
The short terms for the status bits have been unified for all languages since version 6.50.
You can find more details and how you can use the old short terms in chapter Status bits
- new short terms.
Not acknowledged: If option Flashing is active for the limit value of the variable, the bit not
acknowledged is set. With the option Acknowledge flashing in the alarm configuration, the alarm is
acknowledged and the bit not acknowledged is set to 0 (see also chapter Acknowledge flashing for
alarms).
INDIVIDUAL SETTINGS
Individual settings for the 4 types of display of statuses is available in the subchapters:
Symbol from library (on page 77)
Status texts and screen symbols (on page 79)
Graphics file and screen symbol (on page 80)
Only screen symbol (on page 81)
CONFIGURING THE STAT US FOR VARIABLES THAT HA VE NOT YET BEEN LINKED
Sometimes you must define a combined element but you do not yet have a real, existing variable
available. For example, if the combined element is supposed to be used in a symbol of the symbol
library and it the variable link will be created only after pulling it into the screen. In this case, you first
work with a 'dummy variable', which you then subsequently replace with an existing variable. You can
then define all statuses in the combined element if existing variables have not yet been linked. You have
no access with dummy variables in the test mode only.
76
Screen elements
If you enter the name of an existing variable, the link is established and the mark changes from a
red X to a green check mark.
FORMULAS
Read how a formula is created in the chapter on the Formula Editor (on page 83).
The general settings for all display types can be found in the chapter on statuses (on page 71).
77
Screen elements
Option Description
Display element
Symbol from library Clicking on the symbol opens the dialog to select a
symbol.
Clicking on the X next to the symbol deletes the selected
symbol.
Edit linking rule Variables and functions contained in the symbol can be
exchanged with the help of linking rules.
Attention: If a variable or function does not fit into the
scheme, that link cannot be replaced.
Specific settings
78
Screen elements
The general settings for all display types can be found in the chapter on statuses (on page 71).
79
Screen elements
Parameters Description
Display element
The general settings for all display types can be found in the chapter on statuses (on page 71).
80
Screen elements
Parameters Description
Display element
The general settings for all display types can be found in the chapter on statuses (on page 71).
81
Screen elements
Parameters Description
Colors
The test mode simulates the Runtime: You can test the change of a value and see how your Combined
Element would behave during the Runtime. You can only activate this tab if all links refer to existing
variables.
Note: In test mode, the symbol is displayed in a lower resolution than on the screen in Runtime.
82
Screen elements
The formula editor provides support when creating formulas with logical or comparative operators with
a combined element, for interlockings and command processing. If additional variables are required for
a formula, create these in the formula variables (on page 71) area of the status window by clicking on
the Add button. existing formulas are displayed in the status list with the lettersF .
CREATING A FORMULA
Click on the Formula button in the status window. The formula editor opens
You select the bits for your formula in the left screen.
On the right, you find the operators for logical and comparative operations.
Information
Up to 99 variables can be linked in one formula. X01 to X99. The length of the formula
must not exceed 4096 characters.
83
Screen elements
Parameter Description
value bits 32 value bits (from 0 -31) are available. They describe the variable value bit by bit.
For binary variables, only bit 0 is of importance, for SINT and USINT only the bits
from 0-7, etc.
Note: The value refers to the raw value (signal range) of the variables and not to
the converted measuring range.
State bits Here you find the most commonly used status bits. You find the exact definition
and use of the status bits in the Status Bits List (on page 86).
unreceipted Not acknowledged is treated like a usual status bit. But here it is listed separately,
because it does not belong to the classical variable statuses.
value and status In the formulas, all values (value bits and status bits) are treated as binary values
and can be logically linked with AND, OR, etc.
The total value and overall status are an exception to this. In order to arrive at a
Boolean expression, this total value has to be ORed bitwise (on page 89) with a
constant. For this, we use the operator &.
For the result 0 (FALSE) of this logical ORing, we get the binary value 0 (FALSE),
otherwise 1 (TRUE).
Example: See the bitwise ORing example (on page 89) chapter
Info
The status bits NORM and N_NORM are only available in the formula editor and cannot
be engineered via the status.
If other settings outside the formula are set for the current status, they are combined with the formula
with a logical AND.
Information
Formulas with binary X values and bitwise linking can be used with a maximum of 2 binary
values. If more values are required, the linking must be carried out without binary X values.
Example:
But:
X01.00 AND X02.00 AND X03.00 AND X04.00 AND X05.00 -> works
84
Screen elements
85
Screen elements
Bit number Short term Long name zenon Logic long name
0 M1 User status 1; for Command _VSB_ST_M1
Processing: Action type "Block";
Service Tracking
(Main.chm::/IEC850.chm::/117281.
htm) of the IEC 850 driver
1 M2 User status2 _VSB_ST_M2
2 M3 User status3 _VSB_ST_M3
3 M4 User status4 _VSB_ST_M4
86
Screen elements
87
Screen elements
Information
In formulas all status bits are available. For other use the availability can be limited.
You can read details on status processing in the Status processing chapter.
Logical operators
Logical links: Variables will only be checked for the logical value '0'; if the value does not equal '0', it will
be considered as '1'.
In contrast to bit formulas, the technical range can be modified by a stretch factor -> (not equal '0' or
'1').
Operator Meaning
AND logical 'AND'
NOT Negation
OR logical 'OR'
XOR logical 'EXCLUSIVE OR'
88
Screen elements
Priority Operator
1 & (operator for bit formulas (on page 89))
2 NOT
3 AND
4 XOR/OR
Info
Up to 99 variables can be linked in one formula. X01 to X99.
Info
The status bits NORM and N_NORM are only available in the formula editor and cannot
be engineered via the status.
Bit formulas
Bit formulas only have a logical high or low state. In contrast to logical formulas, the raw value is already
predefined (0,1).
Operator Description
& AND
| OR
You want to find out if one of the user status bits 1-8 (M1 ... M8) of the variable X01 is set.
USUAL FORMULA:
89
Screen elements
LOGICAL ORING
0xFF corresponds to decimal 255; these are the first eight status bits (binary 11111111). If one of
these bit is set to 1, the result of this bitwise ORing is 1 (true), otherwise it is 0 (false).
If, for example, all user status bits except the user status bit M7 should be queried, the binary statement
for this would be: 10111111. Bit 7 is not of interest and is thus set to 0. This corresponds to 0xBF in
hexadecimal. The expression for the formula is then: X01.Status & 0xBF.
Instead of ORing bitwise with a constant, the value can also be directly compared to a decimal number.
If the comparison is wrong, the binary value is 0 (false) otherwise it is 1 (true).
Example:
You want to find out if the value is equal to the constant 202: The formula is:
X01.value = 202
If the value is equal to the constant 202, the result of the comparison is 1 (True) otherwise it is 0
(False).
Note: The bitwise ORing works with the OR character (|), the same as in this example.
Comparison operators
Comparison operators are for the direct comparison of two numeric values. The result of this
comparison is a binary value. "0“ if the condition is not fulfilled and „1“ if the condition is fulfilled.
Operator Description
< less
> greater
<= Less than or equal
>= greater or equal
= Equal
<> unequal
To the left and to the right of the comparison operator, there has to be a (total) value or a (total) status,
single bits cannot be used with these comparison operators.
90
Screen elements
Note: The combined element is not available in the Batch Control module.
Example
X01.value >= X02.value
The result is 1, if the value of X01 is higher than or equal to the value of X02
X01.value = 0x64
The result is 1, if the value of X01 is exactly equal to the numeric value 100 (= hex 0x64)
Example
Formula: X01.03 AND X02.03
This formula has the status TRUE, if both bit 3 of variable 1 and bit 3 of variable 2 both have the value 1.
Example
(X01.Value> X02.Value)
Example
(X01.Value> X02.Value) AND (X01.Value = X02.Value)
91
Screen elements
Example
(X01.Value> X02.Value) AND (X01.Value = X02.Value) OR (X01.03 = X02.03)
Example
If a hexadecimal values is used, this is later transferred to decimal by clicking on OK. If a decimal value is
entered and confirmed, the value continues to be displayed as a decimal value after reopening.
Info
It is not possible to use a comma or a period when entering values.
You can display information on variables with the help of the combined element for:
Resources label
Measuring unit
Variable identification
Variable name
Variable value
Timestamp
The information shown is always applicable for the linked main variable.
Engineering
1. Create a Combined element.
2. As type of display, select Condition text & screen symbol.
3. Create a default condition.
92
Screen elements
93
Screen elements
RESOURCES LABEL
Placeholder Description
%r Shows the resources label.
%r,1,2 Shows the resources label starting at position 1 for 2 characters.
%R Shows the resources label.
%R,3,2 Shows the resources label minus the first 3 and the last 2 characters.
MEASURING UNIT
Placeholder Description
%u Shows the measuring unit.
%u,1,2 Shows the measuring unit starting at position 1 for 2 characters.
%U Shows the measuring unit.
%U,3,2 Shows the measuring unit minus the first 3 and the last 2 characters
VARIABLE IDENTIFICATION
Placeholder Description
%l shows the variable identification.
%l,1,2 Shows the variable identification starting at position 1 for 2 characters.
%L shows the variable identification.
%L,3,2 Shows the variable identification minus the first 3 and the last 2 characters.
VARIABLE NAME
Placeholder Description
%n shows the variable name.
%n,1,2 Shows the variable name starting at position 1 for 2 characters.
%N shows the variable name.
%N,3,2 Shows the variable name minus the first 3 and the last 2 characters.
VARIABLE VALUE
Placeholder Description
%v Shows the current variable value.
94
Screen elements
%v,1,2 Shows the current variable value starting at position 1 for 2 characters.
%V Shows the current variable value.
%V,3,2 Shows the current variable value minus the first 3 and the last 2 characters.
TIMESTAMP
Placeholder Description
%t Shows the time stamp.
%t,1,2 Shows the time stamp starting at position 1 for 2 characters.
Shows the time stamp.
%T,3,2 Shows the time stamp minus the first 3 and the last 2 characters.
The formats for the time settings from the operating system are applied.
11.10 Combo-/Listbox
You link values of variables with texts using the combo/list box dynamic element. You use this in two
ways:
1. If a text is selected in runtime, the value of the variable changes to the value that is linked to this
text.
2. If the variable reaches one of the defined values, the linked text is displayed in the combo/list
box for as long as the value is available.
95
Screen elements
Info
No semicolon (;) can be displayed in the text for string variables, because the semicolon is
used as a separator.
The combo/list box element supports the same additional functionalities as the numerical value (on
page 122) element:
Lock, Status, Visibility, Dynamic Colors.
Dynamic colors: The background color is only accepted for existing entries. The part of the
element that is not filled with entries is displayed in the standard background color.
Attention
It is not possible to modify colors and fonts in the combo/list box under Windows CE.
Comboboxes/listboxes can be created dynamically or statically. The property Entries from string variable
switches between static and dynamic operation. Fixed entries are defined in the Editor during static
operation. In dynamic operation, a content variable is linked and its value is interpreted in Runtime.
Note for the display of the combobox in the Editor: The first line is shown in the background color; the
rest of the box is transparent. Thus other elements are not covered in the Editor. The display in Runtime
is as usual.
The values are displayed in a list and the current value is marked in the List box. If there are more
statuses than can be displayed in the list, a scroll bar is displayed.
96
Screen elements
Info
If the variable has a value which has not been defined in the combo box/list box entries,
no text is displayed or marked.
Fixed entries are configured in the Editor for a static box. These are displayed and used in Runtime.
To enter values:
1. Open the Representation group.
2. Select the display type using the Type property: Combobox or List box.
Default value Listbox
3. Entries can be entered directly or created dynamically. To do this, switch to the Text group.
4. To create entries dynamically, activate the Entries from string variable property.
5. To configure entries using the dialog, click on the ... button in the Entries property.
The dialog for configuration of the entries is opened.
97
Screen elements
ENTRIES DIALOG
98
Screen elements
ENTRIES
Parameter Description
Entries List of entries already defined.
ENTRY CREATION
Parameter Description
Entry creation Configuration of entries in the list.
99
Screen elements
Parameter for substitution Entry of the character sequence for substitution via
parameters. Replaces the key word {PARAM} in the
substitution dialog (on page 187) of the screen switching
for indices.
Visibility variable Variables for which the value changes and thus limit value
violations can be evaluated in Runtime. If there is a limit
violation at the visibility variable, it is evaluated and determines
whether the entry is visible in the list. The entry is displayed in
the list as standard (there is no limit value violation). Click on
the ... button under Visibility variable in order to open the
dialog for selecting a variable (on page 200).
Attention: A value change during operation can lead to, with
comboboxes, an open combobox being closed.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
SORTING ENTRIES
Drag & drop: Drag the element to the desired place with the mouse. A red line displays the point
where the element is inserted.
100
Screen elements
For dynamic operation, a string variable that defines the content must be linked using the Variable
property. Any static entries that may be configured at the same time in Runtime are ignored. The value
of the content variable is evaluated and interpreted. To do this, the value of the variables must
correspond to a valid layout in Runtime.
LAYOUT
The string value displays a list of entries. Each entry consists of a value and a text that is separated with
a comma ",". Entries are concluded with a semi-colon ";". If the text part of an entry contains an "@"
character, the text part is translated with the help of the existing language table.
CONFIGURATION
To link a variable:
1. Open the Representation group.
2. Select the display type using the Type property: Combobox or List box.
Default value Listbox
3. Activate the property Entries from string variable
4. Select, using the Variable property, the desired variable
(clicking on the ... button opens the dialog for variable selection (on page 200))
5. Select the string variable with the configured entries
The elements displayed in the combo box or list box can be marked in color in runtime. To do this:
navigate to Group Fill in properties
In group Fill select the properties
Text color when selected for the text color
Background color when selected for the text background color
These colors are then used during runtime. Operating system settings are ignored, as are the colors of
linked variables.
101
Screen elements
Information
The colors of the operating system were used up to version 6.50. When converting the
project:
the background color is set to that configured in the operating system
if the text color is set as a statically defined color
On computers where the colors have been changed in the operating system, this may
lead to different behavior during runtime.
ERROR TREATMENT
With the Dynamic Text dynamic element, you display the current limit value text in the event of the
limit value being violated or display the value of a string variable in alphanumeric form. If there is no
limit value violation, the text defined in the Editor is displayed.
102
Screen elements
The linked variable and the content selected in the Display text property is displayed in the preview of
the element in the main window.
Information
If the element is used in Runtime to replace a static Win32 control element and it is
deactivated, the background color and text color is set to gray values.
If the element is used to design sensitive elements such as passwords, input can be masked. To do this,
activate the Hidden input property. If you want, you can define any desired character using the Masking
character property, which is used for masking.
Text is replaced with the defined character in Runtime. The replacement is already carried out during
entry. The input field always the character 8 times, regardless of the actual length of the text. If the
Hidden input property is deactivated, the text entered by the user is displayed.
Default: *
103
Screen elements
When writing a set value using a dynamic text, it is possible to use the Write on lost focus property to
define how the element acts in Runtime.
Property:
Active: The value is written as soon as the control element loses the focus.
Input is canceled by pressing the Esc key and the value is not written.
Inactive: The value is written after confirmation by pressing the Enter key.
Input is canceled by pressing the Esc key and the value is not set.
The default value depends on whether the element from the toolbar can be inserted into the screen or
whether it was inserted as editable dynamic text from the control elements menu:
As an element in the screen: Inactive
From the control elements menu: active
LANGUAGE FILE
The language of all displayed content of the display text types is translated if the language file contains
corresponding entries.
Exception: The variable name is not translated.
With version 7.20, the checkbox Text from variable was replaced by the new drop-down selection
Display text and the possible settings were increased. A conversion of the original entries was
implemented for this change: The 'variable value' value was originally only used for STRING variables.
From version 7.20, this version is converted depending on the type of the variables. INTEGER variables
become limit value text, STRING variables become variable value. This conversion is carried
out in the Editor and in Runtime when loading a screen element.
If Runtime files are transferred from a project before 7.20 directly into a version 7.20 project, this can
lead to the following behavior: INTEGER variables are swapped for STRING variables and vice versa.
104
Screen elements
To draw an ellipse:
1. Select the Ellipse/Circle symbol in the tool bar or in the Elements menu.
2. Select the start point in the main window.
3. Pull open the ellipse while pressing and holding the left mouse button.
4. To change the shape, size or position, drag the corners or move the element.
5. Define the desired properties in the property window
Note:
Adjusting an ellipse:
To execute changes symmetrically when dragging, hold down the Alt key.
Drawing a circle:
In order to draw a circle: Hold down the Shift key when drawing.
Adjust circle:
To get the circle shape when dragging, hold down the Shift key.
105
Screen elements
Info
The arc of the circle is always displayed as a quadrant and can be extended by copying
and pasting.
Filling patterns and fill colors are not available for arcs of circles.
Attention
With the segment of a circle, you draw the desired part of a circle or ellipse.
To draw a segment of a circle:
1. Select the Segment of a circle symbol in the Elements toolbar
2. Select the start point in the main window.
3. Pull on the segment of the circle pressing and holding the left mouse button
4. Pulling upwards to the right opens the segment to the left and vice versa
5. To change the opening direction, move a central touch point over the opposite line
6. The shape, size and position can be changed at any time by pulling the vertexes or moving the
element.
7. If you press and hold the Alt key while pulling the outer corner points, the change is carried out
symmetrically.
8. hold down the shift key whilst moving it and the aspect ratio is maintained
9. You have two possibilities to change the opening angle or to open the circle segment upwards or
downwards:
Move the mouse over one of the two divided touch points until the mouse pointer on the
outermost of the two points turns into a black cross with arrows and move the point into
the desired direction
or
Change the angle settings properties under Opening angle. For example:
- for opening downwards: End angle [°] 180° and Start angle [°] to 0°
- for opening downwards:
Angle data can have a maximum of two decimal points.
Note: Because the corner points calculated from angle data are pixels, and these must be
whole numbers, it can be the case that the angle display deviates from the data somewhat.
For example 45° does not give whole number of pixels. zenon internally it is rounded and
the angle is displayed as 44.75°.
106
Screen elements
Key:
1. touch points for opening angle
2. touch point for height
Info
If you would like to use the segment of a circle as an arc of a circle, change the Fill
pattern property to the value of transparent. Only the outer line is displayed with the
transparent display type.
The opening angle must always be > 0° and < 360°.
Attention
The Segment of a circle element is not available in Windows CE.
SEGMENT THICKNESS
In the properties you can define the segment thickness of a segment of a circle under Display in group
Segment thickness. If the Adjustable segment thickness property is activated, then the ellipsis at the start
and end angle of the outer edge to the center only displays the thickness set. Thus hose-like forms with
different start thicknesses and end thicknesses can be displayed in a curved form.
Both circle-shaped and elliptical segments are supported. The End thickness equals start thickness
property is available to display forms with the same thickness.
If 0 is defined as the segment thickness for Thick start angles [pixel] and Thickness end angles [pixel], then
an arc of a circle is displayed.
Note on availability: Not available for Graphics quality Windows Basis, for Windows CE project aktiv
or for Color gradient With brightness values.
107
Screen elements
11.15 Line
To draw a line:
1. Select the Line symbol in the Elements toolbar
2. select the start point in the main window
3. Pull out the line while pressing and holding the left mouse button
4. The shape, size and position can be changed at any time by pulling the vertexes or moving the
element
5. If you press and hold the Alt key while pulling the outer corner points, the change is carried out
symmetrically
6. define the desired properties in the properties window
Info
Filling patterns and fill colors are not available for lines.
11.16 Polygon
To draw a polygon:
1. Select the Polygon symbol in the Elements toolbar
2. In the main window, select the start point by clicking the left mouse button
3. pull the first section
4. place an initial corner point with a simple mouse click (left)
5. draw another line and place the corner points
6. set the end point by double clicking or pressing the escape key
7. The shape, size and position can be changed at any time by pulling the vertexes or moving the
element
8. Hold down the shift key when pulling; this way, only horizontal or vertical movements away
from the original position are possible
9. Define the desired properties in the properties window
Hint: You define the rounding (on page 141) of the lines with the Rounding property. To do this,
select a value between 0 (no rounding) and 1 (maximum rounding).
108
Screen elements
ADD DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a line of the polyobject.
The mouse pointer changes to an arrow including a plus sign.
A mouse click adds a corner dot.
DELETE DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a point of the polyobject.
The mouse pointer changes to an arrow including a minus sign.
A mouse click removes the point.
MOVE POINTS
Note:
Pressing on the arrow key moses the position by 1 pixel. If the Shift key is held at the same
time, a press of the button moves the point by 10 pixels.
The options Use grid, Horizontal distance and Vertical distance in the Editor settings are
ignored.
109
Screen elements
Information
The With brightness values property is not available for polygons.
11.17 Polyline
To draw a polyline:
1. Select the Polyline symbol in the Elements toolbar
2. In the main window, select the start point by clicking the left mouse button
3. pull the first section
4. place an initial corner point with a simple mouse click (left)
5. draw another line and place the corner points
6. set the end point by double clicking or pressing the escape key
7. The shape, size and position can be changed at any time by pulling the vertexes or moving the
element
8. Hold down the shift key when pulling; this way, only horizontal or vertical movements away
from the original position are possible
9. Define the desired properties in the properties window
Hint: You define the rounding (on page 141) of the lines with the Rounding property. To do this,
select a value between 0 (no rounding) and 1.
ADD DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a line of the polyobject.
The mouse pointer changes to an arrow including a plus sign.
A mouse click adds a corner dot.
110
Screen elements
DELETE DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a point of the polyobject.
The mouse pointer changes to an arrow including a minus sign.
A mouse click removes the point.
MOVE POINTS
Note:
Pressing on the arrow key moses the position by 1 pixel. If the Shift key is held at the same
time, a press of the button moves the point by 10 pixels.
The options Use grid, Horizontal distance and Vertical distance in the Editor settings are
ignored.
To draw a rectangle:
1. Select the Rectangle/square symbol in the tool bar or in the Elements menu.
2. Select the start point in the main window.
3. Drag the rectangle while pressing and holding the left mouse button
4. To change the shape, size or position, drag the corners or move the element.
5. Define the desired properties in the property window
Hint: You can round (on page 141) the corners at will in order to created a rectangle with
rounded corners
Note:
111
Screen elements
Amending a rectangle:
To execute changes symmetrically when dragging, hold down the Alt key.
Drawing a square:
In order to draw a square: Hold down the Shift key when drawing.
Adjust square:
To get the square shape when dragging, hold down the Shift key.
11.19 Pipe
To draw a tube:
1. Select the Pipe symbol in the Elements toolbar
2. In the main window, select the start point by clicking the left mouse button
3. Pull the first section
4. Place an initial corner point with a simple mouse click (left)
5. Draw another line and place the corner points
6. Set the end point by double clicking or pressing the esc key
7. The shape, size and position can be changed at any time by pulling the vertexes or moving the
element
8. Hold down the shift key when pulling; this way, only horizontal or vertical movements away
from the original position are possible
9. Define the desired properties in the properties window
Hint: You define the rounding (on page 141) of the lines with the Rounding property. To do this,
select a value between 0 (no rounding) and 1 (maximum rounding).
ADD DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a line of the polyobject.
The mouse pointer changes to an arrow including a plus sign.
112
Screen elements
DELETE DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a point of the polyobject.
The mouse pointer changes to an arrow including a minus sign.
A mouse click removes the point.
MOVE POINTS
Note:
Pressing on the arrow key moses the position by 1 pixel. If the Shift key is held at the same
time, a press of the button moves the point by 10 pixels.
The options Use grid, Horizontal distance and Vertical distance in the Editor settings are
ignored.
11.20 Switch
You show the value of a binary variable in graphic form and modify it with the Switch dynamic element.
The element can also be used as a pushbutton for one-stage unsecured command processing.
113
Screen elements
Note:
To use the element as a pushbutton, activate the Pushbutton property in the Write set value node
The element can also be used in screens as a control element for checkboxes.
There are different file formats available for the display of the switch in the Runtime.
Using the file formats depends in the project settings in property Graphics quality:
Windows Basic:
The following file formats can be used:
BMP
JPG
PNG
in zenon pre-defined bitmaps
DirectX software or DirectX hardware:
All supported file formats in Windows Basic plus TIF, animated GIF and WMF can be used.
The element is also used in control elements of screens to display checkboxes. If the element in a screen
is used as a control element, it is not available in Runtime if it is activated and the necessary user rights
are available. Otherwise it is deactivated and displayed grayed out.
114
Screen elements
To enter text:
1. Click on the text field with a delayed double click
Or: select Edit text in the context menu:
Or: Write the text in the Text property.
Information
The text is automatically wrapped as standard, depending on the size of the text field. To
turn off the wrapping, deactivate the property Automatic word wrap in the Text node.
UNDERLINE
&Text becomes:
If you would like to use the character '&' in text, enter it twice:
1 && 2 becomes 1 & 2.
LINE BREAK
Example:
Line 1 \n
Line 2
With the Trend Element dynamic element, you display all values in runtime in the form of trend curves,
where several process variables can be displayed at the same time.
115
Screen elements
In order for the Trend Element to display values, the Harddisk data storage active property in the
Harddisk data storage node of variable properties must be active. Cycle time [s] and Number of values
must correspond to the Update time and the Time period of representation in the trend element,
otherwise the drawing of the curve is restarted every time the screen is called up. Each change can have
an effect on other Trend Elements that use the same process variables.
Information
Functions and variables can also be linked to the Element by Drag&Drop. If no curves
have been defined in he Editor, the trend element is not shown in Runtime.
116
Screen elements
11.23 Clock
With the dynamic element Clock, you show the current time in Runtime or you convert numerical
values into a time. The date/and or the time can be displayed as an absolute time period or a time
difference.
DISPLAY
ENGINEERING
117
Screen elements
Information
With absolute time period with the Write set value via element, the input field
has time difference formatting.
For example:
Formatting of the absolute time period hh:mm:ss dd.mm.yy
is displayed in the element as: dd:hh:mm:ss
dd.mm.yyyy (for example 17.12.2008)
as ddddd (14230 days since 1. 1. 1970).
With the dynamic element Universal slider, you show variables in the form of sliders, bar graphs, LED
bar displays or any other sliders you wish. The sliders allow set value elements to be set in runtime.
118
Screen elements
119
Screen elements
120
Screen elements
Information
Note:
A drag indicator can display the minimum or maximum value of the variables within a
certain period of time. Double-clicking the element in runtime resets the marking of
minimum and maximum.
Moving scale style: Values can only be amended in Runtime by means of a dialog.
Changing a value using the slider directly is not possible.
At limit value violations the color from the variable can color the whole area or only the area starting
from the limit violation. This functionality is controlled via property Bar explicit in group Universal
slider.
This property affects only the display of values with defined limit values from variables.
Limit values from reaction matrices are not considered.
121
Screen elements
Active: If a limit value of the linked variable is violated, only the part of the display that goes into the limit
value violation is shown in the color of the respective limit value.
If the variable has several defined limit values, the corresponding areas of the display are each shown in the
color of the limit value.
Inactive: If a limit value of the linked variable is violated, the complete display is displayed in the color of
the violated limit value.
Default: Inactive
11.25 WPF
With the WPF dynamic element, valid WPF/XAML files in zenon can be integrated and displayed.
Information
You can find further information on the dynamic element WPF in the zenon WPF manual.
Info
The following applies in runtime: A decimal value can be entered with a comma as well
as with a period as a separator. It is always displayed as a period.
122
Screen elements
You display the indicating instrument with the dynamic element indicating instrument.
Note: The display possibility as Bar display for configured opening angle 0 have no longer been
available since version 7.60. Use element Bar display or the Universal slider.instead.
For limit value violations the color from the variable can either color the area starting from the limit
value violation or the full area. This functionality is controlled via property Explicit in group
Representation.
This property affects only the display of values with defined limit values from variables.
Limit values from reaction matrices are not considered.
Active: If a limit value of the linked variable is violated, only the part of the display that goes into the limit
value violation is shown in the color of the respective limit value.
If the variable has several defined limit values, the corresponding areas of the display are each shown in the
color of the limit value.
Inactive: If a limit value of the linked variable is violated, the complete display is displayed in the color of
the violated limit value.
Default: Inactive
123
Screen elements
The following elements are no longer available for the current zenon version:
Element Available up to and including
version
Bitmap button (on page 124) 6.22
Message element (on page 126) 7.20
Links a graphics file (pixel graphics: *.bmp, *.jpg, *.gif, or *.png or vector graphics: *.wmf) with a button.
If the project property Create Runtime files for is set to small 6.50, the element button can only display
texts in runtime. Graphics must be configured by means of the bitmap button in this case.
124
Screen elements
Element Description
Project tree Definition of the project from which the function should be selected.
Selection window Selection of the function.
No selection Depending on the element:
the dialog is canceled
already linked functions are deleted
Hint: The size of this dialog can be adjusted. The dialog size and position are saved.
125
Screen elements
1. manually
in the Project Manager´s Detail view open the functions
drag the desired function on the element while holding the left mouse button
the previous function is substituted by the new one
2. automatic
Select the entry Replace links from the context menu. For more details see chapter
Substitution of variables and functions in dynamic elements (on page 177).
With the Message Element, you can show text in Runtime depending on the value of process variables.
The source for texts are text files, made up as tables. You can configure these freely.
Attention
This element is no longer supported from version 7.50.
This element is only available if the project property Create Runtime files for has been set to
lower than 7.50.
126
Screen elements
The linked variables define lines and columns of the text to be shown.
This variable must be a word variable (UINT) and defines the column position from which the text is
taken. At the same time, it controls the type of processing.
bit set effect
Bit 15 Message element blocked; nothing is displayed any more.
(bit with the
highest value
Bit 14 Update of the screen output switched off; last active text is displayed.
The addressing of cells takes place by means of the bit number and not the numerical value.
The other variables define the cell positions from which the text is taken. The cell positions result from:
Value Line
1 Line 1
2 Line 2
4 Line 3
Each line variable is responsible for a maximum of 16 lines. If more than 16 lines are needed, further line
variables can be defined.
If line 1 and line 2 are to be displayed alternately, the value of the line variable must be 3. If all 16 bits of
the first variable are set, lines 1 to 16 are displayed alternately. If all 16 bits of the 2nd variable are set,
lines 17 to 32 are displayed alternately.
Example:
127
Screen elements
If the first bit of the first variables and the first bit of the second variable is set, lines 1 and 17 are
displayed alternately.
You can define several elements with the dynamic element Multibin:
display graphics depending on variable values
Color symbols
Issue status text
link numerical values and binary values
display a switch or pushbutton for the first variable, provided the first variable is a binary
variable
Note: The functionality of the Multibin element can also be configured using the combined element.
Attention
This element is no longer supported from version 7.50.
This element is only available if the project property Create Runtime files for has been set to
lower than 7.50.
DEFINE STATUSES
You define the settings for variable statuses to be displayed in the dialog to enter elements:
1. click on the Representation node
2. The property Configuration
the dialog for condition definition (on page 129) opens
128
Screen elements
Multi-binary element
129
Screen elements
Graphics File
130
Screen elements
TYPE OF DISPLAY
Property Description
Graphics File Active: Graphics files are used for the display of the states in
Runtime.
Their configuration is explained here.
Status texts and screen symbols Active: Status text and screen symbols are used for the display of
statuses in Runtime. The symbol or the element group must already be
present on the screen. The symbol shown in the drop-down list flashes
on the screen until the Enter element dialog is closed.
Its configuration is explained in the Status text and screen symbol (on
page 133) chapter.
In original size Active: Graphics are displayed in original size.
Inactive: Graphics are stretched or compressed to the display size.
OPTIONS
Property Description
Display status Highlights the element in Runtime with a red dot with exception
status.
Recognize flashing of all Active: Sum alarming of all linked process variables. The graphics or
variables color are determined by the current status. Active flashing states
remain kept until quitting.
STATUS 0 (LOW)
Property Description
Status 0 (LOW) Settings for the current status in line with display type.
Graphics Selection of graphics. A click on the ... button opens the file selection
dialog.
If desired files in the Files/Graphics nodes are not yet
present in the Project Manager, these can be added in the
selection dialog.
to select a file directly from any desired folder on the computer,
the Direct file selection property must be activated.
131
Screen elements
recommended that the same size is used for all graphics used in
the element, because the size of the element adapts itself to the
size of the currently-displayed graphics.
FURTHER STATUSES
Property Description
Further statuses Select further variables (on page 200) via the ... button and sorting of
statuses via the Upwards and Downwards buttons.
For each of the linked variables, there must be a discrete status
defined; this is defined by entering the values for multibit information
and numerical values. Multibit values must be assigned several times:
Number of statuses minus 1; example double message=3.
If a discrete state has occurred, it is displayed. If none of the indicated
values is present, the status 0 [LOW], globally valid for the element, is
displayed.
Note: For non-binary variables, the value is entered in the signal
resolution.
SWITCH SETTINGS
If a binary variable is linked as the first variable, this can be used as a switch or pushbutton.
For configuration, see the Switch settings (on page 136) chapter.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
132
Screen elements
Display of symbols and text information. The color of the current status is transferred to the symbol at
the same time.
133
Screen elements
TYPE OF DISPLAY
Property Description
Graphics File Active: Graphics files are used for the display of the states in
Runtime.
Their configuration is explained in the Graphics file (on page 130)
chapter.
Status texts and screen symbols Active: Status text and screen symbols are used for the display of
statuses in Runtime. The symbol or the element group must already be
present on the screen. The symbol shown in the drop-down list flashes
on the screen until the Enter element dialog is closed.
Their configuration is explained here.
Display status text Active: Status texts are displayed in Runtime.
Background color can be set Active: The background color for the text can be freely
chosen.
OPTIONS
Property Description
Display status Active: Highlights the element in Runtime with a red dot with
exception status.
Color only filling area Active: Only the fill areas of the static elements are colored,
the border stays the same
Recognize flashing of all Active: Sum alarming of all linked process variables. The
variables graphics or color are determined by the current status. Active
flashing states remain kept until quitting.
Fill color for flashing Background color when flashing. Clicking on the color opens the
dialog to select the color.
STATUS 0 (LOW)
Property Description
Status text Text that it is displayed in runtime. Input is only possible if the
Display status text property is active.
Symbol color/text color Select the color for the symbol and status text. Clicking on the
color opens the dialog to select the color.
Text background color Selection of the background color for the status text. Clicking on
the color opens the dialog to select the color.
Only available if the configurable background property is
active.
134
Screen elements
FURTHER STATUSES
Property Description
Further statuses Select further variables (on page 200) via the ... button and
sorting of statuses via the Upwards and Downwards buttons.
For each of the linked variables, there must be a discrete status
defined; this is defined by entering the values for multibit
information and numerical values. Multibit values must be
assigned several times: Number of statuses minus 1; example
double message=3.
If a discrete state has occurred, it is displayed. If none of the
indicated values is present, the status 0 [LOW], globally valid for
the element, is displayed.
Note: For non-binary variables, the value is entered in the signal
resolution.
Status text Text that it is displayed in runtime. Input is only possible if the
Display status text property is active.
Symbol color/text color Select the color for the symbol and status text. Clicking on the
color opens the dialog to select the color.
Text background color Selection of the background color for the status text. Clicking on
the color opens the dialog to select the color.
Only available if the configurable background property is
active.
SWITCH SETTINGS
If a binary variable is linked as the first variable, this can be used as a switch or pushbutton.
IYou can find iformation for the configuration in chapter Switch settings (on page 136).
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
135
Screen elements
Switch settings
If a binary variable is linked as the first variable, this can be used as a switch or pushbutton.
Property Description
Read only Active: It is not possible to input setpoints in runtime.
Switch Active: Element acts as a switch for setpoint input.
Pushbutton On Active: Writes setpoint HIGH. The preferred position for the
pushbutton goes to Off.
Pushbutton OFF Active: Writes setpoint LOW. The preferred position for the
pushbutton goes to On.
Holding time in ms Holding time of the setpoint status in milliseconds.
Authorization groups Defines the necessary authorization level for set value element.
Key combination Key combination for set value input
Remove Removes the key combination
136
Screen elements
With the dynamic element Move Symbol, you can move elements depending on the state of the
variable horizontally or vertically or change their size (zoom). To do this, connect the elements to a
symbol.
Note: The Move Symbol dynamic element is generally only available up to version 6.22. From version
6.50, use dynamic properties of an element such as Position, Size and rotation dynamic or Fill for all
dynamic actions.
Exception: Windows CE: Projects from all versions provide the element if the Windows CE project
property has been activated.
If the project property Create Runtime files for is set to small 6.50, the element button can only display
texts in runtime. Invisible buttons must be configured with the invisible button element in this case.
The dynamic element Invisible Button offers the possibility to define an interactive transparent user
interface which is linked to a function call.
137
Screen elements
The shape, size and position can be changed at any time by pulling the vertexes or moving the
element
if you press and hold the alt key while pulling the outer corner points, the change is carried out
symmetrically
You define individual properties of the element in the properties window. In order to do this, the
element must be active (mouse click) in the main window.
Element Description
Project tree Definition of the project from which the function should be selected.
Selection window Selection of the function.
No selection Depending on the element:
the dialog is canceled
already linked functions are deleted
Hint: The size of this dialog can be adjusted. The dialog size and position are saved.
1. manually
in the Project Manager´s Detail view open the functions
138
Screen elements
drag the desired function on the element while holding the left mouse button
the previous function is substituted by the new one
2. automatic
Select the entry Replace links from the context menu. For more details see chapter Substitution of
variables and functions in dynamic elements (on page 177).
Info
For the invisible button the status of the variable cannot be displayed.
You control a screen symbol with a Status Element dynamic element. In doing so, properties of a linked
variable such as colors or flashing for example are transferred to a symbol. You can therefore also show
statistical limit value texts.
Attention
This element is no longer supported from version 7.50.
This element is only available if the project property Create Runtime files for has been set to
lower than 7.50.
Information
Instead of the status element dynamic element, the dynamics properties of an element
or the combined element can be used.
139
Edit screen elements
Information
Graphic actions such as shading and blurring can have an effect on the performance of
the system, both in the editor and in runtime.
ENTERING VALUES
To enter values within a defined limit, there are also sliders for many properties. These can be accessed
via the ... button+. Changes in values made with the slider are displayed in the properties field
immediately.
When selecting colors, the color activated in the palette is displayed directly in the object as a preview.
140
Edit screen elements
12.1.1 Truncations
The elements Rectangle (on page 111) and Button (on page 54) and Polygon (on page 108), Polyline (on
page 110) and Tube (on page 112) can be displayed with truncations.
Information
Rounding is only available to a limited extent for:
Active Windows CE project property
or
Windows basic value for the Graphics quality property
You define the degree of truncation with the properties in Rounded corners node. 2 values can be
given for each corner point:
X value: Percentage value for the rounding based on the width of the element
Y-value: is a percentage value for the rounding based on the height of the element
0% means no rounding.
100 % means a quadrant.
The values can be defined separately for each angle. If the value of an angle is set at -1, it then takes its
rounding value from the All x [%] and/or All y [%] property.
Information
If the value for All x [%] or All y [%] is changed, all values are set to -1 on the
corresponding axis. Therefore different values can be re-harmonized very easily.
Hint: There is a small blue triangle in the lower right quadrant of the element. Click on it with the mouse
and move the triangle up to the desired rounding.
Example:
There is a GIF file on the button with a transparent background. A red color gradient was defined for the
button. The rounding of the angles was defined with All x [%] and Proportional, afterwards this value
was changed individually for the lower left angle.
141
Edit screen elements
Information
If the With brightness values property is used for displaying the fill color, no rounded
edges can be used. If this element is activated for an element, that uses rounded-off
corners, the element is displayed with non-rounded corners.
You can define the degree of rounding for polygons, polylines and tubes with the Rounding property in
the Representation node. Enter a value between 0 and 1 for this.
Several graphical elements can be highlighted with the help of effects in the Runtime.
You can find additional effects in chapter effects for frames (on page 219).
Glow effect
REQUIREMENTS
To use glow effect for a graphical element, the following requirements must be fulfilled:
The project property Graphical design/Graphics quality must be set to DirectX Hardware or
DirectX Software. For details see chapter Graphics quality (on page 11).
The graphical element must be supported.
Except for the following exceptions all graphical elements are supported: WMF, symbols, combi
element, ActiveX, WPF, all Win32 control elements, windows and several special control
elements.
The element must be visible.
If the element is invisible, the glow effect is invisible automatically as it is derived directly from
the element.
CONFIGURATION
142
Edit screen elements
Visibility has especially strong effects. If the glow effect is set to invisible, flashing and color is ignored.
Dependencies:
1. Variable for visibility is linked and Adopt visibility from limit value is active:
Invisible in the limit value is activated: Glow effect is invisible.
Invisible in the limit value is not activated:
The glow effect configured in the properties is displayed. Dependent of the settings the
glow effect can also flash.
143
Edit screen elements
2. Variable for visibility is linked and Adopt visibility from limit value is inactive:
The variable value lies within the limits of properties of Visible from and Visible to:
The glow effect configured in the properties is displayed. Dependent of the settings the
glow effect can also flash.
The variable value lies outside the limits of properties of Visible from and Visible to:
Glow effect is invisible
3. Variable for visibility is not linked:
The glow effect configured in the properties is displayed. Dependent of the settings the glow
effect can also flash.
For all states for which the originally configured glow effect is displayed, you get the glow effect which is
configured in the properties. At this for example the color for a limit value can come from an own
variable; for details see Color from variable.
1. Variable for flashing is linked, Adopt flashing color from limit value is active and Make 2. flash state
invisible is active:
Limit value was violated:
Glow effect flashes and alternates between colored glow effect (from limit value violation)
and the originally configured glow effect.
Limit value was not violated:
Glow effect does not flash and the glow effect is displayed as it was originally configured.
2. Variable for flashing is linked, Adopt flashing color from limit value is active and Make 2. flash state
invisible is inactive:
Limit value violation is active:
Glow effect flashes and alternates between colored glow effect (from limit value violation)
and no glow effect.
Limit value breach inactive:
Glow effect does not flash and the glow effect is displayed as it was originally configured.
3. Variable for flashing is linked, Adopt flashing color from limit value is inactive:
Limit value violation is active:
Glow effect flashes and alternates between originally configured glow effect and no glow
effect.
Limit value breach inactive:
Glow effect does not flash and the glow effect is displayed as it was originally configured.
4. Variable for flashing is not linked:
Glow effect can be displayed dependent on other properties.
144
Edit screen elements
Represents the possibility to define the color of the glow effect at normal view via the limit value of a
variable. This is also true for the normal view when the glow effect does not flash.
1. Variable for color linked:
a) Limit value violation is active:
The color from the violated limit value is used.
b) Limit value breach inactive:
For coloring the glow effect the defined color from property Color is used.
2. Variable for color not linked:
For coloring the glow effect the defined color from property Color is used.
COLORING:
Defines whether the glow effect is created as image of the actual element or whether it is colored with a
single color.
1. Coloring active and Variable for color linked:
a) Limit value violation is active:
For coloring the glow effect the color from the violated limit value is used.
b) Limit value breach inactive:
For coloring the glow effect the defined color from property Color is used.
2. Coloring active and Variable for color not linked:
For coloring the glow effect the defined color from property Color is used.
3. Coloring inactive: An image of the actual element with all corresponding colors of the element
for the glow effect is used.
145
Edit screen elements
with this effect. Thus for example a PNG graphic with semi-transparent areas as well as a GIF
animation obtain a correct glow effect which is created dynamically during the display. The glow
effect just as the shadow also affects text by which correlating effects can be achieved.
GLOW EFFECT
COLORS
146
Edit screen elements
TRANSPARENCY
0% transparency:
20% transparency:
60% transparency:
SPREAD
147
Edit screen elements
TEXTS
148
Edit screen elements
Large font with color 0xFF0000, 35 pixel spread and 20% transparency:
PART-TRANSPARENT GRAPHIC
Original:
149
Edit screen elements
Without color, 20 pixel spread and 20% transparency plus shadow with 40 pixel distance, 60%
transparency, black and 5 pixel soft focus.
ELEMENT CHANGES
3D button in contrast colors, pressed with 15 pixel spread and 0% transparency on 3D button:
Error treatment
OUTPUT WINDOW
150
Edit screen elements
Information
If the transparency of an object (for example the background color) is changed, the
display of the preconfigured shading also changes accordingly. However, the values for
color and transparency of shading remain the same in the process.
To give an element a frame, select Frame in the property Border type node Borders/Shadows.
To give an element a frame, select Frame in the property Border type node Borders/Shadows.
151
Edit screen elements
Angle: The angle in degrees with which the shadow falls, starting from the outside right
counterclockwise.
Transparency: Transparency of the shadow between 0 and 100%, with 0% being opaque and
100% being transparent.
Size of shadow: Size of shadow in pixels.
Blurring: Blurs the surface color and makes the transition to shadow softer.
Note: if a value is irregularly set to 0 here, then the calculation affects system performance.
Information
Transparency for lines or fill colors of an element have an effect on the shadow. For
example: If the fill color is set to 100% transparent, then no shade will be visible for the
fill area.
Examples
152
Edit screen elements
Shade with a size of -20 pixels and transparent color gradient in the element
153
Edit screen elements
Up to and including version 6.22 and for Runtime compatibility with version 6.22, as well as for Windows CE:
Alternatively, you can also use the Move Symbol (on page 137) dynamic element
COLOR GRADIENT
Color gradients can be set in the following direction for the following elements:
Element Linear Selective Selective with edges Radiant
Rectangle X X X X
Circle X X -- X
Segment of a X X -- X
circle
Polygon X X X X
Key:
X: supported
154
Edit screen elements
You can now define the color gradient via the properties of the group Color gradient. You can also define
the color gradient with the mouse. To do this, click on the blue circle in the element with (connecting
line to the middle point) and move the circle until you reach the desired gradient.
Under Windows CE or for Windows Basic settings for the Graphics quality property, color gradients for
buttons and vector elements can only be implemented by means of brightness values. For the display of
color gradients use property:
Brightness outside
Brightness inside
Note:
Property With brightness values need not extra be activated.
Property Angle [°] can only be changed in steps of 90° under Windows CE and at setting Windows
Basis for property Graphics quality.
Information
Gradients are orientated horizontally for angles between 45° and 135°, and angles
between 225° and 315°, otherwise they are vertical.
The With brightness values property is not available for polygons.
BUTTON
For element button under Windows CE and Windows Basis the following is also true:
For property Color gradient the values Selective and Selective with edges are not
available.
TRANSPARENCY
You can switch an element to be completely transparent with the Transparent property.
To switch elements to be partially transparent, use the properties for fill color transparency, gradient
color and frame color. Here, you define the covering power of the colors with values between 0 and 100
percent. In doing so, 0 is opaque and 100 is completely transparent. All values between this appear
transparent according to how they are set.
155
Edit screen elements
EXAMPLES
Information
Control elements to control list fields such as screen scroll bars do not support
transparency.
156
Edit screen elements
If several elements were chosen as source, the properties of the first selected element are transferred.
Information
Accept properties via properties window:
If several elements are highlighted, the properties of the last respective highlighted element
in the properties input is displayed. If the properties window is displayed in the Grouped
view mode or in the All properties mode mode, the respective property can be
transferred to all highlighted elements by pressing the Return key. This is not possible in
the dialog view mode. For details, see the Properties window chapter, Multiselect section.
TRANSFERRED ARE:
Properties that directly define an element in form, color, and appearance and are not influenced
by a variable.
Deactivated properties
Direct properties that it does not make sense to transfer, such as texts and Graphics files
Exception:
Graphics files for a switch are copied as you normally always want to have the same
switches.
Graphics files for buttons are not copied as different ones are normally used.
Properties from groups:
Authorization
Automatic Line Coloring
General
Position
Size and rotation dynamic
Runtime
VBA macros
Write set value
Everything that comes directly from variables
Variables and linked functions
157
Edit screen elements
MOVE
Objects can be moved with the mouse or the keyboard, with the exception of frames. You can use
special effects in combination with function keys when moving:
Key Action Result
Ctrl move with mouse object is copied.
Shift move with mouse object can only be moved horizontally and vertically.
Shift move with arrows Each key press moves the object by 10 pixels.
Right mouse move with mouse The context menu lets you choose between Copy and
button Move.
Space bar Mouse pointer becomes a hand. With this hand, the
editing area can be moved with the left mouse button.
The display of certain lists can be modified in Runtime. Not all configuration options are available for all
lists. The configuration can differ depending on the screen type; for example, headers for Batch Control
can be configured with different properties as those for AML. Most of all, list elements for AML, Batch
Control, CEL, Extended Trend, Report Viewer or RGM have various design options.
158
Edit screen elements
Representation
In the Representation area, the font and line height can be configured and the Extended graphical settings
property can be activated.
FONT
Select the font to be used for the list using the Font property. Click on the ... button to open the dialog
to select a font. You can configure the fonts offered here in the Screens/font lists (on page 234) node.
LINE HEIGHT
You can define the line height regardless of the font size with the Line height [pixel] property.
This property allows you to use customizable horizontal and vertical scroll bars, the header and the grid.
PREVIEW
By activating property Extended graphical settings in the project settings of the control elements of
screen type Chronological Event List the header and the scroll bar are displayed as preview in the
Editor. Details such as colors, fill effects, lighting effects or grids can thus be configured more easily.
Attention: As the size of the scroll bars equals their size in the Runtime, the total size of the list in the
Editor can vary from the size in the Runtime. This is also true for the size of the header and the font of
the header.
Binary values in configurable lists (on page 161) can be displayed graphically or numerically in Runtime.
The display is configured using the properties in the Representation/Display boolean values group.
159
Edit screen elements
Headers are generally configured in the Representation/Header area. Headers for AML and CEL differ
from this; for details, see the section entitled Headers for AML / CEL.
HEADERS GENERAL
You fix the header with the Freeze column location property. You can no longer move columns via
drag&drop in the Runtime. You can still change the column width.
Exception: For AML and CEL the column width can no longer be changed.
To activate the filter line in Runtime, activate the Show filter row property.
Note: Pre-configured filters are also executed if the filter line is not displayed.
You define the height of the header using the Height of the header [in pixels] property. The height is
automatically determined on the basis of the font if the value is 0. The maximum height is 255 pixels.
Information
You can prohibit the manipulation or the visibility of the header for each screen Alarm
Message List by deactivating the property Show header or Make header editable for the
tabular view.
SORTING IN RUNTIME
To mark the relevant column for sorting in Runtime and to determine the sorting sequence, configure
the graphic element for the title line:
1. Select Graphics files for the Display style property.
2. Link the Sort ascending and Sort descending properties with a graphics file
3. The selected graphic for the respective sorting direction is displayed in Runtime for the sorting of
relevant columns
160
Edit screen elements
To define the size and appearance of scroll bars, the header or grids:
1. Activate, in the Representation group, the Extended graphical settings property
2. Define the desired properties in the groups Scroll bars or Header and grid
You can find information on the individual properties in the embedded help.
Information
If the Graphics file property is selected for the Display style property, then all
elements for which no graphics file has been selected are shown with a color gradient.
Transparent graphics cannot be used for control elements for lists.
Checkboxes with graphics can be designed individually. To do this, assign the desired graphics to the
corresponding properties in the Editor. The graphics must already be created in the Files\graphics node.
The defined graphics are drawn in the Runtime with the aspect ratio being taken into account.
You define which graphics file is used for the status of a check box with the properties in the
Representation group:
On: The check box is switched on (activated).
On (inactive): The check box is switched on (activated) and cannot be changed.
Off: The check box is switched off.
Off (inactive): The check box is switched off and cannot be changed.
Configurable lists
161
Edit screen elements
For general information, see also the Design lists (on page 158) chapter.
162
Edit screen elements
Information
Touch boxes can be configured like lists:
AML/CEL/time filter
Edit User
User Groups List
Note: Not all elements can be configured with touch boxes. For example, there is no
header and there is only one column.
The appearance and behavior of the configurable lists in Runtime can be preconfigured in the
Editor using the properties of the Representation group.
The behavior of headers in Runtime is now defined in the Editor by means of the properties of the
Header group:
Show header:
Controls whether the header is displayed in Runtime.
Show filter row:
Controls whether the filter line is displayed in Runtime.
Disable sorting:
Controls the possibility of sorting table columns in Runtime with a click on the header.
Freeze column location:
Controls the possibility to amend or move the width of table columns in Runtime with mouse
actions.
Deactivate context menu:
Activates or deactivates the context menu for the header.
BEHAVIOR IN RUNTIME
EDIT CELLS
You have the following possibilities for editing cells in the configurable list type lists:
Double click on the entry
Click in the cell, immediately followed by a second click (slow double click)
163
Edit screen elements
Depending on the screen type, there may also be a button available to activate editing.
COLOR COLUMNS
In configurable lists, the text color and background color of each column can be defined individually. To
do this, configure the User-defined colors area in the screen switching function of the respective
screen, in the Format columns tab.
SHOW FOCUS
In configurable lists, the respective focus can be signalized by means of different text and background
colors. The cell, column or line that is in focus is emphasized in bold. These colors are configured in the
Selection colors for the object lists project properties in the Graphical design node.
RESPONSE VARIABLES
Configurable lists can be linked to a BOOL response variable. These signalize if something has been
selected in the list in Runtime.
164
Edit screen elements
12.1.8 Add, delete and move dots for polylines, polygons and pipes
With polylines (on page 110), Polygons (on page 141) and pipes (on page 112), dots can be added,
deleted and moved.
ADD DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a line of the polyobject.
The mouse pointer changes to an arrow including a plus sign.
A mouse click adds a corner dot.
DELETE DOTS
or:
Hold down the Ctrl key and Shift key at the same time.
Move the mouse pointer to a point of the polyobject.
The mouse pointer changes to an arrow including a minus sign.
A mouse click removes the point.
MOVE POINTS
165
Edit screen elements
move the mouse pointer over the desired point of the polyobject.
Place the point over the arrow keys at the desired place.
Note:
Pressing on the arrow key moses the position by 1 pixel. If the Shift key is held at the same
time, a press of the button moves the point by 10 pixels.
The options Use grid, Horizontal distance and Vertical distance in the Editor settings are
ignored.
A symbol for the start and end of a line can be defined for all vector elements that display open figures.
This applies for:
Line
Polyline
Unfilled arc of a circle
Unfilled segment of a circle
To add a symbol:
1. Ensure that, in the properties for the Graphics quality property (Screens node), at least DirectX
Software has been selected.
2. Draw the element.
3. In properties, in the End of line group, select the properties for:
a) Start type: Symbol for start of line.
b) End type: Symbol for end of line.
c) Size: enlargement factor for line width. The factor relates to the line width of the vector
element as defined in the Line width [Pixel] property. Default = 0
166
Edit screen elements
Information
These elements are not available:
With Windows CE, because Graphics quality DirectX hardware or DirectX
software must be activated
with a filled circle segment
with a filled arc of a circle
Vector elements with start and end symbols with an enlargement factor of 1.5:
12.1.10 Grid
In zenon Editor, there is the possibility to turn on a grid, in order to align elements at an incremental
position. The grid makes it possible to align elements precisely on the screen. The basic settings are in
the Tools/Settings menu:
167
Edit screen elements
GRID
Options for the display of the configuration environment in the main window of the zenon Editor.
168
Edit screen elements
Option Description
Display grid Display of a grid in the main window of the zenon Editor.
Active:
Shows the grid that can be defined in the main window
under Grid type.
Inactive:
Grid is not displayed.
Color Defines the grid color. Clicking on the color field opens the
pull-down menu to select a color.
The windows color palette is used for selection.
Vertical space Defines the vertical distance between individual lines of the
grid. Therefore, it also defines how finely scaled element
sized can be displayed.
Recommended grid distance: 10 pixel
Horizontal space Defines the horizontal distance between individual lines of
the grid. Therefore, it also defines how finely scaled
element sized can be displayed.
Recommended grid distance: 10 pixel
169
Edit screen elements
Information
If grid points are 5 pixels or less, only the grid lines that are more than 5 pixels apart are
displayed. The smaller grid lines are also used tor the positioning.
12.1.11 Font
A standard font is automatically created when creating a project. This is provided as the standard font
for new objects. The standard font cannot be deleted!
12.1.12 Select
To deselect an object again, click on it with the Ctrl key held down.
If objects are to be aligned next to one another, the object that is selected first is used as a reference.
You recognize the reference object as a completely-filled sizing handle. To make a different object the
reference object:
1. Hold down the Shift key
2. Click the mouse onto the object that is to be the reference object
You can find further information on selecting objects in the Editor/toolbars/alignment and Editor/menu
bar/Edit chapters
170
Edit screen elements
SCALING
Note: If an angel dissimilar to 0 via property Rotation angle [°] was defined for an element, scaling via
arrow keys is not possible.
CENTER
The currently selected element can be centered in the editing window with the H key.
ZOOM
EDITOR
There are two zoom modes available in the Editor above the Zoom symbol:
Variable zoom:
A predefined value can be selected from the combobox, or you can directly enter any value
between 15% and 400%.
Zoom tool:
You can zoom directly in the screen with the two magnifier symbols (+ and -). The CTRL key
switches between the different modes. The defined zoom is saved for each single screen.
Close zoom mode: Click on the Edit mode symbol in the Elements toolbar.
RUNTIME
A screen can only be zoomed within the limits that have been set for the following properties:
Width (maximum) [pixels]
Height (maximum) [pixels]
Breite(Minimum) [Pixel]
Höhe(Minimum) [Pixel]
If a limit has been reached when zooming, then an attempt is made to continue zooming in the free
directions. The page ratio is taken into account in the process.
171
Edit screen elements
In the Extended Trend module, in addition to the window, the curve graphics can also be zoomed into
with a two-finger gesture.
Note for shortcuts: The plus sign (+) means that keys a pressed together.
For example:
Ctrl+A means: Hold down the Control key and then press the A key.
Ctrl++ means: Hold down the Control key and then press the plus key.
172
Edit screen elements
GENERAL
SELECT
POSITIONING
ACTIONS
173
Edit screen elements
Shift+Ins
Inserts element from the clipboard at its original Ctrl+Shift+V
position; original and copy lie congruently on top of
each user
Copies selected element. Ctrl+C
Ctrl+Ins
Copy instead of move Hold down the Control key
when moving
Duplicates the selected element. Ctrl+D
You can find more detailed information in the
Duplicating elements (on page 175) section.
Deletes selected element Del
Cuts out the selected element Shift key+Del
Ctrl+X
Undoes changes Ctrl+Z
Alt+Backspace
Add or delete node in the selected element. Ctrl+Shift key
Add: Mouse cursor turns to plus symbol (+).
Delete: Mouse cursor turns to minus symbol (-).
Works for polylines, polygons and pipe elements.
Cancel drawing of polylines and polygons S
Cancel drawing of polylines and polygons and delete Esc
the section which was drawn last
Move selected elements one level up +
Move selected elements one level down -
Move selected elements to the foreground Ctrl++
Move selected elements to the background Ctrl+-
SCALING
174
Edit screen elements
ZOOM
Duplicating elements
You have the possibility of duplicating elements in screens (on page 34) and elements in the frame
editor to create free frame forms (on page 209).
175
Edit screen elements
To duplicate an element:
1. Select an element.
2. Select the Ctrl+D keyboard shortcut or the Duplicate entry from the element's context menu.
The element is duplicated and positioned with a default distance of 15 pixels to the right and 15
pixels down from the start point of the original element.
If the original element is deselected, the default distance of 15 pixels is used again for the next
duplication process.
Information
Elements are not positioned outside the screen window or the frame window during
duplication. If there is no longer any room for positioning at the corresponding distance,
the elements are added at the edge of the window.
Attention
To be able to copy elements by means of the Ctrl key and the left mouse button being
held down, release the selection and select the Ctrl+D keyboard shortcut once again.
Operable elements in a screen can be linked using a key combination and operated in this way. This
applies, for example, to:
Execution of control elements and assigned functions such as print, move screen, etc.
Send value (such as with switch)
Set focus of certain windows (such as curve list in Extended Trend or Comboboxes in the
Recipegroup Manager)
The element control function can be carried out with the keyboard in Runtime.
176
Edit screen elements
Parameter Description
Key combination Input of the key combination.
Click in the field and press the desired key or key combination, for
example: A. The key combination is displayed in the input field.
X Deletes the character sequence in the input field.
OK Accepts key combination and closes dialog.
Cancel Discards input/change and closes dialog.
Help Opens online help.
You can replace the link of screen elements with variables, functions and ALC aliases.
You can do this either in the Editor or in the Runtime. The engineering for this is always done in the
Editor.
If several variables or functions are to be replaced at the same time, it is best if you use automatic
replacement for:
Replacing linking with screen switching (on page 182)
177
Edit screen elements
You can also read about automated replacement for configuration in the Efficient configuration with
zenon manual in the Reusing elements section.
To be able to replace variables and other elements securely, the naming should be systematic and
standardized if possible. You therefore support not only the reusability, but also maintenance and
reverse engineering.
Germany
KKS (Kraftwerk-Kennzeichen-System - Power Plant Classification System), for details (in German),
see http://de.wikipedia.org/wiki/Kraftwerk-Kennzeichensystem
(http://de.wikipedia.org/wiki/Kraftwerk-Kennzeichensystem)
DIN 6779 (Kennzeichnungssystematik für technische Produkte und technische
Produktdokumentation - Classification System for Technical Products and Technical Product
Documentation), for details (in German), see http://de.wikipedia.org/wiki/DIN_6779
(http://de.wikipedia.org/wiki/DIN_6779)
Equipment Classification System, for details (in German “Anlagenkennzeichnungssystem”), see
http://de.wikipedia.org/wiki/Anlagenkennzeichnungssystem
(http://de.wikipedia.org/wiki/Anlagenkennzeichnungssystem)
International
KKS (Power Plant Classification System), for details, see
http://en.wikipedia.org/wiki/KKS_Power_Plant_Classification_System
(http://en.wikipedia.org/wiki/KKS_Power_Plant_Classification_System)
Such standards exist for all industries. It is recommended that their naming convention is used.
KKS EXAMPLE:
178
Edit screen elements
Linked variables or functions can be permanently replaced in the Editor in a rule-based manner. The
replacement is not limited to the functions or variables defined in the properties of the Variable/function
group. All other variables used the screen can also be replaced, such as variables for Visibility, Flashing,
Size and rotation dynamic and others.
179
Edit screen elements
Property Description
Source Enter the partial string to be searched for.
Place holder * and ? can be used. Placeholders are only permitted as
prefix or suffix; e.g. *xxx or xxx*.
Note when a character appears more than once when using
placeholders:
Example character sequence: 01{SU(00,Test1)}
Test1 should be replaced with Test 2.
REPLACE
180
Edit screen elements
In the Source input field, define the parameters for the element that you wish to replace
Define the parameter for the new variable/function in the Target input field
Specify what is to be replaced via Name/Identification.
Click on Accept.
Information
The target variable or target function can also be in a different project as the source
variable or source function. In doing so, all projects concerned must be started and
available on the same computer in Runtime.
Internal variable IDs are used for replacement. This means that if variables are used or
functions are renamed, the replacement remains.
Attention
When replacing variables, be aware of the type and signal resolution. If you replace a
variable with one of an incompatible type, this can lead to errors during execution. You
will be warned when making the substitution; the substitution will however be carried
out.
Information
Replace via Drag&Drop: Elements that can only contain one variable or function can be
swapped by dragging & dropping. Drag the new variable or function to the element using
the mouse. It automatically replaces the previous one.
181
Edit screen elements
4. The variables WIZ_VAR_10, WIZ_VAR_11, and WIZ_VAR_12 are replaced by the variables
WIZ_VAR_20, WIZ_VAR_21 and WIZ_VAR_22.
Linked variables or functions in one or more elements, as well as Alias in the ALC can be replaced with
screen switching. In doing so, the elements in the screen are not replaced on a lasting basis, but the
screen switching is linked in Runtime.
182
Edit screen elements
Contains elements that can be replaced in the screen, the dialog for replacement is opened
183
Edit screen elements
Property Description
Source Enter the partial string to be searched for.
Place holder * and ? can be used. Placeholders are only permitted as
prefix or suffix; e.g. *xxx or xxx*.
Note when a character appears more than once when using
placeholders:
Example character sequence: 01{SU(00,Test1)}
Test1 should be replaced with Test 2.
REPLACE
184
Edit screen elements
In the Source input field, define the parameters for the element that you wish to replace
Define the parameter for the new variable/function in the Target input field
Specify what is to be replaced via Name/Identification.
Click on Accept.
Information
The target variable or target function can also be in a different project as the source
variable or source function. In doing so, all projects concerned must be started and
available on the same computer in Runtime.
Internal variable IDs are used for replacement. This means that if variables are used or
functions are renamed, the replacement remains.
Attention
When replacing variables, be aware of the type and signal resolution. If you replace a
variable with one of an incompatible type, this can lead to errors during execution. You
will be warned when making the substitution; the substitution will however be carried
out.
REPLACING INTERLOCKINGS
In the dialog, the variables of the interlockings used in this screen appear next to the variables directly
linked to the screen. This also includes the result variable of an interlocking. If a variable was linked to
both the elements of a screen and with interlockings of a screen, they only appear once in the dialog.
The variables to be replaced for all interlockings that use these variables are replaced in Runtime. In
addition to the variables normally linked to interlocking, the result variables linked to the interlocking
are replaced for the screen.
If variables or functions are replaced between a subproject and the integration project, it must be ensured that
all projects involved in Runtime are available and started on the computer.
185
Edit screen elements
Example
Screen switching to a screen of the subproject is configured in the subproject. In doing so,
the variable variable1 of the subproject is replaced by the variable variable2 of the
integration project. In order for this replacement to be carried out in Runtime, the
integration project must be the start project.
If the subproject is the start project, the variable2 variable of the integration project is
not available. No replacement is carried out and the original variable1 variable of the
subproject is used.
The user is not informed that the replacement was not successful in Runtime.
With a command input screen switching function, the Command tab is also displayed:
186
Edit screen elements
Parameters Description
Variable defining the Command Processing Selection of the variable to determine the command.
Click on button ... in order to open the dialog for selecting
variables (on page 200).
Initial step Defines the initial status of the command screen when it
is called up in Runtime. Select from drop-down list:
Step 1
Command screen is in status 1. Step called
up.
Lock
Command screen is called up in Lock status.
Default: Step 1
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
§§Trenner
Information
You can also find further information about the possibilities of substituting variables for
command screens in the variable substitution chapter in the Energy Edition - command
input manual.
When switching screens in Runtime, variables, functions and ALC aliases can be replaced dynamically
using indexing rules or element-specific parameters.
187
Edit screen elements
Attention
Because the names are replaced, variables and functions should always be given
different names. Variables and functions are replaced if the names are the same.
Example: If there is a test variable and a test function and the test variable is to be
replaced, the test function is also replaced at the same time.
Hint: Name variables and functions each with a prefix (for example var_ and func_). You
therefore always have a overview in lists too.
188
Edit screen elements
Attention
In contrast to replacing linkings (on page 182), replacement using indices is purely
name-based and not via internal variable IDs.
This means that if variables, functions or ALC aliases used in the screen switch function are
renamed, these changes must also be made in the screen switch function.
189
Edit screen elements
INDEXING RULES
Parameter Description
Indexing rules Configuration of the rules for the replacement of variables,
functions and ALC aliases.
Source Entry of the source that is to be substituted.
Target Entry of the target. Parameters for values from indexing values
such as ({X01} and parameters {PARAM} for functions can also
be used.
Case sensitive Active: The replacement is case-sensitive.
List of rules List of defined rules.
Add rule Clicking on the button adds the defined rule available via Source
and Target to the list.
Info: If a rule is selected in the list, this is overwritten. To add a
new rule, the selection must be removed beforehand.
Remove rule Clicking on the button deletes the selected rule from the list.
Arrow upwards Clicking on the button arranges the selected rule in the list one
position up.
Arrow downwards Clicking on the button arranges the selected rule in the list one
position down.
Note: The Replace indices method can also be applied without indexing variables. The variables are
entered in the list of rules.
Advantage: If sub-elements are added to the structure, the function does not need to be amended a
further time as was the case with the Replace linkings method.
190
Edit screen elements
INDEXING VARIABLES
Parameter Description
Indexing variables Configuration of the indexing variables.
List of rules Shows the selected indexing variables.
Add Clicking on the button opens the dialog to add and remove
indexing variables.
Selected variables are added in sequence and given a
parameter. This can be used in the replacement rules for the
respective indexing variable. The values of these variables are
genereally used during replacement.
REPLACEMENT PREVIEW
Parameter Description
Replacement preview Lists all configured replacements. Clicking on an entry also fills
the Source and Target options in the indexing rules section.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
Attention
If index variables are used in a network project, the Client must first fetch the value
from the Server. Then the calculation is executed. On devices with weak hardware
performance, this may cause delays when screen switching.
Tip: Always activate index variables in a network project Harddisk data storage active.
191
Edit screen elements
1. All variables and functions used in the screen are displayed in the Source field of the
Replacement preview.
2. Left-click a variable, a function or an ALC alias for which you want to create an indexing rule.
3. In the Indexing rules area, the variable/function is entered in the fields Source and Target.
Alternatively, you can also enter the desired variable/function directly into the Source field in
the Indexing rules.
4. Define the indexing rule.
The dynamic part of the rule is inserted in curly brackets, for example {X01}.
Example:
The source variable Motor1.RPM is replaced by the target Motor{X01}.RPM.
The placeholder X01 is replaced with the respective value of the indexing variable in Runtime.
The replacement rule would thus be:
Source: Motor1
Target: Motor{X01}
5. Carry this over to Add Rule by left clicking in the list of indexing rules.
Info: If a rule is selected in the list, this is overwritten. To add a new rule, the selection must be
removed beforehand.
6. All indexing rules that have been created are displayed in the list.
7. You can change the order of the entries using the button with the arrow symbol.
Attention: The substitutions are executed in the order in which they are displayed in the list!
8. Use the Add... button in the Indexing variables area to add the required indexing variables.
9. The variables which are in this list are always kept in the memory in order to minimize waiting
time when the screen is loaded.
Information
For the placeholder * the same rules as for Replace links (on page 179) are valid.
If the target is in a different project to the source, this can be displayed with #.
192
Edit screen elements
Example
Source: VAR_1
Target: VAR_1 In project 1
You thus enter VAR_1 as the source and Projekt_1#VAR_1 as the target.
Source: SUBPROJEKT1#VAR_1
Target: {X01}VAR_1
The index variable X01 is a string variable and has the project name including # as a
value, for example SUBPROJEKT4#.
Elements in screens which cause a screen switch can be substituted via element-specific parameter at
this screen switch function.
Information
The advantage of this method is that only one function needs to be created and the
substitution formation direct from the calling element is used.
If in the Runtime a function is carried out which uses a substitution, the following possibilities are
available:
1. {PARAM} is replaced by the content of text field Parameter for substitution
2. {PARAM} the calling screen is used for the substitution
Variables and function in screen switch functions can be replaced which are linked to the following
screen elements:
Button
Combo-/Listbox
Combined element
The parameter for the variables and functions to be replaced is used in the substitution dialog for
indices of screen switching. In doing so, the key word {PARAM} is replaced by the content of parameter
Parameter for substitution in the substitution rule.
Attention: Avoid character sequences that are also used for parameter of the indexing variables, such as
{X01}.
193
Edit screen elements
CONFIGURATION
To use parameters:
1. In the filter dialog configure the Target as {PARAM}.
2. Enter the corresponding parameter in the property of the option of the element.
Button and combined element:
Parameter for substitution property in the Variable/function group.
194
Edit screen elements
Combo-/Listbox:
Option Parameter for substitution in the dialog for property Entries of Combobox oder List
box.
RESULT
When executing a function in Runtime that uses substitution, the key word {PARAM} is replaced by its
respective entry.
If the entry does not provide a meaningful result, the original value is displayed.
For example:
If the parameter is 2 and the rule is to replace WIZ_WAR_12* with WIZ_WAR_2 and both
parameters exist, the element that previously displayed WIZ_WAR_12 will now display
WIZ_WAR_2.
If the result of the replacement is WIZ_WAR_2, but the variable-postfix 2 does not exist, the
original value is displayed.
195
Edit screen elements
If you enable the checkbox for property Apply from calling screen, it is possible to use the {PARAM} of
the calling screen for the substitution in the called screen in the Runtime. With this the parameter can
be passed on. If in the calling screen no {PARAM} was defined, the designated string remains empty.
Input field Parameter for substitution becomes inactive as soon as property Apply from calling screen
becomes active.
Combo-/Listbox
Combined element
To do this, neither indexing rules with, for example, {X01}, nor the {PARAM} key word need be used.
Example
Source: Motor1*
Target: Motor2
In Runtime, the variables that start with Motor1 are replaced with Motor2.
Info
For the placeholder * the same rules as for Replace links (on page 179) are valid.
196
Edit screen elements
Information
The advantage of this method:
If new variables are added to a screen (that are to be replaced), the same substitution rules
can be used. This also applies for new structure elements.
The function does not need to be reconfigured in this example, as is the case for replacing
linkings (on page 182).
Attention
The advantage of this method is that, in contrast to Replace linkings (on page 182),
replacement is text-only and is not based on internal variable IDs.
This means that if variables or functions used in the screen switch function are renamed,
these changes must also be made in the screen switch function.
The parameters for indexing variables and functions can be combined as desired and used as often as
desired.
Rules:
If the parameter is configured as a character string {X01} and this index exists for indexing variables,
then {X01} is not replaced by the value of the indexing variables, but only {PARAM} by the character
sequence {X01}, without an attendant variable being searched for.
EXAMPLES
DIFFERENT PARAMETERS
Base values:
The value for the Parameter for substitution property is 1.
Index X01 has the value 2.
Index X02 has the value 3.
Rule:
Replace monitor[3] with monitor[{PARAM}{X01}{X02}{PARAM}{X02}]
Result:
197
Edit screen elements
monitor[12313]
Base values:
The value for the Parameter for substitution property is {X01}.
Index X01 has the value 2.
Index X02 has the value 3.
Rule:
Replace monitor[3] with monitor[{PARAM}{X01}{X02}{PARAM}{X02}]
Result:
mon[{X01}23{X01}3]
A graphics file can be displayed in the background of every screen. These graphics are positioned in the
visibility level furthest to the back and are covered by all other screen elements. It works along the lines
of the background graphics of Windows Desktop.
Options such as centered or tiled are available for positioning. It is not possible to freely move the
graphics.
Only graphics data that is already available in the project in the Files/Graphics area can be used. See:
Files.
Hint: If you wish to use the same background graphics for several screens, you can pre-define the
background graphics in the frames. See: Background graphics for frames (on page 217)
Hint: Alternatively, a button with a graphics file can be used without a linked function to display a
freely-positionable graphics file
198
Edit screen elements
12.4 Functions
Element Description
Project tree Definition of the project from which the function should be selected.
Selection window Selection of the function.
No selection Depending on the element:
the dialog is canceled
already linked functions are deleted
Hint: The size of this dialog can be adjusted. The dialog size and position are saved.
1. manually
in the Project Manager´s Detail view open the functions
drag the desired function on the element while holding the left mouse button
the previous function is substituted by the new one
2. automatic
199
Edit screen elements
Select the entry Replace links from the context menu. For more details see chapter
Substitution of variables and functions in dynamic elements (on page 177).
12.5 Variables
LINKING A VARIABLE
Elements that can only be linked with one unique variable open the following dialog:
200
Edit screen elements
Element Description
Project tree Selection of the project from which the variable is to be selected.
Selection window Selection of the variable which shall be linked. It can be linked in two ways:
By double-clicking on the desired variable: The dialog is closed
automatically.
By selecting the desired variable and subsequently clicking OK.
No selection Depending on the element:
the dialog is canceled
Variables that are already linked are deleted (such as linked lot
variables in the Historian)
Note: The size of this dialog can be adjusted. The position and size of the dialog window are saved in the
Editor, Runtime and zenon Web Client independently of the project.
ERROR TREATMENT
If the desired variable is not displayed, there can by several reasons for this:
You have selected a filter and the desired variable does not match the filter: Check whether
there is a filter active in the filter line. The information about filtered elements that is displayed
at the bottom of the selection window also helps when checking for an active filter.
The dialog is filtered by the Editor and the variable does not match the filter. The filtered
switching then occurs if only a certain data type is permitted. For example, with a numeric
value data element, no string variables can be linked.
You have selected the wring project in the project tree.
Attention
The dialog generally allows the selection of several variables using the conventional
Windows keyboard shortcuts. In selection dialogs for just one variable, only one can be
linked however. With multiple selection, the first variable selected is assigned to the
element.
201
Edit screen elements
Elements that can be linked to multiple variables open the following dialog:
Element Description
Project tree Definition of the project from which the variable shall be selected.
Selection window Selection of the variables:
Double click the selected variable in order to add it to the variable
list.
You can move the selected variable to the variable list via Drag&Drop
Select the desired variable. With the help of Ctrl or Shift
multi-selection is possible. By clicking Add the selected variables are
added to the variable list.
Variable List Lists all selected variables.
Add Adds the currently selected variable of the selection window to the variable
list.
Remove Removes the variables which are selected in the variable list from the list.
No selection Depending on the element:
the dialog is canceled
certain links such as lot variables in archiving can be released
Note: The size of this dialog can be adjusted. The position and size of the dialog window are saved in the
Editor, Runtime and zenon Web Client independently of the project.
202
Frames
ERROR TREATMENT
If the desired variable is not displayed, there can by several reasons for this:
You have selected a filter and the desired variable does not match the filter: Check whether
there is a filter active in the filter line. The information about filtered elements that is displayed
at the bottom of the selection window also helps when checking for an active filter.
The dialog is filtered by the Editor and the variable does not match the filter. The filtered
switching then occurs if only a certain data type is permitted. For example, with a numeric
value data element, no string variables can be linked.
You have selected the wring project in the project tree.
Select the Replace links entry from the context menu of the element. For more details see chapter
Substitution of variables and functions in dynamic elements (on page 177).
13. Frames
Frames form the basis for the layout of the window and the screens displayed during the Runtime. You
structure the display on the screen and determine the position. Each screen is assigned to a frame and
displayed in the screen area defined by the frame.
Frames determine the general window properties such as position, size, appearance and manipulation
options during runtime.
Frames:
Provides an overview of all screen areas defined in a project.
Can be freely defined using the Define free frame shape property.
Enable special functions to be allocated to all screens available in a frame, for instance:
Screen: Return to last, Set focus to frame, Take focus away from frame, Close frame, Alarms:
acknowledge flashing, Print screenshot.
Change all screens based on the corresponding frame
Screens always appear in the same size at the defined location in runtime and cannot be moved
as desired
Can be automatically closed in Runtime if the focus is lost
Screens within a frame can be optionally changed in the online mode.
203
Frames
Information
If there is no frame when creating a screen, then zenon automatically creates a default
frame that covers the whole monitor.
Open Frame Editor Opens the frame editor in the main window and shows the list of
frames in detail view.
Export all as XML Exports all entries as an XML file.
204
Frames
Edit selected cell Opens the selected cell for editing. The binocular symbol in the
header shows which cell has been selected in a highlighted line.
Only cells that can be edited can be selected.
Replace text in selected column Opens the dialog for searching and replacing texts.
You can define and position all frames in the frame editor.
205
Frames
The size displayed in the frame editor is dependent on the monitor size set in monitor administration.
See chapter on Monitor administration.) If the monitor settings are subsequently changed, the frame
editor must be closed and reopened in order for it to take the new monitor settings into account.
The red frame for the alarm status line is automatically created at the upper edge of the screen by
zenon for each project. Its position can be changed via the properties in the Position group. To do this,
the Use standard position property must be deactivated.
or
Frame detail view -> Context menu -> New frame
Mounting a new frame:
206
Frames
Note: The mouse pointer turns into a symbol with four tips as soon as you enter the frame area. Press
and hold the left mouse button in order to move the frame to the desired location. If you click on a
corner of the edge area of the frame, the mouse pointer turns into a two-sided arrow symbol. With this
you can drag the frame to the desired size.
To create a palette:
1. In the project manager, select the Frames sub item in the Screens node.
2. Select New frame in the context menu.
3. A new waterfall frame is created.
4. The initial size is determined by the size of the display.
5. click in the new frame and drag the frame over the touch point to the desired size
The size, as well as the size when called up in Runtime and the properties for moving (on page
210) are modified by means of the properties on the Position group.
6. Position the frame at the desired location in the window.
7. Define the desired properties in the properties window
Attention
If frames receive the same name in the global project and in the subproject, then frames
in the global project are automatically given the prefix g_.
207
Frames
Example
three areas must be present in the whole project:
A header appears at the top of the screen with the time and a logo.
A header frame is defined for this area. This defines the size and position of
the header.
A menu appears at the bottom of the screen.
A menu bar is created.
Interim process screens.
A process screen is created.
Frames are always displayed in the defined size at the defined location. All screens
created then are linked to one of these frames and in the Runtime opened in it. If the
screen design is changed, because, for instance, menu bars are to be displayed at the top
and the header is to be a footer, only the position of the frames need be changed. The
screens contained in the frames are automatically carried over.
Hint: Never place the templates directly above one another. This way you ensure that you always have
access to the screens in Runtime.
if the size of a frame can be changed in Runtime, the permitted size changes can be limited by means of
the following properties in the Position group:
Breite(Minimum) [Pixel]: Defines the minimum width.
Breite(Maximum) [Pixel]: Defines the maximum width.
Höhe(Minimum) [Pixel]: Defines the minimum height.
Höhe(Maximum) [Pixel]: Defines the maximum height.
POSITIONING FRAMES
The position and orientation of a frame or a group of selected frame can be selected via the Arrange
context menu in the main window.
If the option 'Use connection points' was activated (see chapter Editor, Section Settings), the connection
points of frames stick to those of other frames. In addition, frames can connect to the screen border and
to a possibly present (if activated in the project) alarm line.
208
Frames
You can adapt the frame shape to your individual wishes using the Freely defineable frame shape
property. After you have activated this property, you arrive at the frame editor in one of the following
ways:
Click on the button of the Define free frame shape property
Click on the corresponding symbol frame in the toolbar (on page 204)
Select the menu entry Define Free Frame in the context menu (on page 204) when selecting the
frame
Select the Define Free Frame menu entry in the Context menu in the frame editor
Double click on a frame in the frame editor
Here, you can create the frame as you wish with the rectangle, circle, rounded rectangle and
polygon elements. The transparent area is shown as a white-gray chessboard pattern.
Information
Freely defineable frame shape is not available:
For alarm status line frame
Under Windows CE
If the Define free frame shape property is deactivated an existing free frame form is not
displayed in either the frame editor or the screen editor.
Freely defineable frame shape Cannot be used with Border.
You decide how the respective element influences the appearance of the frame with the help of the
Area utilization property. To do this, the following settings are available:
Parameter Description
Cover The surface of the element is used as the screen area.
Cut The surface of the element is removed from the surfaces underneath. For instance, you
can create "holes" in the frame, for example.
ORed This is either cut out or covered according to whether a covering element is under the
element or not.
Info
The way the surface is used always relates to the surfaces under the element. If you, for
example, draw a covering element over a cutting element, the surface is displayed filled.
If you reverse the sequence, the cutting element is removed from the covering element.
209
Frames
You obtain information on the name and position of the frame in the upper left corner of the frame and
via tooltip if you move the mouse pointer over the frame.
Information
A system menu or an alarm status line is automatically taken into account in the frame
editor and always displayed in the foreground. An incorrectly positioned frame can
therefore not hide any important information during runtime.
Frames can be switched to fixed or relatively defined positions in Runtime. In this way, keyboard screens
or pop-up screens can be positioned exactly where the mouse pointer or the element to be switched is
located. Frames can be switched in runtime:
at an absolute position
relative to the mouse position
relative to element
Absolute and relative positions are defined in the properties of the frame in the zenon Editor.
Windows always take their screen position from the template. If pop up screens are planned and moved
whilst the program is running, the pop up screen is moved back to the planned position the next time
the screen switching function is activated. Using the Keep position and size on reopening property, the
template can be set to keep its position as long as it is open, regardless of screen switches. If the
property is active:
210
Frames
If a screen is opened in Runtime in a manually-moved frame, its position and size are also
retained if the screen is switched.
If another screen is opened in the in the same template, its position and size are retained. This
also applies for a substituted call.
With this, a different position position for a template can be used on each client, because the local
position is always saved.
ABSOLUTE POSITIONING
The frame is always switched at fixed, pre-defined coordinates. A fixed screen position is always used for
all screens that are loaded automatically by the system, e.g. by the time control or a limit value
violation.
RELATIVE POSITIONING
Relative positioning is especially suited to loading pop-ups, keyboard screens or command processing
screens. This is possible for all screen switches, set value inputs with freely defined keyboard screens,
and command processing screens that are started manually by the user. It does not matter whether the
action was triggered by a screen switch function, a set value function or directly via an element. Relative
positioning is available for:
dynamic elements to which you can allocate a function
dynamic elements that can be used to send a set value (buttons, combined elements)
Main and Context Menus
execute the screen-specific function in the Alarm Message List screen
Relative positioning also works for nested function calls, i.e. when screen switching or the setting of
values are triggered by a script. If the screen were to go beyond the edge of the monitor, it is
automatically positioned at the edge of the monitor. This also applies to multi-monitor management, so
that it cannot protrude into the adjacent monitor.
Attention
Relative positioning only works when called up directly by the user, not with
automated functions or via VBA.
Positions the reference point of the frame relative to the element from which the screen switch was
initiated (e.g. a button or a combined element). The frame's reference point is then always placed on
the element's calculated reference point. If the frame cannot be switched on in this position because
the screen would then be outside the visible screen area, the alternative reference points are used.
211
Frames
First define a reference point for your frame and then the preferred position in the element. The
following settings are available:
Property Value
Reference point element vertical bottom
top
Reference point element horizontal Left
Right
Vertical movement in pixels Enter the desired movement
Horizontal movement in pixels Enter the desired movement
ALTERNATIVE POSITION
Define an alternative position for the reference point of the frame and the reference point at the
element. Proceed with the definition of the alternative positions in the same way as with the definition
of the favored positions. The alternative position is used when the frame cannot be placed at the
favored position.
The screen is displayed depending on the position of the mouse pointer. If the reference point is at the
top left side, the frame will be loaded to the bottom right side of the reference point. If the screen
cannot be displayed completely at the configured position, the position will be moved until the
complete screen is inside the displayed area of the monitor.
Define the frame's reference point above the two properties, vertical reference point and horizontal
reference point. The reference point is marked on the frame with a red dot. The following settings are
available:
Property Value
Reference point frame vertical top
bottom
centered
Reference point frame horizontal Left
Right
centered
212
Frames
Example
you have a button at the right border of the screen and try to position a popup window
on its right side:
Reference point element: right/centered
Frame reference point: left/centered
In Runtime, the popup screen will appear on the right side of the button, centered to the
middle of the button. The popup window will not cover the button.
You use the same frame also for a button on the left screen border. There may not be
enough room on the right side to completely display the popup screen. The alternative
configured position will therefore be used. For this, you place the
alternative reference point for the element on: left/centered
the frame's alternative reference point on right/centered
The size with which a screen is called up in Runtime and the permitted changes in size are configured
with the properties of the Position group. In the zenon Editor, navigate to the Screens node. Click on the
Frames subnode there and select a configured template in the preview window.
213
Frames
Property Description
Width (maximum) [pixels]: Defines the maximum width.
Height (maximum) [pixels]: Defines the maximum height.
Limitation Minimum: Defines limits for minimum. Possible values:
Without. No limitation
If a different value is selected, the selected limit in Runtime is
displayed with a dotted line in the frame window.
Width: Width limitation.
Height. Height limitation.
Relative: Limitation to a percentage value of the set screen size.
The corresponding values are defined with the Value (Opening size)
property.
Default: Frame size
MOVE
Moving always relates to the monitors defined in the monitor administration. These settings are not
supported under Windows CE.
214
Frames
The limit is only effective if the frame is already within the defined limit when it is opened. If the moving
of a frame is not limited, it can - with Multi-Touch gestures for example - be moved beyond the visible
area.
Information
The moving of frames is most of all envisaged for full-screen operation. The Runtime
application itself should not be moved to a different screen. If Runtime is moved, this can
lead to limitations when moving.
ZOOM
The limits also apply for zooming. If a limit is reached when zooming, an attempt is made to continue
zooming in the free space. In doing so, the side ratio is retained.
When moving and zooming, the frames act as follows, depending on the settings made:
215
Frames
Frames can be called up several times in Runtime: Screens can therefore also be called up several times.
To make frames able to be called up more than once, activate the Frame can be opened multiple times
property in the General group of the frame properties.
If this option is activated, the frame is created as an independent instance each time a screen is called
up. That means: Screens that have been opened before in this frame remain open.
If screens that are switched more than once are covered by others, it can happen that these screens
remain open, invisible and inaccessible in the background, until Runtime is closed.
The person configuring the project must therefore ensure that no screens get into the background this
way.
Recommendations:
Activating Always in the foreground property: This keeps the frame/screen in the foreground at
all times.
Configuration of the Close frame (on page 483) function: This closes all screens that are based on
this frame, including those opened in the background.
Configuring frames as freely placeable: Operators should be able to place frames on the screen
according to their requirements. For example, using touch, with the mouse, or configuration of
the relative position of the frame to a control or mouse pointer.
To open only one screen once per symbol, configure a button that is switched to invisible once it is first
opened:
1. Create a button in the symbol.
2. Control the visibility of the button with a bool variable
3. Set this bool variable as a screen-active variable in the screen
As soon as the screen has been opened once, the button can no longer be operated.
216
Frames
Frames can always be automatically closed if the focus is lost In doing so, all screens that relate to this
template are closed. Activate the Close after losing focus property to automatically close frames if they
are no longer in focus.
This closing in the event of a loss of focus can also be suppressed. To do this, activate the Do not close
after losing focus property. If this frame gets the focus, all other frames with the Close after losing focus
property active remain open despite the loss of focus.
Attention
Deletion of frames cannot be undone.
A graphics file can be displayed in the background of every screen. These graphics are positioned in the
visibility level furthest to the back and are covered by all other screen elements. They are positioned via
properties; it is not possible to position them freely. Only graphics data that is already available in the
project manager in the files/graphics area can be used.
If several screens use the same background color, this is defined with the screen frame:
1. In properties, click on the Graphics File property in the Background graphic node
2. select a file from the files/Graphics node in project manager
3. define the position with the Alignment property
this graphics file is then used for all screens that are created using this frame. However, individual
graphics files can still be defined as a background screen for each screen.
217
Frames
Warning! The graphics file is saved with the screens. Changing the graphics file or how they are set up in
the frame is only effective for new screens. Existing screens must be changed manually.
In multiuser operation, all usual mechanisms for allowing and accepting changes are implemented. In
the frame editor however, in contrast to the screens, every frame is handled individually in the frame
editor as opposed to the entire screen being released. For a better overview, frames where changes are
not permitted are marked with a dotted border.
In dialog main frame you define the frames which will be considered by system driver variable Lastly
opened screen..
To define frames:
1. Navigate to project property Main frames in node Graphical design/Runtime general.
2. Click on the ... button.
The dialog for selecting the frame opens.
218
Frames
You can find additional effects for screen elements in chapter effects for screen elements (on page 142).
With the help of Highlight frame you can highlight a screen in order to draw attention to this screen. For
this the frame, on which the screen is based, is highlighted by coloring the remaining area of the
Runtime. For this a color and a transparency are defined for the surrounding of the frame of the screen
which covers the screen lying below. The screen lying below cannot be operated.
Note:
The screens must be based on different frames with different sizes.
Only one screen with the Highlight frame property active can be called up at any one time.
Screens can be called up from the highlighted screen, if they also have the Highlight frame
property activated. These are also highlighted.
For example, a keyboard can be called up from a list. The list and keyboard are then both shown
as emphasized.
Attention: A non-modal screen cannot be called up from a modal screen!
If a non-modal screen is called up using a modal one, this screen is visible but cannot be
operated. The modal screen under this also cannot be operated because it is hidden. Runtime is
thus blocked!
This setting is ignored for use in a faceplate container.
CONFIGURATION
With the help of property Highlight frame you can call up a small screen above a larger screen.
Configuration:
1. navigate to group Display in the screen properties.
2. Activate the Modal dialog property.
3. Activate the Highlight frame property.
4. With property Surrounding color you configure the color with which the surrounding of the
active screen should be colored.
This property always affects the frame on which the screen is based.
5. With property Surrounding transparency configure the transparency of property Surrounding
color.
219
Frames
6. Engineer a button for the screen in order to be able to close it in the Runtime.
As soon as you open this screen above another, the area surrounding the frame is colored. Thus
optically highlighting the screen. Only this screen can still be operated. After closing the screen, other
screens are displayed in normal color again and can be operated.
EXAMPLE
Screen is opened:
220
Color Palettes
Second screen with active effect Highlight frame is also opened. Everything outside the additionally
opened screen is highlighted with the color defined in property Surrounding color and the transparency
defined in property Surrounding transparency.
This also allows the implementation of corporate design requirements without problems. If necessary,
the design can be replaced completely (switching palettes) or only individual colors (color switch in
palette) can be changed centrally.
221
Color Palettes
Information
Do not use zenon color palettes for dynamic limit values for zenon projects whose data is
to be exported for zenon Analyzer. Limit values cannot be dynamically amended in zenon
Analyzer. Information from color palettes can therefore not be evaluated. This can lead
to illegible graphics.
ENGINEERING
Color palettes are created in the editor, can be exported and imported and there is a function to switch
these in runtime. Color palettes can be created in both a global project and a local project.
Note: All palettes of a project always contain the same amount of colors. The number of colors of a
global project and local project can thus be different.
Attention
In the event of conflicts in the Runtime, the local project's color palettes take
priority.
Editor profile Opens the drop-down list with predefined editor profiles.
Help Opens online help.
222
Color Palettes
Symbol Action
New palette Creates a new color palette with the standard names Color
palette plus continuous Index number.
Create standard opens the dialog to create a Palette Switching Function (on page
function 229) and automatically activates the selected palette in the
drop-down list.
Delete color palette Delete the palette of the highlighted color. Palettes can only be
deleted individually
New color Creates a new color with the standard color white and the
standard name Color plus Index number. New colors are always
created for for all palettes of the project.
Hint: Give clearly distinct names for the global project and the
local project.
Delete color Deletes the selected color from all palettes of the project.
Note: The command is only active if the last color in each palette
is highlighted. Because: Only the last color of a palette can be
deleted, so that the index numbers continue to work.
Furthermore, the color must be deleted for all palettes, so that the
number of colors remains identical in all palettes.
Copy Copies the selected colors to the clipboard.
Paste Pastes selected colors from the clipboard.
Jump back to starting Jumps back to the initial position in the zenon Editor.
element
Note: This context menu entry is only available if a jump to the
current position has been made from another position with the
Linked elements context menu entry.
Palette in the Editor opens a drop-down lists with all palettes that can be defined in the
local project and in the global project.
Save Saves all changes to the color palettes.
223
Color Palettes
You can create color palettes globally or in a local project. Global color palettes are available in all
projects, local color palettes are only available in the project in which they were created. If there are
conflicts when setting these in runtime, the color projects of the local project take priority(see alsoColor
palettes in Runtime (on page 228)).
the same number of colors as the pre-existing palettes, all colors are white as standard
224
Color Palettes
To delete a palette:
1. Highlight the palette's complete column
2. Select Delete color palette in the context menu or in the toolbar, or press the Del key.
The palette will be deleted without asking for confirmation.
CREATE COLOR
RENAME COLOR
To rename a color:
1. Select the color
2. In properties, select Color the property Color name in the group.
3. Enter the desired name.
DEFINE COLOR
to define a color:
1. Highlight the desired color in the palette
2. Enter the color:
either directly into the table cell in the detail view, as a hexadecimal code or via the
selection dialog by clicking on ...
225
Color Palettes
or in the properties in the Color group in the Property Color field as a hexadecimal code or
via the selection dialog by clicking on ...
To select pre-defined base colors from a dialog or to create your own colors:
1. In the detail view, click in the cell with the desired color or in Properties Color on ...
The dialog for the selection of standard colors opens.
COPY COLOR
226
Color Palettes
DELETE COLOR
Colors from palette are distinguished clearly by means of their index in the palettes (= row number in
palette window). Therefore the colors can only be deleted at the end of the palette, because otherwise
the indices of subsequent colors would change. Because all palettes in the project must have the same
color, only complete rows can be deleted. To delete a color from all palettes:
1. Highlight the rows to be deleted, starting with the lower end of the palette colors
For highlighting use the pressed left mouse button and the Ctrl key or the shortcut
Ctrl+Shift.
2. Select Delete color in the context menu or in the tool bar, or press the DEL key.
In the editor, a palette can be used as the active palette for display and color selection from the local or
global project.
Note: Palettes from the local project are arranged before those from the global project.
Attention: If there are palettes with the same name in the global and local projects, only the palettes
from the local project are offered for selection.
Attention
If there is a different number of colors configured per palette in the global and local
project, there may be less colors available for the active palette selection!
Palette definitions from the local project always have priority: If there is at least one
color configured in the local project palettes, the amount of colors from the local
palette are offered; otherwise the amount of a colors in the global project are
offered.
227
Color Palettes
If an element is assigned a color via properties, the color dialog opens with two tabs:
If there are not palettes with at least one color configured in the local or global project, or if the
property does not allow a color to be assigned, only the tab colors are displayed.
Changes to color palettes can only be enabled, transferred or discarded for all palettes of a project.
The palettes of the global project and local project are carried over in a joint list when creating Runtime
files. There may be conflicts in doing so. Note:
The local project always has priority.
Each palette displays the unified amount and therefore contains as many colors as the largest
palette.
If the palette of the global project and the local project contain different amounts of colors, the
shorter palettes are filled with white, so that all palettes have the same amounts of colors and a
color is available in each palette for each color index.
With palettes that have the same name, the palettes of the local project are used and filled with
the colors of the global project if this contains more colors.
Example:
228
Color Palettes
There are 3 palettes in the global project: Global 1, Global 2 and Palette 1 with 10 colors each.
There are two colors in the local project: Palette 1 and Palette 2 with 5 colors each.
In Runtime there is then:
Palette 1 comes from the local project and overwrites Palette 1 from the global project; it
contains the 5 colors from the local project plus the colors 6 - 10 fromPalette 1 from the
global project
Palette 2 contains the 5 colors from the local project plus the colors 6 - 10 initialized as
white
Global 1: Contains the 10 colors from the global project
Global 2: Contains the 10 colors from the global project
To switch colors in runtime, you need the Switch palette function (see chapter on switching color
palettes (on page 229)).
You can find an example of switching in Runtime in the chapter on the example for editor und Runtime
(on page 232).
When starting runtime, the first palette in the project automatically becomes active, so long as another
palette is not activated via a start script.
The active palette can be changed in runtime by means of the Switch palette function. All screens and
elements are then relabeled with the colors of the new palette.
The respective active palette is defined via the name of the palette. If no palette exists with the given
name, the first palette in the project is activated.
229
Color Palettes
Option Description
Palette Select the desired color palette from the drop-down list.
Show this dialog in the Runtime Enables a new color palette to be selected in runtime.
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
These settings can be modified in the properties of the function in the General group at any time.
230
Color Palettes
Color palettes can be exported as XML files and imported from these.
EXPORT
To export a palette:
1. Select the desired palette.
To select several palettes use the ctrl or shift key or hold down the left mouse button and
move the mouse over the title line of the table Only complete selected palettes can be exported,
not individual colors.
Note: Selected palettes can no longer be deselected individually.
2. Select Export selected as XML... in the context menu or in the toolbar.
3. In the file manager that opens, select a location to save the file and a name for the XML file
IMPORT
To import a palette:
1. Select Import XML... in the context menu or in the toolbar
2. Select the file you wish to import in the file manager that opens
3. The palettes saved in the XML file will be imported.
Attention
231
Color Palettes
When transferring elements, for example by importing XML files or copying & pasting, some palette
colors may no longer be displayed correctly. Possible reasons:
No color palettes have been created in the project yet.
Palettes have a different number of colors.
Colors were deleted.
The corresponding error message is displayed in the properties input field, the element is displayed in
white.
IN THE EDITOR
This is how you use color palettes in the editor for example:
1. Create a screen with a button with text and a graphic element
2. Select the property Fill color.
3. Click on the button ...
The dialog for selecting colors opens.
4. Select the Color palette tab.
The colors of the active color palette are displayed.
5. select the desired color
6. Repeat this step for the properties Border color and Text color.
232
Color Palettes
233
Fonts
IN THE RUNTIME
The screen with the color palette activated in the editor is displayed in Runtime.
If you have configured a switch color palettes (on page 229) function, you can select an engineered color
palettes in the Runtime.
To do this:
1. Click on the element.
2. If the Show this dialog in Runtime option has been activated, a new palette can be chosen in
Runtime. Otherwise the palette prescribed in the function is automatically used.
15. Fonts
In zenon all the fonts installed in the operating system can be used. The Fonts node is under the
Screens node in the Project Manager.
234
Fonts
Information
The selected font must also be present on the target system with Runtime. If the font is
not present on the target system, another font present on the system from the same
family is used.
Not all fonts are suitable for use with DirectX. TrueType and OpenType are suitable for use with DirectX.
Bitmap fonts are not suitable. Unsuitable fonts are replaced by a suitable font in Runtime.
Recommended for use zenon and suitable for DirectX:
TrueType (.ttf)
OpenType (.otf)
Not suitable:
Bitmap (.fon) such as System or Script for example
Adobe Type 1 (.pfm/.pfb)
By default, one font list exists. This is displayed in the detail view if the Screens/Fonts node is selected
in the Project Manager.
235
Fonts
Parameter Description
New font list Creates a new font list.
For details, see the Creating a new font list (on page 237) section.
Delete font list Deletes the selected font list.
Font new Creates a new font. The operating system's font dialog is opened. Settings for
font, style, degree etc. can be changed.
See chapter Creating a new font (on page 238) also.
Delete font Removes the selected font from the font list.
Jump back to starting Jumps back to the initial position in the zenon Editor.
element
Note: This context menu entry is only available if a jump to the current
position has been made from another position with the Linked elements
context menu entry.
Font list in Editor Displays all existing font list, the active one is marked.
Save Saves the changes.
Export selected XML Exports selected elements as an XML file. For details, see the Import/Export
Screens /Fonts chapter.
Attention
Name changes performed later on will not be integrated automatically. If you change the
name of a font list after creating a function Language Change for this font list, you
also have to change the name of the font list in that function.
The Editor always has a font list actively switched. To use fonts from the standard project and the global
project, the font lists in these two projects must be named the same.
To avoid this effect: Plan a language switching function by selecting the font list.
236
Fonts
To link elements to fonts other than those in Font list 1, another font list must be created.
A new font list can be created in the Project Manager in the section Screens/Fonts with the entry Font
list new from the context menu. The new font list is displayed in the detail view of the Project Manager.
The standard font is also automatically created in the first position here.
To activate a font list, click in the header for the desired font list and select the entry Font list in the
Editor from the context menu. This can be necessary for language switchable texts. So you can check
already in the Editor, how the element with the font will look in the Runtime. (e.g. whether the font is
too large for a button). See chapter: Language switch/Fonts
Information
There is no standard font list for Runtime. If several font lists are planned, the font list to
be used in Runtime must be set using Language switching.
Every new element is linked to a default font. This is the font that is assigned to the element type.
Changing the property Font of an element causes that every new element of that element type is
connected to this new font. After the editor is restarted, the default font is used for all element types
again. The default font is Arial 10 and is on the second position of the list. Position.
The following fonts are automatically created when a project is first created:
Font Font style Font size Information
Arial Standard 8
Arial Standard 10 Standard font
Arial Standard 12
Arial Standard 14
Arial Standard 20
Note:
237
Fonts
The default font can be edited. The changes take effect everywhere where this font is linked.
The system font is not scalable, which can lead to problems when zooming or when amending
the resolution automatically.
The default font can be changed via the Font property. The dialog is the same one that opens
when New font is selected in the context menu.
One font list exists by default, which is displayed in the detail view of the Project Manager and can be
filled with different fonts.
Click in the window of the detail view and open the context menu with a right mouse click. Select the
entry 'Font new' here.
The Windows dialog Font is opened. Here the following settings are available:
Parameter Description
Font All fonts of the operating system are sorted alphabetically
Font style Bold, italic, etc.
Font size Font size in pixels
Effects Underlined, strike-out
Color Selection of the font color
Script Western, Cyrillic, etc.
238
Fonts
Information
The color settings are ignored. Text is displayed in black unless the color has been
explicitly edited in the properties Text colors only change in the Runtime (e.g. because of
limit value violations).
Attention
All fonts used must be installed on all computers on which the project will be started.
The installation can also be carried out with Remote Transport. See also Define files
(Editing: Copy & register).
When creating a zenon project, 5 standard fonts (on page 237) are created. The name of the font list
and the standard font are dependent on the language in which the Editor was started. This applies for
standard projects and global projects.
The fonts are given numbers. Number 1 and 2 are standard fonts. These two numbers cannot be
changed, all other numbers can be adapted individually. When creating dynamic elements, this is
automatically allocated to the font with number 2.
The Editor always has a font list actively switched. To use fonts from the standard project and the global
project, the font lists in these two projects must be named the same.
Note: zenon projects that have been converted from version 5.50 into a later version have no standard
font list if the project has no fonts in 5.50.
Fonts from the local standard project have a higher priority than fonts from the global project.
For example: There is a font with the number 50 in the global project. This font can be used in the
workspace in any standard project as long as the standard project does not have a font with the number
50. If there is also a number 50 in the standard project, this font is used.
The fonts with the numbers 1 and 2 cannot be deleted in the standard project. That means: The fonts
with the number 1 and 2 can be changed in the global project. However, they cannot be used in the
standard project, because these two numbers are always present in the standard project and have a
higher priority. An offset can be used to differentiate fonts from the global project and the standard
project. For example, font 2 from the standard project can become font 2002 in the global project.
239
Fonts
Workaround to use fonts 1 and 2 from the global project in the standard project: Delete the font list in
the standard project and name a new empty font list the same as the font list in the global project.
If the fonts with the numbers 1 and 2 from the global project are to be used in the standard project, the
font list must be deleted in the standard project. To do this:
1. This is how you create a project backup:
2. If adapted fonts from a standard project are to be used globally:
a) Carry out an XML export of the font list from the standard project
b) Carry out an XML import of the font list into the global project
3. Open the SQL folder for the standard project
Hint: Highlight the project in zenon -> press Ctrl+Alt+E -> Explorer opens the project folder
-> navigate on to zenon/system
4. close the workspace
5. Delete the file named fonts.bin
6. open the workspace
7. Now name an empty font list with the same name as the font list in the global project
Now the fonts with the numbers 1 and 2 from the global project are used in the standard project. New
elements use the font with number 2 from the global project, if this is available, and the system font if
the global project is not available.
When importing and exporting via XML, the Name property is used for identification with dynamic
elements. If for example, in the global project there is a font with the name "zenon" and in the local
standard project there is another font that also has the name "zenon", then the font of the local project
is used during import and export.
Hint: The font names must be clear in the global project and standard project. The Editor does not check
this.
VBA
VBA uses the Number property of the font for dynamic elements. Here, the offset can be useful for fonts
in the global project and in the standard project.
For example: Font 2 from the standard project is replaced by 2002 from the global project. For vector
elements, the font number is saved in the second position of the font string. In the font string "0 7 0 0
240
Symbols and element groups
700 255 0 0 0 3 2 5 34 Arial", the number of the font is7 and can easily be replaced by 2007 from
the global project.
There are two possibilities to link a font to a dynamic or vector element (e.g: to link a text (on page 114))
Drag&Drop:
In the font list, click in the cell with the counter number of the desired font.
Drag it to the desired element while holding the left mouse button.
The font is linked to the element.
Properties:
The font can also be linked in the properties of the selected element.
Click on the ... button of the Font property in the Text style group to open the dialog to select a
font.
241
Symbols and element groups
242
Symbols and element groups
General -- + --
symbol library
Symbol library -- -- +
in the global project
Symbol library -- + --
in the project
Key:
+: copying possible
In order to be able to work with both libraries at the same time, the preview of the libraries is displayed
in separate windows. In doing so, the names of the libraries are displayed in the tabs on the main
screen.
Note: If, for the global project, an authorization level greater than 0 is configured for the editing of
screens and the logged-in user does not have this authorization level, the adding of symbols into the
symbol library of the global project is not possible. Linked symbols from the global project also cannot
be edited in screens of the local project in this case.
243
Symbols and element groups
Attention
Symbols from the general symbol library are saved locally for each theme group (such
as tank, substation, ...) in a separate file (*.sym) in the zenon program folder.
These files must always be added manually to back-up the project with multi-user
projects and when forwarding projects.
Symbols from the symbol library in the local project and the global project are
automatically included in the respective project backup.
Hint: Always save the symbols locally.
CHECKING SYMBOLS
Missing symbols are marked red in the output window. The error message shows the name of the
affected screens and symbols.
MENU SYMBOLS
As soon as a symbol is opened in the symbol editor, the screens menu item is replaced by a symbol in
the toolbar.
This menu entry is only shown if a zenon screen is open in the main window.
244
Symbols and element groups
245
Symbols and element groups
The symbol library can be operated from the context menu or the toolbar:
246
Symbols and element groups
Insert symbol in Links the symbol in the screen (for details, see the Symbols (on page 256)
screen chapter).
Linked elements Opens the sub-menu with linked elements and the possibility to jump back into
the starting element.
Jump back to Jumps back to the starting element (only toolbar).
starting element
Copy Copies the selected symbol to the clipboard (only hierarchical view).
Paste Inserts the copied symbol in the active group (only hierarchical view).
Delete Deletes the selected symbol or symbol group (only hierarchical view).
Attention: Deleting cannot be undone!
Expand/collapse node Allows expansion/reduction of the selected node or all nodes in the hierarchical
view.
Flat view Arranges all symbols in a flat view. Facilitates the search for certain symbols.
Note: In this view, you can´t create nor delete symbols and it is also impossible to
copy or insert symbols from the clipboard.
Hierarchic view Sorts all symbols hierarchical in subgroups and shows dependencies.
Export selected as Opens the dialog for XML-export of the selected symbols. (For details, see chapter
XML... Import/Export of symbols.)
Export screen/symbol Exports the screen/symbol as a graphics file. The file selection dialog offers the
as a graphic file... corresponding graphics formats supported on the system. In principle, all
Windows Imaging Component (WIC) codecs that support saving are provided
for selection. The size of the graphics results from the screen or symbol to be
exported.
Import XML Imports symbols from an XML-file (see chapter Import/Export of symbols).
247
Symbols and element groups
For optimum use of symbols, it is sometimes necessary to assign individual values to individual
properties from system elements. For example, a motor symbol has a heading in which the name is
contained.
You can release the Text property with this function. If the symbol is dragged onto the screen, the Text
property can be changed individually for each motor.
248
Symbols and element groups
ENGINEERING
The symbol editor is opened when a symbol is opened. The symbol editor consists of a window divided
into two parts to edit the selected symbol.
The symbol is edited in the upper area; in the lower area, the released properties of the element of this
symbol are listed. You have different possibilities to release elements:
1. Drag&Drop
a) Move the desired properties by dragging & dropping from the property window in the lower
area of the symbol editor.
b) Note: You must always click on the name of the property (not the value) and move it into
the release area by dragging & dropping.
2. Property context menu
a) Right-click on the name of the property.
b) Select Release [property] in the context menu
c) The property is entered in the list
3. Property toolbar
a) Left-click on the name of the property.
b) Click in the toolbar on the release symbol (green arrow upwards above text field)
c) The property is entered in the list
Note: If the entry is not offered or the symbol is displayed as deactivated, the element cannot be
released. Possible reasons:
No screen element selected in the symbol editor
Property was already released
Element does not support release (ActiveX, for example)
249
Symbols and element groups
The release area is a list that can be filtered. You can filter according to individual properties as needed.
A context menu is available for all actions.
Parameter Description
Remove selected property Removes release of the element.
Undo Revises last action.
Help Opens online help.
If the symbol is displayed in a screen, the additional node $_Element Name is available. All properties
that have been released individually have been released. These are separated from the linking principle
(released) and only concern this symbol if changed. If a property of one of the elements is selected in
the Properties window, this element flashes in the screen.
The linked symbol wizard is available to you in order to edit released properties easily and with a clear
overview:
1. Double click on a symbol that:
a) Is linked in the screen and
b) has released properties
2. The linked symbol wizard opens.
3. Select the property to be changed.
4. Enter the new value.
Note: Each change is accepted immediately!
250
Symbols and element groups
Parameter Description
Select an element in the symbol: Selection of an element in the symbol from the drop-down list.
Select the exported property to Selection of the released property from a list.
Display of property Displays the property to be changed.
Input field Input of the new value of the property by means of text
entry/number entry, drop-down list or selection dialog -
depending on the property.
Exit Closes wizard
Information
Create symbols either in the symbol editor or in a screen. Elements of a symbol can be:
Vector Elements
Dynamic elements
other symbols: Symbols can be inserted into element groups.
251
Symbols and element groups
Information
Elements contained in a symbol should only be placed within the symbol area and not jut
out. If elements jut out over the symbol borders, artifacts may occur at the display in the
Runtime. This is also true for elements using symbols (e.g. combi element).
ON THE SCREEN:
Attention
Fonts: fonts are defined through their ID. Ensure that the same ID is assigned to the
desired font in all projects in which the symbol is used.
Graphics: Graphics embedded into a symbol are not saved with the symbol. The
corresponding graphics must be copied manually to the graphics library of the
corresponding project.
You can also link existing symbols or create them as an element group when creating symbols in a
similar manner to the screens (see Insert symbol into screen (on page 254)). In doing so, you must heed
the following rules:
A symbol must not contain any recursion i.e. it must not link to itself.
252
Symbols and element groups
Information
You can only edit the contents of symbols in the symbol editor. If you insert it into a
screen as an element group, this cannot be edited in the screen editor.
Attention
You can only link symbols from the project library within the respective project. It is not
possible to link symbols from the project library across projects. To use a symbol from
another project library in another project, you can create an element group from it.
DELETE OR REMOVE
To delete a symbol:
1. Highlight the symbol in the library.
2. Select the Delete command in the context menu or in the toolbar.
To delete a symbol:
1. Highlight the symbol in the library.
2. Select Delete in the context menu.
3. The symbol remains unchanged in the symbol library, but it is deleted from symbol
administration.
Information
To edit individual elements of a symbol without removing the symbol assignment, select:
For symbols: Edit in symbol editor
For element groups: Switch to single edit mode
253
Symbols and element groups
Element groups created in a screen can be inserted into a symbol library as symbols.
Note: If, for the global project, an authorization level greater than 0 is configured for the editing of
screens and the logged-in user does not have this authorization level, the adding of symbols into the
symbol library of the global project is not possible. Linked symbols from the global project also cannot
be edited in screens of the local project in this case.
254
Symbols and element groups
Attention
You can only link symbols from the project library within the respective project. It is not
possible to link symbols from the project library across projects. To use a symbol from a
project library in another project, you can create an element group.
Information
If you have activated the Display frame around dynamic elements in the Editor
property, you can distinguish between embedded symbols and linked symbols at a
glance: An arrow symbol is displayed in the upper right corner for symbols. You find this
property under Tools-> Settings in the Screen editing area.
Element groups can then be broken down to their individual elements or their individual elements can
be edited. To do this, select Symbol -> Change to individual editing mode in the context menu or Edit->
Symbol -> Element group individual editing mode in the menu.
Element groups do not change if the original symbol from which they were created is changed in the
library, as they are no longer linked to it.
When creating an element group from a symbol that contains variables, the dialog to replace variables
and functions opens. Here, you can automatically replace the elements present with those you want for
this symbol. You can find details on automatic replacement of variables and functions in the chapter on
Replace links in the Editor (on page 179).
To replace variables in symbols that have already been inserted, select the Replace Links command in
the context menu.
Hint: Ensure that the variables are named (on page 178) uniquely and meaningfully from the start.
255
Symbols and element groups
16.5.2 Symbols
Symbols do not save variables that are physically present in the symbol library, only variable names.
When inserting variables into a screen as a link, the variable names saved in the symbol can be assigned
to variables from the project. If the project is given a variable that corresponds to a variable name saved
in the symbol, this is linked automatically - without an extra rule.
Symbols are only saved as a reference in the screen. Each change of the symbol in the library has a
direct effect on the symbol on the screen. For example, if a dynamic element is added to a symbol, it is
also available in all screens in which this symbol is used.
Exception: Changes to the symbol size only have an effect on the screen if the original size symbol
is selected in the Graphic size symbol property.
Symbols cannot be broken down into their elements and their elements cannot be changed in Edit
elements (context menu -> Symbol -> Change to individual editing mode mode or the Edit -> Symbol
-> Symbol/ element group individual editing mode menu).
When inserting a symbol that contains variables, the dialog to replace variables and functions opens.
Here, you can automatically replace the elements present with those you want for this symbol. ALC
aliases that are die used in elements in the symbol can also be replaced. Several entries are separated
by a semicolon (;).
You can also get to this dialog using the Preview property in the Linking rule node of the element.
256
Symbols and element groups
Information
The process for symbols can also be applied to faceplate (on page 290) screen
containers. The same properties and rules apply.
Exception: The Hierarchical names property is not available.
257
Symbols and element groups
LINKING RULE
Property Description
Linking rule Configuration of which character sequence can be replaced and how.
Source Enter the character string to be searched for.
Permitted wildcards: * and ?
Wildcards are only permitted as a prefix or suffix; e.g. *xxx or xxx*.
Note capitalization When swapping, be sure that any capitalization is an exact match.
PREVIEW
Property Description
Preview Display of the selected and replaced elements.
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
You can find further details on automatic replacement of variables and functions in the chapter on
replacing linking of variables and functions (on page 177).
258
Symbols and element groups
Hint: Ensure that the variables are named (on page 178) clearly and sensibly from the start.
If the Hierarchical names property in the Linking rule node is active, the names of the linked variables
from the object names of the symbol and the variable names or variable identification are combined.
Attention
If the Hierarchical names property is active, but the the Via variable name property is
not active, the variable identification is used. However if this Identification is empty, the
combining will fail!
EXAMPLE
259
Symbols and element groups
The general settings for all display types can be found in the chapter on statuses (on page 71).
260
Symbols and element groups
Option Description
Display element
Symbol from library Clicking on the symbol opens the dialog to select a
symbol.
Clicking on the X next to the symbol deletes the selected
symbol.
Edit linking rule Variables and functions contained in the symbol can be
exchanged with the help of linking rules.
Attention: If a variable or function does not fit into the
scheme, that link cannot be replaced.
Specific settings
261
Symbols and element groups
16.6 Toolbar
Via Edit -> Symbol ->Symbol list... Open a list that displays all symbols of the active screen:
Parameters Description
Available symbols/Element groups List of the symbols and element groups in the screen.
No. Number of the symbol or the element group.
Name Name of the symbol or the element group
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
You sort the symbols according to number or name by clicking on the respective column title. A symbol
selected in the list of symbols is blinking in the screen.
Import/export of symbols is possible from the project and the global symbol library. Single or selected
symbols or the entire library can be imported or exported. The path for the export can be defined freely.
262
Symbols and element groups
EXPORT SYMBOLS
To export symbols:
1. highlight the desired symbols
2. Select the Export selected as XML... command in the context menu of the detail view.
Alternate: select in the context menu of the project symbol library node, the Export all as XML
command
3. the selection dialog for the saving location is opened
4. select the desired saving location
5. assign a name
6. pay attention to file type XML
7. confirm by clicking on the Save button
The selected symbols are exported to an XML file and can be imported in this or in other projects at any
time.
IMPORT SYMBOLS
To import symbols:
1. in the context menu of the node or the detail view of the Project symbol library or in the detail
view of the Global symbol library select Import XML... command
2. the selection dialog for the saving location is opened
3. navigate to the saving location of the desired XML file
4. Select the desired file
5. confirm the import by clicking on the Open button
At the import of a symbols the name (attribute ShortName) which is stored in the XML file is used for
the name of the symbol which is created. If a symbol with the same name already exist, the import is
halted and an error message is displayed:
263
Visibility levels
Parameter Description
Yes The symbol described in the error message is replaced by the symbol from the XML file
at the import. If a new conflict occurs, the error message is displayed again.
No The symbol described in the error message is not imported. The existing symbol is
maintained. If a new conflict occurs, the error message is displayed again.
Yes, all The symbol described in the error message is replaced by the symbol from the XML file
at the import. This setting is used automatically when errors due to using the same name
occur. All affected symbols are replaced.
No, all The symbol described in the error message is not imported. The existing symbol is
maintained. This setting is used automatically when errors due to using the same name
occur. All affected symbols are maintained.
Note: Only the ShortName is used. The file name does not matter for the name of the symbol which
should be imported. Thus it cannot be used to solve the conflict.
Symbol Description
Show all visibility levels Shows all levels.
Hide all visibility levels Hides all levels.
Visibility level [No] Shows / hides the relevant visibility level.
Options for toolbar Clicking on the arrow opens the submenu:
Active: Toolbar is displayed.
If the toolbar is not displayed, it can be activated using the
Options -> Toolbar menu.
264
Screen types
Information
Visibility levels only apply to the Editor and have no effect in Runtime.
Note on control elements: Control elements are always displayed at the uppermost
position. That also applies if they are covered by other elements in the Editor. This
ensures that they can always be reached.
In the screen creation dialog you can select special screen types under Content and Screen type.
Attention
If a screen type is changed from a type standard to a special screen type, the new screen
type is fixed with the screen and can no longer be changed.
zenon offers a range of special screen types (on page 266) for special tasks. After selecting a special
screen type, all user elements for the respective screen type are available in the Control elements
menu. Menu item add template (on page 272) opens a selection dialog for adding pre-defined layouts
with certain control elements at pre-defined locations.
Information
Special screen types need only be created once, even when used multiple times. They can
be opened with different data by means of the screen switching function.
Attention: Special screen types are opened with an empty filter and thus no data are opened.
265
Screen types
There are two procedures for the selection of the screen type and the creation of a screen from zenon
version 8.00:
using the Screen creation dialog (on page 21) which is activated by default. This approach is
recommended.
the creation of a screen using the properties.
In table Special screen types in zenon you can find a list and description of the available screen types
There are two procedures for the selection of the screen type and the creation of a screen from zenon
version 8.00:
using the Screen creation dialog (on page 21) which is activated by default. This approach is
recommended.
266
Screen types
The creation of a screen using the properties. The description of the procedure is linked to the
corresponding screen type in the following table.
267
Screen types
Chronological Event List Filter Filter for the Chronological Event List
(on page 333)
Extended Trend Displays online values and archive values as diagrams in
Runtime.
Faceplate (on page 284) Encompasses several screens of different types into one
screen and thus allows a simultaneous display of the
screens in Runtime.
Maximum Load Forecast Screen for the display of Maximum Load Forecast.
License info: only available if SICAM 230 is licensed.
268
Screen types
Production & Facility Scheduler Chronological processes can be controlled directly with this
screen type. This allows the management of schedules and
profiles.
License info: Only available if the Production & Facility
269
Screen types
Process Recorder Screen for the control of the playback of recorded process
data in Runtime.
License info: Only available with a license for the optional
Process Recorder module.
Report Generator To output protocols that have been obtained from the data
of the different modules, such as the alarm message list or
chronological event list. The protocols have been created
with the advanced report generator.
License info: Only available if the Report Generator is
licensed. If you only want to display reports but not edit
them, you do not need a license for Runtime.
Report Viewer Serves to display RDL reports for Archive, AML, CEL and
online values.
License info: only available if reporting is licensed.
Recipegroup Manager Administrates recipes and their use within a recipe group.
License info: Only available if the Recipegroup Manager
(RGM) is licensed.
S7 Graph is used for sequential chains with alternative or parallel step
sequences (SFC). Displays the current status of chain control
in the PLC in runtime.
Standard Recipes Screen type for easy management of recipes.
Command Sequencer Screen type for the creation of processes in Runtime.
Command actions that are configured in the Editor serve as
a basis.
License info: Only available with an additional license. Can
only be licensed in addition to Energy Edition.
Scheduler For the configuration of switching actions that are executed
at a certain time.
License info: Only available if there is no PFS license.
Shift Management For the modeling and organization of shifts.
Variable Diagnosis Screen type to display variables, time stamps and status
displays in Runtime and to write set values.
Note: Not available under Windows CE.
Video (on page 461) Displays online and saved videos (*.avi).
Note: Not available under Windows CE.
Worldview overview Makes it possible to scroll standard screens which are larger
270
Screen types
Time and lot filters (on page 354) Enables general filter settings to be set for lists. The lists
that are controlled by this are defined in the Screen
switchfunction.
There are two procedures for the selection of the screen type and the creation of a screen from zenon
version 8.00:
using the Screen creation dialog (on page 21) which is activated by default. This approach is
recommended.
The creation of a screen using the properties.
CREATING A SCREEN WI TH A SPECIAL SCREEN TYPE WITH SCREEN CRE ATION DIALOG
DEACTIVATED.
Information
Limitation for automatic insertion of the template:
If there is already a static element, such as a control element, in the screen, no frame or
frame text is inserted when inserting the default control elements.
Recommendation: Insert, after creating a special screen type in the first stage, the
default control elements from the template and then further elements.
271
Screen types
For special screen types and also for standard screen you can use templates for automatic inserting and
positioning elements. Templates can be created from every screen by yourself. For special screen types
pre-defined templates are shipped with zenon.
Templates are stored as compressed zip files which include three files:
Meta data: XML file with the description of the template (name, description, size, etc.).
Screen elements: XML file with the exported elements of the screen.
Preview: Bitmap file with a preview of the template.
SHIPPED TEMPLATE
The shipped templates are available in different resolutions and also optimized for touch screens. These
templates cannot be changed or deleted. Pre-defined templates by COPA-DATA are saved in the zenon
program folder under: \Templates\ScreenTypes\[LANGUAGE]\[name of the screen
type]\[Dateiname].zip.
Example: You can find the english templates for the Alarm Message List under %Program Files
(x86)%\COPA-DATA\zenon 9.2\Templates\ScreenTypes\ENGLISH\Alarm Message
list\
272
Screen types
USER-DEFINED TEMPLATE
Users can create and save templates for all screen types. They can also be edited and deleted.
Note: The path depends on whether it is registered at the installation or via the Startup Tool. If the
latter is the case, the current program folder is used as data folder.
Use templates
273
Screen types
6. the elements defined in the template are inserted at the pre-defined location.
Parameter Description
List field templates (left) Displays all pre-defined and user-defined template.
Preview to template (top right) Preview of the screen at taking over the selected
template.
Description template (bottom right) Description of the template.
Delete existing screen elements Active: Pre-existing elements in the screen are deleted
when the template is applied.
Apply Adds the selected template to the screen and closes the
dialog.
Cancel Closes dialog without inserting elements.
Help Opens online help.
Create templates
Folders and template can be newly created, deleted, renamed and moved for user-defined templates.
Shipped, pre-defined templates cannot be changed or deleted.
274
Screen types
To create a template:
1. highlight the desired screen in the detail view
2. select command Create template for screen type in the context menu or in the toolbar
3. the dialog for creating own templates is opened
4. select an existing folder or create a new one
5. enter a name for the new template
6. you can add a description as an option
7. Confirm with OK
8. the template is added to the highlighted folder
275
Screen types
Parameter Description
List field templates (left) Displays all pre-defined and user-defined template.
Makes it possible to delete or rename folder and
templates and to add folders via the context menu.
Preview to template (top right) Preview of the screen at taking over the selected
template.
Description template (bottom right) Description of the template.
New folder Creates a new folder. You can create several levels.
Rename Opens field with names for editing. This can also be
achieved with the F2 key or a delayed double click.
Delete Deletes the selected folder with all subfolders after a
confirmation request.
OK Create template and closes dialog.
Cancel Closes the dialog without creating the template.
Help Opens online help.
DELETE FOLDER
The folder or template is deleted after a confirmation request. For folders possible subfolders including
all their templates are also deleted.
276
Screen types
Folders and template can be moved via drag&drop with the help of the mouse to other folders.
In the dialog for creating new template context menus are also available.
Parameters Description
New folder Creates a new folder below the highlighted level.
Delete Deletes the highlighted folder after a confirmation message.
Rename Opens the folder caption for renaming.
Help Opens online help.
Parameters Description
Delete Deletes the highlighted template after a confirmation message.
Rename Opens the template caption for renaming.
Help Opens online help.
If a Button dynamic element is created in a screen with a special screen type, the additional property
Screen type specific action is available in properties in the nodes (Variable/function nodes). With this
property, you can link special functions that depend on the screen type with a button.
277
Screen types
If screen-type specific functions are invalid, for example as a result of copying a button to a screen of a
different type, then the invalid linking is pointed out and this can be replaced. Invalid functions are
removed during compiling.
Attention
In addition to a screen-type specific function, it is also possible to link a general function
with the button. VBA events (such as LeftClickDown) can also be executed in Runtime.
In this case, note the sequence of execution when clicking on the button:
1. VBA events
2. Screen-type-specific function
3. General function
A function is only executed if the previous event has been completed.
Parameters Description
List of functions Lists all specific functions available for the screen type. Functions
that are not available for this button are shown in gray.
Clicking on an entry selects this for linking.
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
278
Screen types
You can access the Windows Active Directory in Runtime with an Active Directory user
administration screen. You can create, delete and edit organization units, users and user groups
and assign them rights in zenon.
Information
Active Directory and AD LDS, as well as ADAM (for Windows XP), are not available
under Windows CE.
DOMAINS IN RUNTIME
In Runtime, the domain of the user who started Runtime for the Active Directory login is used. Only the
users who belong to this domain can log in.
USER AUTHORIZATION
Attention
Rights that are issued in zenon are applicable for the respective project or the workspace.
Permissions that are issued in the Active Directory are applicable globally.
If rights have been issued to users or user groups of the Active Directory, then the rights
for these users are applicable in all zenon projects!
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
279
Screen types
280
Screen types
CONTROL ELEMENTS
Control elements for the display and administration of the Active Directory.
281
Screen types
Contains the Active Directory detail view: Window in which the structure of the Active Directory is displayed.
Create new organization unit (tree) Opens the dialog to create a new organization unit in the tree.
Delete organization unit... (Tree) Deletes the organization unit selected in the tree after requesting
confirmation.
Create new organization unit Creates a new organization unit below the element selected in
the tree. The corresponding dialog is opened:
Create new user group Opens the dialog to create a new user group.
Edit object Opens the dialog to edit the selected object.
Delete object Deletes the selected object.
LOGIN
COMPATIBLE ELEMENTS
282
Screen types
Control elements that are replaced or removed by newer versions and continue to be available for
compatibility reasons. These elements are not taken into account with automatic insertion of templates.
Control element Description
Domain name Static Win32 control element. Was replaced by a dynamic
text field. For the description, see current element.
User name Static Win32 control element. Was replaced by a dynamic
text field. For the description, see current element.
Password Static Win32 control element. Was replaced by a dynamic
text field. For the description, see current element.
You can find details on use in zenon and configuration of the Active Directory in the user administration
manual, in chapters:
Active Directory user administration with zenon Runtime
Attention
Rights that are issued in zenon are applicable for the respective project or the workspace.
Permissions that are issued in the Active Directory are applicable globally.
If rights have been issued to users or user groups of the Active Directory, then the rights
for these users are applicable in all zenon projects!
Filtering for an equipment group always has an effect on the screens that have already been opened. If
screens are called up again or reloaded, they are displayed again without the equipment model screen
filter.
Note: With the hierarchical filter option, it is sufficient if a variable is linked to a level of the equipment
model. This variable is automatically taken into account when filtering at superordinate levels.
283
Screen types
Information
There are equipment models from global projects and local projects available. In the
event of naming conflicts, local equipment projects are preferred.
Hint: Ensure that you use clear names when configuring equipment models. For example,
give global equipment models a corresponding prefix or suffix. This way you avoid having
the same names in local and global equipment models. And you can easily identify the
origin of the displayed equipment model in selection lists.
You can find details on configuration and use of equipment model screens in the Equipment modeling
manual in the Equipment model screen type and Filtering in Runtime chapters.
18.6 Faceplate
Faceplate is the term for a zenon screen that can accept several screens of different types using
screen containers and display these consecutively in Runtime. For example, with faceplates:
Several screens can be displayed in a screen at the same time
Several time filters can be applied to the same screen type at the same time
Data from a screen can be applied to another screen using a filter
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
284
Screen types
Subscreens linked in faceplates are displayed as a group below the faceplate screen in the detail view.
It is possible to filter the subscreens in the Name column. All subscreens appropriate to the filter and
the respective faceplate are displayed. Subscreens can be copied, but no longer edited.
A faceplate screen consists of screen containers and the optional buttons Filter and Filter editable.
285
Screen types
SCREEN CONTAINER:
Screen containers show the name of the container and the name of the and type of linked screen. For
screens that have already been linked, this information is accentuated by automatically-defined
background colors. This information in the Editor thus always overlays the content of the linked screen
that is positioned at the same location.
The size of the container can be adapted to the size of the linked screen. To do this, navigate to the
Accept size of linked screen property in the Position group. Clicking on the ... button accepts the size of
the linked screen for the container.
FACEPLATE SCREEN
286
Screen types
Filter Calls up a window in Runtime with the filters configured in the Editor. Only
filters that have been unlocked (on page 293) can be edited.
Filter editable Calls up a window in Runtime with the filters configured in the Editor and
allows the editing of all filters - regardless of the requirements (on page 293)
in the Editor.
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
287
Screen types
288
Screen types
1.
Hints:
Double-clicking on the screen container opens:
With the screen container empty: the dialog to link a screen
With the screen container configured: the linked screen in the new tab
The Show preview in the Editor property can be used to switch the display of the linked screen in
the screen container on or off in the Editor. It is recommended that the display is turned off in
the event of performance problems.
Information
When giving it a name for the Element name property, ensure that there are unique
identifications. This is how you ensure that there is a unique selection when creating
screen switching.
289
Screen types
Information
Only faceplates with permitted screen types can be created in the Editor. However, for
the standard screen type, a screen type that is not permitted can subsequently be set. If
such screen types are selected in the Editor, the linking is deleted. An empty container is
shown in Runtime
Functions, variables, locking variables and ALC aliases linked in the container can be replaced
automatically.
To replace links:
1. Navigate to the Linking rule group in the properties of the container.
2. Configure the corresponding replacements directly or use the dialog.
3. Clicking on the ... button in the Preview property opens the dialog to configure and preview the
replacements.
290
Screen types
Replacements for several containers can be undertaken at the same time using multiple selection. In
this case, the rules must be defined using the properties. The dialog with the preview is then not
available.
291
Screen types
LINKING RULE
Property Description
Linking rule Configuration of which character sequence can be replaced and how.
Source Enter the character string to be searched for.
Permitted wildcards: * and ?
Wildcards are only permitted as a prefix or suffix; e.g. *xxx or xxx*.
Note capitalization When swapping, be sure that any capitalization is an exact match.
PREVIEW
Property Description
Preview Display of the selected and replaced elements.
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
You can find further details on automatic replacement of variables and functions in the chapter on
replacing linking of variables and functions (on page 177).
292
Screen types
Hint: Ensure that the variables are named (on page 178) clearly and sensibly from the start.
The defined linking rule is applied to the following objects if they are present in the screen:
Functions
Variables
Interlocking variables
ALC aliases
PROCEDURE
When switching to a faceplate screen, the linking rule for the objects to be replaced using the linking
rule configured for the screen container is displayed in the preview list of the screen switching. The
preview of the screen container also already shows the objects that have been replaced. Different
screen containers can use the same screen, but define different linking rules.
In Runtime, only the replacement rule configured for the screen container is applied to the linked
screen. Then, if configured, the linking rule is applied to the screen switching function.
293
Screen types
294
Screen types
FILTER DIALOG
295
Screen types
Parameter Description
Filter Tab to configure the filters for screen containers in the faceplate.
List of filters List of all filters created. These filters can be allocated individual screen
containers.
The list is sorted alphabetically according to filter. The entries in each group
can be sorted according to description or filter parameter by clicking on the
column title.
Checkbox Active: If the option Show this dialog in Runtime has been activated for
the dialog, this filter is available in Runtime for configuration.
Inactive: This filter cannot be selected in Runtime.
Default: active
New Opens the dialog (on page 300) to select a filter type and creates a new filter in
the list accordingly.
Shortcut: Ins. key.
Edit Opens a configuration dialog depending on the filter type.
The dialog can also be opened by double clicking on the filter in the list.
Duplicate Copies the selected filter and inserts it with a new name into the group of the
corresponding filters.
Link filter Clicking this opens the dialog (on page 305) to select a filter that is to be linked
to the container. Only filters that can be linked to the selected container are
shown.
296
Screen types
Several filters per container can be selected, however not several screens of
the same type. Filter types that are already linked to the respective screen
container are no longer available for selection.
This button is displayed for each screen container at the end of its filter list.
Edit Opens a configuration dialog depending on the filter type.
The dialog can also be opened by double clicking on the filter in the list.
Remove Deletes the linking of the currently-selected filter to the screen container.
Shortcut: Del key
Show this dialog in the Active: This dialog is opened in Runtime before the function is executed.
Runtime
In Runtime, only filters whose checkboxes have been activated in the Editor
and whose screen type is appropriate are offered for editing. All other filters
are displayed but cannot be edited.
Note: This setting can be overcome in Runtime in the screen with the Filter
editable (on page 285) button.
If the Show this dialog in Runtime option activated, the dialog to edit the filter is offered in Runtime
before the screen switching is executed. Not all screen types support this in full.
Equipment Model X
Lots 1
Project X
Status X
Text X
297
Screen types
Time 2
Lots 1
Text X
Linked screens --
Time 2
Lots 1
Status X
Text X
Time 2
Linked screens --
Time 2
Time 2
Lots 1
298
Screen types
Time 2
Standard --
Linked screens --
Time 2
Notes:
1 - lots: No lot filter or Apply lot filter directly.
No Name/archive from variable.
2 - Time: Absolute/relative time period with preset only.
No time period.
3 - Extended Trend (general): Same limitations as for Extended Trend screen switching, for
example no switch of the data source, diagram type, etc.
299
Screen types
Filters for screen containers are created and administered in the upper area of the Filter tab.
To create a filter:
1. Click on the New button.
300
Screen types
301
Screen types
FILTER TYPES
Different filter types are available for faceplates. During configuration, only filters that are suitable for
the screen types present in the faceplate are offered. If, for example, none of the linked screen types
uses lots, then the lot filter is also not offered.
302
Screen types
Filter Description
General filters Filters that are available regardless of the configured screen types.
Screen-type-specific filter Filters that are available depending on the configured screen types.
Equipment Model (general) Configuration of the filter for an equipment model screen.
Chronological Event List Configuration of which columns of the CEL are displayed, including the
(column settings) sequence and sorting.
Extended Trend (general) Configuration of the following settings for Extended Trend:
Data
Representation
X-axis
Extended Trend (printer Configuration of the printer settings for Extended Trend.
settings)
Extended Trend (column Configuration of the column settings for Extended Trend.
settings)
303
Screen types
HTML (general) Configuration of the filter for an HTML (on page 426) screen.
Report Generator (file) Configuration of the report file of the Report Generator to be called up.
Report Generator (parameters) Configuration of the parameters of the Report Generator to be used.
Report Viewer (Report Configuration of the report definitions of the Report Viewer to be used.
definition)
Linked screens Configuration of the linked screens (on page 377) for time filters, Alarm
Message List (on page 377) and Chronological Event List (on page 377).
304
Screen types
Link filter
Filters for screen containers are linked and administered in the lower area of the Filter tab.
305
Screen types
Several filters can be linked to each screen container. However only one filter can be linked per filter type. Filter
types that are already linked to the respective screen container are no longer available for selection.
The list of filters is sorted alphabetically according to filter. The entries in each group can be sorted
according to description or filter parameter by clicking on the column title.
For screen switching to certain screen types, Faceplate screens or subscreens of a faceplate can be
selected as the screen to be called up or screen to be refreshed. If the faceplate screen is selected as
the screen to be updated, the filter is applied to all suitable subscreens.
Screen types that allow faceplates and subscreens as a source/target with screen switching:
AML filter
Equipment Model
CEL filter
Time filter
Supported screen containers in the faceplate that is selected as the screen to be updated:
AML
AML filter
Equipment Model
CEL
CEL filter
Extended Trend
306
Screen types
Time filter
In this tab, all variables and functions of linked screens are listed. These can also be replaced
automatically as with other screen switching.
The settings for the replacement of variables and functions are applied not just in a faceplate screen,
but also in all embedded screens. Replacements that have already been configured (on page 290) for
the container via the properties of the Linking rule group are displayed in the Replace linking tab. In
307
Screen types
Runtime, only the replacement rule configured for the screen container is applied to the linked screen.
Then, if configured, the linking rule is applied to the screen switching function.
EXAMPLE:
Initial situation:
The faceplate screen contains a variable, Test1, and a screen, CEL.
The CEL screen also contains a variable Test1.
When switching screens, the variable Test1 is replaced by Test2.
Result:
The faceplate screen is called up and displays, instead of the variable Test1, the variable Test2.
The linked CEL screen is displayed as embedded.
The variable Test1 is also replaced by Test2 in the CEL screen.
In Runtime, at places where screen containers are placed, the screens linked in these are displayed. The
screens take on the size of their screen container and can be operated in the same way as all other
switched screens.
Two containers with different screens are shown in the following faceplate screen.
308
Screen types
Information
Only faceplates with permitted screen types can be created in the Editor. However, for
the standard screen type, a screen type that is not permitted can subsequently be set. If
such screen types are selected in the Editor, the linking is deleted. An empty container is
shown in Runtime
Editing filters
The filters for the screens in the screen containers configured in the Editor can be edited depending on
the settings in Runtime.
In order for there to be no possibility of editing a filter when a screen is called up in Runtime, deactivate
the Show this dialog in Runtime (activated filters can be edited in Runtime) option in the Configuration of
screen switching (on page 293).
In order for filters to be able to be edited in Runtime when a screen is called up:
Activate, in the configuration of screen switching (on page 293),
in the Filter list, the checkbox for each desired filter
The Show this dialog in Runtime (activated filters can be edited in Runtime) option.
Note: Note the limitations (on page 293) for supported screen types in the Supported screen types for
offering the dialog in Runtime section.
309
Screen types
The dialog to select and edit the filter is displayed in Runtime when the screen is called up. All filters
approved for editing can be selected and edited. All other filters are blocked. However, blocked filters
can also be unlocked with the Filter editable button.
The dialog with all filters freely editable can be called up in Runtime with the Filter editable button (on
page 285).
If filters are only to be edited to a limited extent, but a user is to have unlimited access, then:
1. Configure the screen switching with limited/no access possibilities for the filter
2. Create a Filter editable button
3. Grant corresponding access rights for the button, for users and user groups
310
Screen types
In Runtime, the filters can only be edited as stipulated in the screen switching. However the users
authorized for the button can edit all configurable filters.
You use filter screens to design individual filter pages with their own filter dialogs. You can do this
according to aspects such as touch operation, filtering of special areas only, ability to switch languages,
etc.
311
Screen types
It is possible to adjust filter settings for the Alarm Message List in Runtime with the help of the Alarm
Message List Filter screen. Only the filter elements that are actually required are configured and
provided to the user. The appearance can also be freely defined and thus adapted to different end
devices. All filter settings that are available in the filter for the function to switch the screen to the
Chronological Event List screen can be configured.
Therefore:
Only the filter elements that are actually required are configured and provided to the user.
The user only has these filters displayed and has an overview
The appearance can be freely defined and can, for example, ensure ease of use by means of a
touch screen.
For details of use in Runtime, see Using the Alarm Message List Filter chapter.
For the definition of filter criteria, see Filter Alarm Message List Filter chapter.
Attention
Screens of type Alarm Message List Filter, Chronological Event List Filter and
Time Filter must be engineered with an own frame. If they use the same frame as other
screens, all screens based on this frame are closed when the screen is closed.
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
312
Screen types
Control elements
The Alarm Message filter screen can contain the following control and display elements.
313
Screen types
INSERT TEMPLATE
GENERAL FILTERS
314
Screen types
Minimum time active alarms Time for which alarms must be active as a minimum.
Days Only alarms that have been current for at least the given
number of days.
Hours Only alarms that have been current for at least the given
number of hours.
Minutes Only alarms that have been current for at least the given
number of minutes.
Seconds Only alarms that have been current for at least the given
number of seconds.
Milliseconds Only alarms that have been current for at least the given
number of milliseconds.
Minimum time active alarms (touch) Elements optimized for touch operation for configuration
of the minimum time for pending alarms.
Button: Days (up)
Touchbox: Days
Button: Days (down)
Button: Hours (up)
Touchbox: Hours
Button: Hours (down)
Button: Minutes (up)
Touchbox: Minutes
Button: Minutes (down)
Button: Seconds (up)
Touchbox: Seconds
Button: Seconds (down)
Button: Milliseconds (up)
Touchbox: Milliseconds
Button: Milliseconds (down)
Origin of the data Where does the data come from:
Maximum number (input field) Input of the maximum alarms to be displayed when
historical alarms are displayed.
315
Screen types
0: displays all
Name
Identification
Type of alarm
Comment required
Ring buffer
Historic data
TIME FILTER
316
Screen types
Absolute time period - compact display Elements for the absolute time period in compact display.
Starting from HH:MM:SS Elements for a time period from a defined time.
Starting from day - HH:MM:SS Elements for a time period from a defined day at a
defined time.
Starting from day, month - HH:MM:SS Elements for a time period from a defined day in a
defined month at a defined time.
Time period: 15/30/60 minutes Elements for a time period of 15, 30 or 60 minutes.
Time period - one day Elements for a time period of one day.
Time period - 1 or 2 weeks Elements for a time period over one or two weeks.
Each week can be selected, both for the view for a week
as well as for the view for two weeks. With the two-week
view, a time period of 14 days is selected, depending on
the week selected.
Time period - one month Elements for a time period of one month.
Time period - one year Elements for a time period of one year.
Insert all elements (Touch) Opens the drop-down list to select pre-defined elements
for certain time periods, which have been optimized for
touch operation. Like Insert all elements, the following
are available:
Absolute time period - classic display
Relative time period
Starting from HH:MM:SS
Starting from day - HH:MM:SS
Starting from day, month - at HH:MM:SS
Time period - 15/30/60 minutes
Time period - one day
Time period - 1 or 2 weeks
317
Screen types
318
Screen types
Set filter type (Display) Dynamic text element for the display of the set filter
type.
Time filter type (label) Labeling for time filter type.
Time filter type (radio group) Switch elements that show or hide certain elements in
Runtime:
No filter
Absolute time filter
Relative time filter
Starting from day, month - HH:MM:SS
Starting from day - HH:MM:SS
Starting from HH:MM:SS
Time period 15 minutes
Time period 30 minutes
Time period 60 minutes
Time period 1 day
Time period 1 week
Time period 2 weeks
Time period 1 month
Time period 1 year
Time from Fields and labeling for stating "from" time.
From year (label)
From year (combobox)
From month (label)
From month (combobox)
From day (label)
From day (combobox)
From hour (label)
From hour (combobox)
From minute (label)
From minute (combobox)
From second (label)
From second (combobox)
319
Screen types
320
Screen types
321
Screen types
322
Screen types
Time to (Touch) Fields and labeling for stating "to" time, optimized for
touch operation.
To year (label)
To year (button: up)
To year (Touch box)
To year (button: down)
To month (label)
To month (button: up)
To month (Touch box)
To month (button: down)
To day (label)
To day (button: up)
To day (Touch box)
To day (buttton: down)
To hour (label)
To hour (button: up)
To hour (Touch box)
To hour (button: down)
To minute (label)
To minute (button: up)
To minute (Touch box)
To minute (button: down)
To second (label)
To second (button: up)
To second (Touch box)
To second (button: down)
Filter absolute time Fields and labeling for stating absolute time filter.
From (label)
From date (calendar display)
From date (date display)
From time (time display)
To (label)
To date (calendar display)
To date (date display)
323
Screen types
324
Screen types
325
Screen types
LOT FILTER
326
Screen types
Lot name filter (Input field) Entry of a character sequence for filtering the lot names
327
Screen types
SHIFT FILTER
328
Screen types
Status of the shift list Status of the shift list with number for:
Total
Filtered
Selected
Update shift list Clicking on the button updates the display of the shift
list.
TEXT FILTER
Insert all elements: Text filter Inserts all elements for text filters.
Search for (separate words by Space) Radio button to activate the search
At least one word must be in the text At least one search term from several must be in the
result.
All words must be in the text All search terms must be included in the result.
Exact filter text must be in the text Exact text from the input field must be contained in the
result.
329
Screen types
Case sensitivity
BUTTONS
Buttons in Runtime.
OK Button: Applies the filter settings and closes the screen.
Note on faceplates: In faceplates, AML filter, CEL
filter and time/lot/shift filter screens can
be used. When configuring these in Runtime, clicking on
OK closes the complete faceplate. If the filter settings are
to be saved and the faceplate is to stay open, click on
Accept.
330
Screen types
Template
331
Screen types
Template Description
List field templates (left) Displays all pre-defined and user-defined template.
Preview and description (right) Shows preview and description of the selected template.
Standard Inserts standard elements.
Scada Special templates, optimized for mouse operation.
Only variable & text filter Adds elements for filtering for variables and text.
Without alarm groups Adds elements for filtering for variables, text and pending
minimum time without alarm groups.
Standard Inserts standard elements.
Filters for variables, text & time Adds elements for filtering for variables, text and time.
Filters for variables, text & time (from month) Adds variables for filtering for variables, text and relative
time range from month.
Filters for variables, text & time (from hour) Adds variables for filtering for variables, text and relative
time range from hour.
Filters for variables, text & time (from day) Adds variables for filtering for variables, text and relative
time range from day.
Filters for variables, text & time (absolute - Adds elements for filtering for variables, text and
table) absolute time range.
Filters for variables, text & time (absolute - Adds elements for filtering for variables, text and
compact) absolute time range in compact form.
Filters for variables, text & time (absolute) Adds elements for filtering for variables, text and
absolute time range.
CLOSE DIALOG
Button Description
Delete existing screen elements Active: Pre-existing elements in the screen are deleted
when the template is applied.
Apply Adds the selected tempalte to the screen and closes the
dialog.
Cancel Closes dialog without inserting elements.
Help Opens online help.
332
Screen types
It is possible to adjust filter settings for the Chronological Event List in Runtime with the help of the
Chronological Event List Filter screen. Only the filter elements that are actually required are
configured and provided to the user. The appearance can also be freely defined and thus adapted to
different end devices. All filter settings that are also available in the filter for the function to switch the
screen to the Chronological Event List screen can be configured.
Therefore:
Only the filter elements that are actually required are configured and provided to the user.
The user only has these filters displayed and has an overview
The appearance can be freely defined and can, for example, ensure ease of use by means of a
touch screen.
For details of use in the Runtime, see Using the CEL Filter chapter.
For the definition of filter criteria, see Filter screen switch CEL Filter chapter.
Attention
Screens of type Alarm Message List Filter, Chronological Event List Filter and
Time Filter must be engineered with an own frame. If they use the same frame as other
screens, all screens based on this frame are closed when the screen is closed.
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
333
Screen types
Control elements
The screen of type Chronological Event List Filter can contain the following control and display
elements.
334
Screen types
INSERT TEMPLATE
GENERAL FILTERS
Exclude system messages from filter Shows a checkbox in Runtime to display or filter system
messages. System messages are messages that do not
relate to a variable.
Operation in Runtime:
Active: System messages are always displayed in
Runtime. This also applies if they are to be filtered
out by the text or variable filter.
Exception: However system messages are not
shown despite the checkbox being activated if they
are filtered out by the time filter or the filters for
data origin (ring buffer or historic data).
Example: Only messages with the text "XY" are to be
displayed. However if the option is active, system
messages that do not contain the term are also displayed.
Insert all elements: General filters Inserts all elements from the area of general filters into
pre-defined places. Elements can be arranged
individually.
335
Screen types
Show list without refresh Switches the CEL in stopped state. New alarms are not
added.
Show relative times Switches between the normal display and the
relative-time display, without the selected entry losing
focus.
Relative time: All entries are displayed in the time
distance to the selected entry.
The displayed time is the difference time passed since the
selected entry. The selected entry automatically gets the
time stamp 0. The other events have a:
positive time difference to the selected entry if they
occurred later
negative time difference to the selected entry if they
occurred earlier
Alarm/event groups/alarm/event List field for grouped display:
classes/alarm areas
Variables
Name
336
Screen types
Identification
Case sensitive
Ring buffer
Historic data
TIME FILTER
337
Screen types
Absolute time period - compact display Elements for the absolute time period in compact display.
Starting from HH:MM:SS Elements for a time period from a defined time.
Starting from day - HH:MM:SS Elements for a time period from a defined day at a
defined time.
Starting from day, month - HH:MM:SS Elements for a time period from a defined day in a
defined month at a defined time.
Time period: 15/30/60 minutes Elements for a time period of 15, 30 or 60 minutes.
Time period - one day Elements for a time period of one day.
Time period - 1 or 2 weeks Elements for a time period over one or two weeks.
Each week can be selected, both for the view for a week
as well as for the view for two weeks. With the two-week
view, a time period of 14 days is selected, depending on
the week selected.
Time period - one month Elements for a time period of one month.
Time period - one year Elements for a time period of one year.
Insert all elements (Touch) Opens the drop-down list to select pre-defined elements
for certain time periods, which have been optimized for
touch operation. Like Insert all elements, the following
are available:
Absolute time period - classic display
Relative time period
Starting from HH:MM:SS
Starting from day - HH:MM:SS
Starting from day, month - at HH:MM:SS
Time period - 15/30/60 minutes
Time period - one day
Time period - 1 or 2 weeks
338
Screen types
339
Screen types
Set filter type (Display) Dynamic text element for the display of the set filter
type.
Time filter type (label) Labeling for time filter type.
Time filter type (radio group) Switch elements that show or hide certain elements in
Runtime:
No filter
Absolute time filter
Relative time filter
Starting from day, month - HH:MM:SS
Starting from day - HH:MM:SS
Starting from HH:MM:SS
Time period 15 minutes
Time period 30 minutes
Time period 60 minutes
Time period 1 day
Time period 1 week
Time period 2 weeks
Time period 1 month
Time period 1 year
Time from Fields and labeling for stating "from" time.
From year (label)
From year (combobox)
From month (label)
From month (combobox)
From day (label)
From day (combobox)
From hour (label)
From hour (combobox)
From minute (label)
From minute (combobox)
From second (label)
From second (combobox)
340
Screen types
341
Screen types
342
Screen types
343
Screen types
Time to (Touch) Fields and labeling for stating "to" time, optimized for
touch operation.
To year (label)
To year (button: up)
To year (Touch box)
To year (button: down)
To month (label)
To month (button: up)
To month (Touch box)
To month (button: down)
To day (label)
To day (button: up)
To day (Touch box)
To day (buttton: down)
To hour (label)
To hour (button: up)
To hour (Touch box)
To hour (button: down)
To minute (label)
To minute (button: up)
To minute (Touch box)
To minute (button: down)
To second (label)
To second (button: up)
To second (Touch box)
To second (button: down)
Filter absolute time Fields and labeling for stating absolute time filter.
From (label)
From date (calendar display)
From date (date display)
From time (time display)
To (label)
To date (calendar display)
To date (date display)
344
Screen types
345
Screen types
346
Screen types
LOT FILTER
347
Screen types
Lot name filter (Input field) Entry of a character sequence for filtering the lot names
348
Screen types
SHIFT FILTER
349
Screen types
Status of the shift list Status of the shift list with number for:
Total
Filtered
Selected
Update shift list Clicking on the button updates the display of the shift
list.
TEXT FILTER
At least one word must be in the text At least one search term from several must be in the
result.
All words must be in the text All search terms must be included in the result.
Exact filter text must be in the text Exact text from the input field must be contained in the
result.
350
Screen types
Case sensitivity
RUNTIME SETTINGS
351
Screen types
BUTTONS
Buttons in Runtime.
OK Button: Applies the filter settings and closes the screen.
Note on faceplates: In faceplates, AML filter, CEL
filter and time/lot/shift filter screens can
be used. When configuring these in Runtime, clicking on
OK closes the complete faceplate. If the filter settings are
to be saved and the faceplate is to stay open, click on
Accept.
352
Screen types
Template
353
Screen types
Template Description
List field templates (left) Displays all pre-defined and user-defined template.
Preview and description (right) Shows preview and description of the selected template.
Standard Inserts standard elements.
Scada Special templates, optimized for mouse operation.
Standard Inserts standard elements.
Filters for variables, text & time (absolute - Adds elements for filtering for variables, text and
compact) absolute time range in compact form.
Filters for variables, text & time (absolute) Adds elements for filtering for variables, text and
absolute time range.
Filters for variables, text & time (from month) Adds variables for filtering for variables, text and relative
time range from month.
Filters for variables, text & time (from hour) Adds variables for filtering for variables, text and relative
time range from hour.
Filters for variables, text & time (from day) Adds variables for filtering for variables, text and relative
time range from day.
Filters for variables, text & time (absolute - Adds elements for filtering for variables, text and
table) absolute time range.
Filters for variables, text & time (type can be Adds elements for filtering for variables, text and
selected) selectable time range.
CLOSE DIALOG
Parameter Description
Delete existing screen elements Active: Pre-existing elements in the screen are deleted
when the template is applied.
Apply Adds the selected template to the screen and closes the
dialog.
Cancel Closes dialog without inserting elements.
It is possible to make changes to the time filter settings including lot and shift information in the
Runtime using a Time/lot/shift filter screen. The following screens can be influenced by the
filter:
354
Screen types
The advantage of this type of screen is that only the filter elements that are actually necessary can be
configured. Thus the user does not have to deal with too many filter settings. Only the filter settings that
he needs are displayed. Furthermore, you are completely free to change the appearance and can, for
example, ensure ease of use by means of a touch screen.
Attention
Screens of type Alarm Message List Filter, Chronological Event List Filter and
Time Filter must be engineered with an own frame. If they use the same frame as other
screens, all screens based on this frame are closed when the screen is closed.
In the time filter screen, all time filter settings that are also present in the filter for the function to
switch screens to the appropriate screen can be engineered.
355
Screen types
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
356
Screen types
Control elements
For time filter screens, there are also elements that have been optimized for touch-screen operation in
addition to the conventional elements.
INSERT TEMPLATE
TIME FILTER
357
Screen types
Absolute time period - compact display Elements for the absolute time period in compact display.
Starting from HH:MM:SS Elements for a time period from a defined time.
Starting from day - HH:MM:SS Elements for a time period from a defined day at a
defined time.
Starting from day, month - HH:MM:SS Elements for a time period from a defined day in a
defined month at a defined time.
Time period: 15/30/60 minutes Elements for a time period of 15, 30 or 60 minutes.
Time period - one day Elements for a time period of one day.
Time period - 1 or 2 weeks Elements for a time period over one or two weeks.
Each week can be selected, both for the view for a week
as well as for the view for two weeks. With the two-week
view, a time period of 14 days is selected, depending on
the week selected.
Time period - one month Elements for a time period of one month.
Time period - one year Elements for a time period of one year.
Insert all elements (Touch) Opens the drop-down list to select pre-defined elements
for certain time periods, which have been optimized for
touch operation. Like Insert all elements, the following
are available:
Absolute time period - classic display
Relative time period
Starting from HH:MM:SS
Starting from day - HH:MM:SS
Starting from day, month - at HH:MM:SS
Time period - 15/30/60 minutes
Time period - one day
Time period - 1 or 2 weeks
358
Screen types
359
Screen types
Set filter type (Display) Dynamic text element for the display of the set filter
type.
Time filter type (label) Labeling for time filter type.
Time filter type (radio group) Switch elements that show or hide certain elements in
Runtime:
No filter
Absolute time filter
Relative time filter
Starting from day, month - HH:MM:SS
Starting from day - HH:MM:SS
Starting from HH:MM:SS
Time period 15 minutes
Time period 30 minutes
Time period 60 minutes
Time period 1 day
Time period 1 week
Time period 2 weeks
Time period 1 month
Time period 1 year
Time from Fields and labeling for stating "from" time.
From year (label)
From year (combobox)
From month (label)
From month (combobox)
From day (label)
From day (combobox)
From hour (label)
From hour (combobox)
From minute (label)
From minute (combobox)
From second (label)
From second (combobox)
360
Screen types
361
Screen types
362
Screen types
363
Screen types
Time to (Touch) Fields and labeling for stating "to" time, optimized for
touch operation.
To year (label)
To year (button: up)
To year (Touch box)
To year (button: down)
To month (label)
To month (button: up)
To month (Touch box)
To month (button: down)
To day (label)
To day (button: up)
To day (Touch box)
To day (buttton: down)
To hour (label)
To hour (button: up)
To hour (Touch box)
To hour (button: down)
To minute (label)
To minute (button: up)
To minute (Touch box)
To minute (button: down)
To second (label)
To second (button: up)
To second (Touch box)
To second (button: down)
Filter absolute time Fields and labeling for stating absolute time filter.
From (label)
From date (calendar display)
From date (date display)
From time (time display)
To (label)
To date (calendar display)
To date (date display)
364
Screen types
365
Screen types
366
Screen types
LOT FILTER
367
Screen types
Lot name filter (Input field) Entry of a character sequence for filtering the lot names
368
Screen types
SHIFT FILTER
Status of the shift list Status of the shift list with number for:
Total
Filtered
Selected
Update shift list Clicking on the button updates the display of the shift
list.
Note: In order for the control elements for the shift filters to be displayed in Runtime:
The Show shift selection option must be selected in the screen switching.
The time filter must be configured.
369
Screen types
BUTTONS
Buttons in Runtime.
OK Button: Applies the filter settings and closes the screen.
Note on faceplates: In faceplates, AML filter, CEL
filter and time/lot/shift filter screens can
be used. When configuring these in Runtime, clicking on
OK closes the complete faceplate. If the filter settings are
to be saved and the faceplate is to stay open, click on
Accept.
Control elements for touch operation can be emphasized by means of colored emphasis. To do this, the
following properties in the Fill group are configured in the screen for touch elements:
Text color on focus: Text color if the element is in focus
Background color on focus: Background color if the element is in focus
Text color without focus: Text color if the element is not in focus
Background color without focus: Background color if the element is not in focus
370
Screen types
Template
371
Screen types
Template Description
List field templates (left) Displays all pre-defined and user-defined template.
Preview and description (right) Shows preview and description of the selected template.
Standard Inserts standard elements.
Scada Template for mouse operation
Absolute Inserts elements for absolute time.
Absolute calendar Inserts elements for absolute time with calendar.
Absolute compact Inserts elements for absolute time in compressed design.
Standard Inserts standard elements.
from month Inserts elements for time range from month.
from hour Inserts elements for time range from hour.
from day Inserts elements for time range from day.
Touch Templates, optimized for touch operation.
Absolute Inserts elements for absolute time.
Standard Inserts standard elements.
from month Inserts elements for time range from month.
from hour Inserts elements for time range from hour.
from day Inserts elements for time range from day.
Preview to template (top right) Preview of the screen at taking over the selected
template.
Description template (bottom right) Description of the template.
Delete existing screen elements Active: Pre-existing elements in the screen are deleted
when the template is applied.
CLOSE DIALOG
Parameter Description
Delete existing screen elements Active: Pre-existing elements in the screen are deleted
when the template is applied.
Apply Adds the selected template to the screen and closes the
dialog.
Cancel Closes dialog without inserting elements.
Help Opens online help.
372
Screen types
Pre-defined names
Attention: The pre-defined names are not available under Windows CE.
To select a name:
1. In the detail view, define as screen type time filter, chronological event list filter
or alarm message list filter
2. Click twice in the name field in the 'Name' column
3. Select the desired pre-defined name from the drop-down.
TIMEFILTER_ABSOLUTE
TIMEFILTER_DAY
TIMEFILTER_HOUR
TIMEFILTER_MONTH
TIMEFILTER_PERIOD
TIMEFILTER_PERIOD_DAY
TIMEFILTER_PERIOD_MINUTE
TIMEFILTER_PERIOD_MONTH
TIMEFILTER_PERIOD_WEEK
TIMEFILTER_PERIOD_YEAR
TIMEFILTER_RELATIVE
Note: CEL filter and AML filter screens also have a pre-defined name, CEL_FILTER or AML_FILTER.
FILTER SCREENS
Filter screens make it possible to transfer a preset filter from one screen to another. The filter of the
source screen is set using the target screen. The screens can also be of a different screen type.
373
Screen types
Attention
In order for the time to be taken from the screen to be called up in Runtime, the following
time range must be selected in the Editor for the screen switching function for the Alarm
Message List or the Chronological Event List in the time filter: Set filter at time
filter type
CALL DEFINITION
The following requirements must be met for the set filters to be used:
1. Set filter for time filter type is selected as a time period for the time filter.
2. The screen (Alarm Message List Filter, Chronological Event List filter or Time/Lot/Shift Filter
screens) is activated using a button or a combined element. Only in this way can the relationship
between filter screen and source screen be maintained.
3. The source screen and filter screen must either be configured on different frames or on different
monitors. The filter for the filter screen can only be updated if the source screen is open. This is
only possible if both screens do not use the same frame or the same monitor.
4. The screen to be called up must be compatible with the filter screen to be called up (see table).
Source screen AML filter CEL filter Time Filter
Archive revision T T T
Extended Trend T T T
Time Filter T T X
Alarm Message List Filter X C T
Chronological Event List C X T
Filter
Alarm Message List X C T
Chronological Event List C X T
Key:
C: Common settings are updated.
T: Time settings are updated.
X: All settings are updated.
374
Screen types
Information
No filtering
The filter screen is not filtered, but opened with the configured values, if:
One of the conditions 1 to 3 is not met or
The Screen to call up setting is not activated for the Screen switching function or
The screen is not called up via a screen element
In this case, the Accept, Close and Update buttons are grayed out in Runtime and
have no function.
UPDATE
When a filter screen is called up (Alarm Message List filter, Chronological Event List filter, time filter),
the screens configured in the screen switching function are updated in two ways:
If the filter screen is called up using a screen element, the target screens that are on the same
monitor as the source screen are updated.
If the filter screen is called up in a different way or if the Update on all monitors setting is
activated, all configured target screens are updated.
They are updated as soon as you click the Accept button or as soon as you closes the filter screen with
the close Close button. The Cancel button discards the changes and closes the filter screen.
You update the current filter settings for the source screen using the Update button. If the filter screen
is not called up by a screen element or if the Calling screen has not been activated, all monitors are
searched for screens that can be used for updating. The first screen that is found is then this is used for
updating.
375
Screen types
CEL filter
Time filter
4. The dialog for configuration and linking of the filter for the selected screen type is opened.
The tabs shown depend on the screen type.
5. Configure the corresponding tabs.
Information
Tabs for special screen types:
AML filter: Screens, General, Text, Time, Lots, Shifts, Column settings
CEL filter: Screens, General, Text, Time, Lots, Shifts, Column settings
Time filter: Screens, Time, Lots, Shifts, Column settings
376
Screen types
Screens
On this tab, you can define the screens that are to be updated by the screen filter.
377
Screen types
Parameter Description
Filter is taken from the Definition of the screen form which the filter is to be taken.
following screen
Calling screen Active: The filter settings are take over from the screen from which the
filter screen is called up. The screen button is grayed out. You cannot
explicitly select a screen, because the filter is always updated from the
calling screen with this setting.
Note: Settings in the General, Text and Time tabs are locked.
Predefined screen Click on button opens the Screen selection dialog.
Select the screen from which the filter - when clicking button Update
during Runtime - should be read.
Subscreens of faceplates (on page 284) can also be selected for screen
switching to AML filter, CEL filter, time filter, equipment model and shift
management. For these screens, the name of the faceplate screen is
placed in front of the subscreen in order to clearly distinguish them from
other screens.
Attention: When the filter screen is first called up using the function, the
filter configured in the function is used, not the filter of the screen stated
here!
Note: It therefore only makes sense to select a screen that can adopt or
fill the screen filter.
The selected screen is entered into the list of screens to be updated. If you
delete it from the list, the next selected screen from the list automatically
takes its place.
Note: Not available if you have activated the Calling screen checkbox.
SCREENS TO BE UPDATE D
Parameter Description
Screens to be updated Selection of the screens that are to be updated.
Subscreens of faceplates (on page 284) can also be selected for screen
switching to AML filter, CEL filter, time filter, equipment model and shift
management. For these screens, the name of the faceplate screen is
placed in front of the subscreen in order to clearly distinguish them from
other screens.
Screen selection Click the button to open dialog Screen selection of the filter screens.
Select the desired screen.
Update Stipulation of where the filter should take effect.
Update on all monitors Active: The screens from the list of the monitors that must be updated
are updated on all accessible monitors.
378
Screen types
General
This tab is only available for the Alarm Message List filer and Chronological Event List and
shows the standard filter for the respective list. See Alarm Message List filter or Chronological Event List
filter.
AML FILTER
379
Screen types
VARIABLE FILTER
Parameter Description
Variable filter Limitation to alarms of certain variables
Variable name Enter the name or part of the name of the variable you
want to filter.
Use of the wild card * is possible. Wildcards are only
permitted as a prefix or suffix; e.g. *xxx or xxx*.
Note: Filter terms entered in Runtime or in the Editor are
automatically saved on the local computer in zenon6.ini
and are available for selection in the drop-down list.
Attention: The comma character (,) "only" serves as a
separator between several variables to be filtered.
However it is not possible to filter for a comma character
in variables names!
This results in the special filtering of array variables for
Dim 2 and Dim 3 not being possible.
Identification Enter the identification or part of the identification of the
variables you want to filter. Wild card * is possible.
Use of the wild card * is possible. Wildcards are only
permitted as a prefix or suffix; e.g. *xxx or xxx*.
Note: Filter terms entered in Runtime or in the Editor are
automatically saved on the local computer in zenon6.ini
and are available for selection in the drop-down list.
Case sensitive Active: Capitalization is recognized when filtering for
variable name or identification.
TYPE OF ALARMS
Parameter Description
Type of alarms Type of alarm that is displayed.
Only not acknowledged alarms Active: Only alarms that have not yet been
acknowledged by the user are displayed.
Only cleared alarms Active: Only alarms that have already passed, i.e. whose
values no longer in the critical range, are displayed.
Only current alarms Active: Only alarms that are still active, i.e. whose
values are still in the critical range, are displayed.
Comment required Active: Only alarms for which it is required to enter a
comment during acknowledging are displayed.
Alarm cause required Active: Only alarms that are required for the linking
of an alarm cause are displayed.
380
Screen types
Alarms have to be pending at least Use the spin control to define the minimum time that an
alarm should be active in order for it to be displayed.
Possible settings:
Days
Hours (hr.)
Minutes (min.)
Seconds (sec.)
Milliseconds (ms)
Parameter Description
Origin of the data Display of current or current and historical alarms.
Ring buffer Active: Only data from the ring buffer are displayed.
Historical data Active: Data from the ring buffer and historical data
Maximum number from the AML are displayed.
The maximum number of the data which should be
displayed includes the data from the ring buffer.
Parameter Description
Alarm/Event Groups/Classes, Alarm Selection of groups, classes and alarm area.
Areas
Alarm/event groups From the existing alarm/event groups select the one from
which alarms should be displayed.
Alarm/event classes From the existing alarm/event classes select the one from
which alarms should be displayed.
Alarm areas From the existing alarm areas select the one from which
alarms should be displayed.
Note: If the Use hierarchical alarming of the Equipment
Model property is activated, the Alarm area column is
empty. The checkbox is in the alarm handling item of the
variable properties.
Show list without refresh Active: As long as the list is displayed no new entries are
added.
CEL FILTER
381
Screen types
With the general filter you define which events are displayed and what kind of access you have to the
settings in the Runtime. To this you differentiate events according to:
Type
Origin of the data
Variables
Alarm/event groups, classes and alarm areas
382
Screen types
VARIABLE FILTER
Parameter Description
Variable filter Restrictions to events of certain variables
Variable name Enter the name or part of the name of the variable you want to
filter.
Use of the wild card * is possible. Wildcards are only permitted
as a prefix or suffix; e.g. *xxx or xxx*.
Note: Filter terms entered in Runtime or in the Editor are
automatically saved on the local computer in zenon6.ini and
are available for selection in the drop-down list.
Attention: The comma character (,) "only" serves as a
separator between several variables to be filtered. However it
is not possible to filter for a comma character in variables
names!
This results in the special filtering of array variables for Dim 2
and Dim 3 not being possible.
Identification Enter the identification or part of the identification of the
variables you want to filter. Wild card * is possible.
Use of the wild card * is possible. Wildcards are only permitted
as a prefix or suffix; e.g. *xxx or xxx*.
Note: Filter terms entered in Runtime or in the Editor are
automatically saved on the local computer in zenon6.ini and
are available for selection in the drop-down list.
Case sensitive Active: Capitalization is recognized when filtering for
variable name or identification.
Parameter Description
Origin of the data Display current or current and historical events.
Ring buffer Active: Only data from the ring buffer are displayed.
Historical data Active: Data from the ring buffer and historical data from
Maximum number the CEL are displayed.
The maximum number of the data which should be displayed
includes the data from the ring buffer.
Show list without refresh Active: As long as the list is displayed no new entries are
added.
(Not available for function Export CEL.)
383
Screen types
Display relative time All entries are displayed in the time distance to the selected
entry.
The displayed time is the difference time passed since the
selected entry. The selected entry automatically gets the time
stamp 0. The other events have a:
positive time difference to the selected entry if they
occurred later
negative time difference to the selected entry if they
occurred earlier
Parameter Description
Alarm/event groups/classes, alarm Selection of groups, classes and alarm area.
areas
Alarm/event groups From the existing alarm/event groups select the one from
which alarms should be displayed.
Alarm/event classes From the existing alarm/event classes select the one from
which alarms should be displayed.
Alarm Areas From the existing alarm areas select the one from which
alarms should be displayed.
Parameter Description
Filter for system messages Filter settings for system messages. System messages are
messages that do not relate to a variable.
Always show system messages in list Setting for the display of system messages regardless of
the filter settings.
Active: System messages are always displayed in
Runtime. The following filters are thus suppressed as a
result:
Variable name
Identification
Status
Equipment modeling
Alarm/event groups
Alarm/event classes
Lots
Special features:
System messages are not shown despite the checkbox
384
Screen types
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
Attention
For zenon under Windows CE, the following is applicable: CE systems on which the filter
dialog should be displayed must have a screen resolution higher than 800*600 pixel for
the dialog to be displayed completely.
385
Screen types
Text
You can define the default values for text filtering in this tab. Only available for Alarm Message List and
Chronological Event List.
386
Screen types
FILTER BY
Parameter Description
Filter by
No text filter The text filter is not used.
Search for (words separated by spaces) The text filter is used.
Further options are activated.
OPTIONS
Parameter Description
Options
Words do not have to appear in the text in full Active: Parts of words can also be taken into
account during filtering.
At least one word must be in the text Active: At least one word of the search string
has to be in the text.
All words must be present in the text Active: All words must be present in the search
string. In doing so, the sequence plays no role.
Filter text must appear in the text exactly Active: The text must be exactly as defined in the
search string.
387
Screen types
Time
On this tab, you define the time period that is to be used when the filter screen is opened.
388
Screen types
FILTER
Parameter Description
No time filter Active: No time filter is used.
Note: all Runtime entries since 1. 1. 1990 are displayed. Use of this filter setting
is not supported by Extended Trend.
Absolute filter Active: A fixed period of time is entered in the editor. When the function is
executed, the defined absolute time period is exactly used.
In the settings section, the corresponding options can be shown and configured
there.
Note: Time is saved in UTC. For details see chapter Handling of date and time in
chapter Runtime.
Relative time period Active: A relative time period is entered.
In the settings section, the corresponding options can be shown and configured
there.
Attention: this filter is constantly updated.
From Active: A time from which the filter is effective is stated. If the time is not
reached on the current day, filtering takes place from the corresponding time
the previous day.
Selection of the area mode from drop-down list:
Starting from HH:MM:SS
Starting from day - HH:MM:SS
Starting from day, month - at HH:MM:SS
In the settings section, the corresponding options can be shown and configured
there.
Attention: The start point of this filter is not updated automatically. Only the
existing times are used when shown.
The end time point is not defined with this filter, it is carried over.
389
Screen types
Time period Active: A fixed time period is entered. Selection of the area mode from
drop-down list:
One day
One week
Two weeks
One month
One Year
15 minutes
30 minutes
60 minutes
In the settings section, the corresponding options can be shown and configured
there.
The following selection is also enabled on activation:
Display selection dialog
CLOSE DIALOG
Option Description
Cancel Discards all changes in all tabs and closes the dialog.
390
Screen types
391
Screen types
Parameter Beschreibung
Einstellungen Konfiguration des Zeitfilters.
Aktuelles Datum/Uhrzeit vorschlagen Aktiv: Zeitfilter wird zur Runtime konfiguriert.
Vorgabe Aktiv: Zeitfilter wird im Editor vorgegeben. Zur Runtime kann
nur noch der Startzeitpunkt festgelegt werden.
Von Startzeitpunkt des Filters. Auswahl von Tag, Monat, Jahr,
Stunde, Minute und Sekunde.
Bis Endzeitzeitpunkt des Filters. Auswahl von Tag, Monat, Jahr,
Stunde, Minute und Sekunde.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
392
Screen types
393
Screen types
Parameter Description
Settings Configuration of the time filter.
Propose current date/time Active: Time filter is displayed in Runtime.
Preset Active: The time filter is prescribed in the Editor. Only the
start time can still be configured in Runtime.
Selection of the relative time period in days, hours, minutes and
seconds.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
From
A time from which the filter is effective is defined. To set the filter:
1. Select, in the Filter section, the Off option
2. Select the desired filter from the drop-down list.
Starting from HH:MM:SS
Starting from day - HH:MM:SS
Starting from day, month - at HH:MM:SS
394
Screen types
Parameter Description
Settings Configuration of the time filter.
[Date/Time] Depending on the settings of the Off option, the time from
which the filter is effective is configured here:
Starting from HH:MM:SS
Starting from day - HH:MM:SS
Starting from day, month - at HH:MM:SS
Warning! The start point of this filter is not updated
automatically. Only the existing times are used when shown,
even if the screen remains open and 23:00:00 is reached.
The end time point is not defined with this filter, it is carried
over.
Starting from HH:MM:SS A time from which the filter is effective is stated. If the time is
395
Screen types
not reached on the current day, filtering takes place from the
corresponding time the previous day.
Example: You enter 23:00:00. If it is then 23:30 when
executing the function, then it is filtered from 23:00:00 up to the
current point in time. If it is 22:30 however, then filtering takes
place from 23:00:00 on the previous day to the current point in
time.
Starting from day - A day and time for the start of the filter are entered. If the time
HH:MM:SS given has not been reached in the current month, the
corresponding time from the previous month is used.
Example: You enter day 5 - 23:00:00. If it is the 10th of the
month at 23:30, then filtering takes place from the 5th of the
month from 23:00:00 to the current time point. If, however, it is
the 4th of the month, then filtering takes place from the 5th of
the previous month to the current time point.
Starting from day, month - A month, day and time for the start of the filter are entered. If
at HH:MM:SS the time stated has not been reached in the current year, the
corresponding time from the previous year is used.
Example: You enter Day 5, Month October -
23:00:00. If it is October 10th at 23:30, then filtering takes
place from October 5th from 23:00:00 to the current time point.
If, however, it is only October 4th, then filtering takes place from
the 5th of the previous year to the current time point.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
Time period
A time period in which the filter is effective is defined. To set the filter:
1. Select, in the Filter section, the Time period option
2. Configure the desired time in the Settings section
396
Screen types
3. Note: The Offer selection dialog and Use current date/time entries are deactivated if, in the
Filter... dialog in the Display tab under Runtime, the Show this dialog in Runtime property has
been activated.
397
Screen types
Option Description
Time period Selection of a time range from a drop-down list.
Filtering for this time range is carried out in Runtime. The filter
relates to the time of screen switching.
For example: The value 60 minutes shows all archives of the last
hour.
If this dialog is also offered in Runtime, the start time of the time
range can be selected.
The following possibilities for selection are activated:
Display selection dialog
398
Screen types
Change time period by Active: The time period defined in the filter is modified. The end
time is moved by the set time span. The start time remains
unchanged.
Given in hours - minutes - seconds.
The time range can be added or deducted. Selection by means of
radio buttons:
Add time: The time stated in Change time period by is added
to the time defined in the Time range option.
Deduct time: The time stated in Change time period by is
deducted from the time defined in the Time range option.
If a change and a postponement that are the same or greater than
the selected time period is set, a note to check the configuration is
displayed next to the control element for time configuration.
Use last finished time period Active: The last selected and fully-completed time period in the
Time period option is used.
Example: For the Time period option, One day was selected.
Filtering is thus carried out for "Yesterday", because this is the last
day that was completed in full.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
With this method, you enter a fixed time period into the editor, which is applied when the function is
carried out in Runtime. You can then only define the start time in Runtime, but no further filter settings.
For example: You set a 30 minute time filter. In Runtime, you can now only set when this 30 minute time
period is to start. However, you cannot change the filter to a day filter.
Attention
When using this type of filter, you can also no longer amend all other filters in Runtime
that are available in the General tab. It is still possible to filter for text, status and
equipment.
399
Screen types
1. The screen must have the Filter button to start the filter in Runtime
2. select the desired filter
3. Configure the selected time period
Tip for time period: Activate the Show this dialog in Runtime option in the filter dialog. This way
you can amend the start time before the function is carried out. Do not have the filter displayed in
Runtime when the function is turned on; this way the current time period is always used. If you have
activated the Use last closed time period option, the previous time period is shown.
For example: You have set a 30 minute filter. It is 10.45 when the function is activated. If the Use last
closed time period option is deactivated, the filter is set to the current time period 10:30:00 to 10:59:59.
If the option is activated, the filter is set to the previous time period of 10:00:00 to 10:29:59.
400
Screen types
With this method, the time filter can be amended in Runtime before execution.
401
Screen types
Lots
On this tab, you can define the lots that are to be displayed.
Note: If the lot filter is activated, the shift filter is automatically deactivated. Both filters mutually
exclude one another.
FILTER
Settings for the application of the lot filter. Selection of one of the options:
No lot filter
Apply lot filter directly
Display lot selection dialog
Note: If the lot filter is shown as a dialog, it can be prefiltered for archive identifications. It is
expressly recommended that you use this prefiltering for performance improvements.
402
Screen types
Option Description
No lot filter Active: The lot filter is deactivated and cannot be
configured. Filtering for lots is not carried out in Runtime.
Apply lot filter directly Active: The filter configured here is applied in Runtime
directly.
Display lot selection dialog Active: The dialog for lot selection is shown in
Runtime when:
Clicking on Filter or
screen switching, if the Show this dialog in Runtime
option has been activated (Not available for each
function/screen type)
Note: The dialog is not shown on reloading.
TIME
Configuration of the time filter for lot selection. Selection of one of the options:
No filter
Last lots
Use time filter from "Time" tab
403
Screen types
Option Description
No filter Active: The time range set in the Time tab is not taken
into account. All completed and current lots are
displayed.
Last lots Attention: Only works in conjunction with the Apply lot filter
directly option.
The option allows the combination of both options Display
current lots and Display completed lots. At least one of the
two options must be activated. If both options have been
deactivated, this corresponds to the No filter setting.
Active: Input of the number of lots last concluded,
according to what they should be filtered for. Input of the
number in the number field or configuration via arrow
keys.
Example: 3 was entered as a value for the option. 2 lots run
and 10 have been ended. The following is shown: the two that
are current and one that has been completed.
Note: The setting of the time filter is not used as a time period
for the current lots, but the last year. This filter will not be
executed as a prefilter and can therefore not be used to
improve performance.
Note on compatibility:
If the project is compiled for a version before 7.11, the
following is applicable: If the current lots are selected or the
combination of current and completed lots, then only the
completed lots are shown in Runtime.
Display current lots Active: The current lots are displayed.
Note: If the number of lots to be displayed is greater than the
number of current lots, lots that have been completed are
also shown until the set limit has been reached.
Example: 3 lots are to be displayed. 1 lot is running, 5 have
been completed. The one current lot and two completed lots
are displayed.
Display completed lots Active: The completed lots are displayed.
Note: If the number of lots to be displayed is greater than the
number of completed lots, lots that have been completed are
also shown until the set limit has been reached.
Use time filter from "Time" tab Active: Pre-filtering is carried out with the settings of
the Time tab.
The effective range of the filter can be amended within this
time range. Select from drop-down list:
Start and end also outside filter limits:
(Default)
404
Screen types
ARCHIVE(S)
405
Screen types
Option Description
No filter Active: Filtering for archive names is not carried out.
Static Active: Archives whose identification corresponds to the
character string entered in the input field are filtered for.
Input of the archive identifications in the input field:
Several identifications are separated by a comma (,).
* or empty: All archives, no filter.
From variable Active: The value of the variables linked here is applied as a
filter for archive names in Runtime.
Click on button ... in order to open the dialog for selecting a
variable.
Only available for all modules if the Apply lot filter directly
option has been selected:
Notes for variables in Runtime:
The variable selection is only activated in Runtime if a valid
variable has already been linked in Runtime. The ... button
is always deactivated in Runtime. The option can be
selected, but no new variable can be linked.
If the variable is not signed into the driver at the time at
which the lot filter is applied, the variable is signed in and
read. This can lead to delays with slow driver
connections/protocols.
Attention: If the selected variable is not found in Runtime,
there is no filtering for archive names. This also applies if the
value of the variable cannot be determined. The filter then
corresponds to the No filter setting.
NAME(S)
406
Screen types
Option Description
No filter Active: Filtering for lot names is not carried out.
Static Active: Lot names that correspond to the character string
entered in the input field are filtered for.
Input of the lot name in the input field:
Several entries are separated by a pipe character (|).
* or empty: All lots of all displayed archives, no filter.
From variable Active: The value of the variable linked here is applied as a
filter for lot names in Runtime.
Click on the ... button to open the dialog for selecting a variable.
Only available if the option Apply lot filter directly has been
selected.
Notes for variables in Runtime:
The variable selection is only activated in Runtime if a valid
variable has already been linked in Runtime. The ... button
is always deactivated in Runtime. The option can be
selected, but no new variable can be linked.
If the variable is not signed into the driver at the time at which
the lot filter is applied, the variable is signed in and read. This
can lead to delays with slow driver connections/protocols.
Attention: If the selected variable is not found in Runtime, there
is no filtering for lot names. This also applies if the value of the
variable cannot be determined. The filter then corresponds to
the No filter setting.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
Shift
You configure the limitation of the display to certain shifts in this tab. The shift information is also
applied to the existing filter.
Note:
407
Screen types
The shift filter requires a configured time filter. If the time filter is set to the No time filter option,
the shift filter is deactivated. A notice of the cause of the deactivation is shown.
If the lot filter is activated, the shift filter is automatically deactivated. Both filters mutually
exclude one another. A notice of the cause of the deactivation is shown.
CONFIGURATION
With the Apply shift filter directly option, the shifts are permanently monitored by the filter and the
filter is amended if necessary.
The shifts for filtering the data are redetermined if:
Shifts are reconfigured
Shifts are newly-created in the filter time period
The time period is reconfigured
408
Screen types
SHIFT DIALOG
FILTER
Settings for the application of the shift filter. Selection of one of the options:
No shift filter
Apply shift filter directly
Display shift selection
409
Screen types
Option Description
No shift filter Shift filter selection:
Active: The shift filter is deactivated and cannot be configured.
Filtering for shifts is not carried out in Runtime.
Apply shift filter directly Applying the shift filter in Runtime:
Active: The filter configured here is applied in Runtime directly.
Equipment groups and shift names can be preselected.
Display shift selection Display of the shift selection in Runtime:
Active: The dialog for shift selection is shown in Runtime.
The settings chosen in the Editor are applicable for the reading of
the shifts in Runtime.
The dialog is shown in Runtime when:
Clicking on the Filter button.
Or:
Executing screen switching.
Note: The dialog is not shown on reloading.
EQUIPMENT MODELING
NAME
410
Screen types
Option Description
Type Selection of the filter type from a drop-down list when filtering according
to name:
No filter:
Filtering for names is not carried out.
Name with wildcards:
A name with placeholder can be entered into the input field. All
shifts whose name is applicable for the filter are included.
Name from variable:
The name of the shift is defined by a variable in Runtime. Click on
button ... Opens the dialog for selecting a variable.
Default: No filter
Wildcards:
*: Replaces desired characters in the desired quantity. Can be used
as a search term at any desired place.
red* finds all texts that start with red.
OPTIONS
411
Screen types
Option Description
Only include shifts that are Configuration of which shifts are displayed.
fully in the filter range
Active: Only shifts that are fully in the time filter set are shown.
Inactive: Shifts that start earlier and/or finish later are also shown.
Default: Inactive
Example:
Time filter: Today 08:00 – 12:00.
Existing shift: Today 8:30 AM – 5:00 PM.
Result for:
Option active: The shift is not taken into account because it is not
fully in the time filter.
Inactive option: The shift is taken into account because it is
partly in the time filter.
Use shifts found Selection of shifts that are taken into account, from drop-down list:
All: All shifts found are taken into account.
Earliest shift only:
Of the shifts found, only the earliest are taken into account.
The earliest shift is the shift with the earliest start time. If several
shifts have the same start time, one of these shifts is selected
randomly.
Only last shift:
Of the shifts found, only the latest shift is taken into account.
The latest shift is the shift with the latest end time. If several shifts
have the same end time, one of these shifts is selected randomly.
Default: all
Attention: The Only include shifts that are fully in the filter range
influences the evaluation of this option. If it is active, only shifts that are
fully in the time range can be found. If it is inactive, shifts that start
earlier or end later can be found.
Example:
Configuration and shifts:
Only include shifts that are fully in the filter range option: active.
Use found shifts option: Latest shift only
Time filter: Today 08:00 – 10:00 AM.
Shift 1: Today 08:00 – 8:30 AM.
Shift 2: Today 8:30 AM – 9:00 AM.
Shift 3: Today 10:00 AM – 11:00 AM.
412
Screen types
Result:
Shift 2 is used
Switch to "Show shift selection" Active: The filter acts as with the Show shift selection option. The
mode time filter is set to absolute; start and end correspond to the start
time and end time of the shifts. If no shift is found, the times are set
to 0 for the time filter.
Default: Inactive
Behavior in Runtime:
If the shift management is set to Show shift selection in Runtime, the
filter options also have an effect on the shifts shown in the shift list. The
shift list is filtered accordingly by clicking on the Update button.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
Column settings
In this tab, you define how the archive list, the lot list and the shift list are displayed in Runtime:
Selection of the columns to be displayed
Sorting of the columns
Formatting of columns:
Labeling
Width
413
Screen types
Alignment
414
Screen types
ARCHIVE LIST
Option Description
Archive list Configuration of the archive list. Display of the configured
columns.
If you want to edit the list directly using the monitor, activate the
Multi-Touch functionality.
You can find detailed information in relation to this in the
Configure interactions chapter.
LOT LIST
Option Description
Lot list Configuration of the lot list. Display of the configured columns.
If you want to edit the list directly using the monitor, activate the
Multi-Touch functionality.
You can find detailed information in relation to this in the
Configure interactions chapter.
SHIFT LIST
415
Screen types
Option Description
Shift list Configuration of the shift list. Display of the configured columns.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
Column selection
416
Screen types
Option Function
Available columns List of columns that can be displayed in the table.
Selected columns Columns that are displayed in the table.
Add -> Moves the selected column from the available ones to the
selected items. After you confirm the dialog with OK, they are
shown in the detail view.
Add all -> Moves all available columns to the selected columns.
<- Remove Removes the marked columns from the selected items and shows
them in the list of available columns. After you confirm the dialog
with OK, they are removed from the detail view.
<- Remove all All columns are removed from the list of the selected columns.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
417
Screen types
Column Format
Configuration of the properties of the columns for configurable lists. The settings have an effect on the
respective list in the Editor or - when configuring screen switching - in Runtime.
418
Screen types
AVAILABLE COLUMNS
Option Description
Available columns List of the available columns via Column selection. The
highlighted column is configured via the options in the Settings
area.
SETTINGS
Option Description
Settings Settings for selected column.
Labeling Name for column title.
The column title is online language switchable. To do this, the @
character must be entered in front of the name.
Width Width of the column in characters.
Calculation: Number time average character width of the selected
font.
Alignment Alignment. Selection by means of radio buttons.
Possible settings:
Left: Text is justified on the left edge of the column.
Centered: Text is displayed centered in the column.
Right: Text is justified on the right edge of the column.
User-defined colors Properties in order to define user-defined colors for text and
background. The settings have an effect on the Editor and
Runtime.
Note:
These settings are only available for configurable lists.
In addition, the respective focus in the list can be signalized
in Runtime by means of different text and background
colors. These are configured using the project properties (on
page 161).
User defined colors Active: User-defined colors are used.
Text color Color for text display. Clicking on the color opens the color
palette to select a color.
Background color Color for the display of the cell background. Clicking on the color
opens the color palette to select a color.
419
Screen types
Lock column filter in the Runtime Active: The filter for this column cannot be changed in
Runtime.
Note: Only available for:
Batch Control
Extended Trend
Filter screens
Message Control
Recipe Group Manager
Shift Management
Context List
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
You can have system messages displayed in Runtime by means of message boxes. Five different system
messages can be configured in Runtime:
Message Box [Ok]
Message Box [Yes, No]
Message Box [Yes, No, Yes to All, No to All]
Message Box [Ok, Cancel]
Message Box [Yes, No, Cancel]
Note: The listed message box types are only called up if they are called up from a zenon screen directly.
The message boxes that are called up from a dialog remain unchanged.
There are two procedures for the creation of a screen from zenon version 8.00:
420
Screen types
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
Attention
Be sure to have the following settings for the selected frame:
Activate the option Frame can be opened multiple times
Activate the option Do not close after losing focus
The Message box screen must not be based on the same frame as other
screens!
Deactivate the Min./max. option Buttons in the Frame project properties.
Note the following information for the message box screen:
No screen switching can be configured in the screen.
The message box screen must not be called up by means of a screen
switching function.
421
Screen types
Note: Icons are implemented as buttons without a function. Replace the labeling with graphics files to
achieve the desired display.
18.9 HTML
Makes it possible to display a screen in HTML. The Microsoft Web Browser Control currently installed on
the computer is used as the rendering engine.
Information
The possibilities for browsers are limited in Windows CE. Pages may not be displayed as
expected.
422
Screen types
COMPATIBILITY MODE
The behavior of compatibility mode can be amended using the Windows Registry.
Note: On a 64-bit computer, add the same DWORD value in the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet
Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
GPU RENDERING
Note: On a 64-bit computer, add the same DWORD value in the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet
Explorer\Main\FeatureControl\FEATURE_GPU_RENDERING
Engineering
There are two procedures for the creation of a screen from zenon version 8.00:
423
Screen types
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
424
Screen types
HTML SCREEN
Insert template Opens the dialog for selecting a template (on page 272) for the screen type.
Templates are shipped together with zenon and can also be created by the
user.
425
Screen types
426
Screen types
427
Screen types
ADDRESSES
Parameter Description
Addresses Selection of the type of address entry for the home page:
Static URL: Enter a fixed address in the browser
window or select from its drop-down list.
URL from variable: Selection of a variable in the
Variable field, which transfers the address in Runtime.
Variable Enter the variables that transfer the URL of the home page in
Runtime. Click on button ... in order to open the dialog for
selecting a variable. The variables can only be entered in the
field directly.
Only available if, for Addresses, URL from variable has
been selected.
Browser Window Enter the URL that is to be opened in Runtime as a home page.
Selection by means of a drop-down list or direct input in the
field.
Only available if, for Addresses, Static URL has been
selected.
Search window Selection of the URL that is used for search in the Internet.
Selection by means of a drop-down list or direct input in the
field.
PROGRESS
Parameter Description
Progress Number of addresses that are
available for the drop-down list.
Search addresses Number of addresses that are
noted for the search range and
are available in the drop-down
list.
Minimum: 0
Maximum: 20
Default: 10
Note: The number is only used
for the remanent saving in the
project.ini (at closing and
restarting the Runtime) however
not for the running Runtime.
Browser addresses Number of addresses that are
noted for the home page.
428
Screen types
Minimum: 0
Maximum: 20
Default: 10
Note: The number is only used
for the remanent saving in the
project.ini (at closing and
restarting the Runtime) however
not for the running Runtime.
GENERAL
Parameter Description
Show this dialog in the Runtime Active: Opens the dialog when the screen is opened in
the Runtime. Settings can be amended.
Inactive: The settings made here are applicable in
Runtime. These can no longer be amended.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
18.10 Notepad
With the notepad you can display text files and (optionally) edit them.
The display size of the screen Notepad is taken from the frame size (on page 203). The file which is
opened must be determined during the definition of the Screen switch (on page 433).
429
Screen types
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
430
Screen types
431
Screen types
432
Screen types
Parameters Description
File name Selection of the file which is to be displayed Click on ... button to open the
selection dialog. The file must have already been created in the project manager in
the File/Texts and formats node. If no appropriate file has been created, you
can select on in the dialog using symbol Add file. Allowed file types: TXT, HTM,
HTML, FRM.
read only Active: In the Runtime the text can only be read but not edited.
433
Screen types
434
Screen types
Context Lists allow central administration of hierarchically-structured texts in Runtime. They can be used
for the central administration of alarm causes. To do this, a Context List entry is linked to one or several
entries in the Alarm Message List.
If you want to edit the list directly using the monitor, activate the Multi-Touch functionality.
You can find detailed information in relation to this in the Configure interactions chapter.
Possible alarm causes can be pre-defined centrally with the help of the Context List. This also simplifies
evaluation, for example in reports. Texts that are also required (alarm causes) can be easily added in
runtime using the zenon Context List screen.
435
Screen types
Levels
Several nodes can be arranged in parallel or hierarchically in a Context List. Each node can
contain several entries.
Restrictions:
maximum 5 hierarchy levels
no language switch
Persistence
Context Lists are persistent. They therefore cannot be deleted, only hidden from the user. Gaps
in reports are thus avoided.
Longer texts can also be displayed in Runtime over several lines using the Automatic word wrap
property.
In the Editor, go to Representation in the properties of the respective list properties and activate the
checkbox of the Automatic word wrap property.
When using a Context List in a network project, saving is carried out on the server. Clients are
synchronized automatically.
If a list is processed on several clients at the same time, the last-saved version is used by the server and
distributed to all clients.
If the client loses the connection to the server, the Context List is emptied on the client and the screen
elements are grayed out for editing. Linked entries in the Alarm Message List are shown with the text
<Alarm cause does not exist>.
As soon as there is a connection to the server, the Context List is shown and the screen elements are
released for editing.
Hint: In the network, use tokens for operating authorizations; for details, see the Context List in the
network (on page 456) chapter.
AML
When calling up an alarm list, the "Alarm Cause" can be displayed as empty (<Alarm cause does not
exist>), if the update has not yet been sent by the server. As soon as the first update comes from the
server, the alarm causes are shown correctly.
436
Screen types
CEL
Changes in the Context List can be logged in the CEL. To do this, activate, in the project properties for
the Chronological Event List group, the logging for Context lists.
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
437
Screen types
438
Screen types
INSERT TEMPLATE
CONTROL ELEMENTS
Column format Opens the dialog for configuration of the individual columns.
Only available in Runtime if the list is shown in the screen.
439
Screen types
440
Screen types
ENGINEERING
In order to be able to use the screen in Runtime to select alarm causes, select the previously-created
screen in the project settings in the Alarm Message List group for the Alarm cause selection screen
setting. The default dialog to select alarm causes is replaced by this screen as a result.
USE IN RUNTIME
Use the OK, Cancel and None control elements to assign entries from the Context List (alarm causes) to
the alarms selected in the Alarm Message List.
In Runtime, only the control elements to select alarm causes, the control elements for column settings
and the control elements to expand and reduce nodes are active in the screen. All other control
elements for editing the Context List, if present in the screen, grayed out.
441
Screen types
ENGINEERING
442
Screen types
General
443
Screen types
Option Description
Show texts marked as "deleted" Configuration of the display of entries that have been marked as
deleted.
active: Display in the Context List.
Inactive: Not displayed in the Context List.
Default: Inactive
Note: If a corresponding control element has been configured
for the screen, it is configured along the same lines as this
setting.
Standard view in the Context List Configuration of the view in which the Context List is opened in
Runtime.
Selection by means of radio buttons:
All nodes expanded:
All entries of all nodes are shown. (Default.)
First level nodes expanded:
The first level is shown as opened.
All nodes collapsed:
Only the first level of the node is visible.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
444
Screen types
Column settings
Configuration of the view of the Context List in Runtime. Select the columns to be displayed and
configure its appearance.
The configuration can be amended in Runtime, either by clicking or by means of the corresponding
control elements.
The Column selection and Column format options are only available in the screen if the list is displayed
in the screen.
445
Screen types
Parameter Description
List field Display of the configured columns.
Column selection Opens the dialog for selecting the columns.
Column Format Opens a dialog to format the columns.
OK Applies all changes and closes dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Column selection
446
Screen types
Option Function
Available columns List of columns that can be displayed in the table.
Selected columns Columns that are displayed in the table.
Add -> Moves the selected column from the available ones to the
selected items. After you confirm the dialog with OK, they are
shown in the detail view.
Add all -> Moves all available columns to the selected columns.
<- Remove Removes the marked columns from the selected items and shows
them in the list of available columns. After you confirm the dialog
with OK, they are removed from the detail view.
<- Remove all All columns are removed from the list of the selected columns.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
447
Screen types
Column Format
Configuration of the properties of the columns for configurable lists. The settings have an effect on the
respective list in the Editor or - when configuring screen switching - in Runtime.
448
Screen types
AVAILABLE COLUMNS
Option Description
Available columns List of the available columns via Column selection. The
highlighted column is configured via the options in the Settings
area.
SETTINGS
Option Description
Settings Settings for selected column.
Labeling Name for column title.
The column title is online language switchable. To do this, the @
character must be entered in front of the name.
Width Width of the column in characters.
Calculation: Number time average character width of the selected
font.
Alignment Alignment. Selection by means of radio buttons.
Possible settings:
Left: Text is justified on the left edge of the column.
Centered: Text is displayed centered in the column.
Right: Text is justified on the right edge of the column.
User-defined colors Properties in order to define user-defined colors for text and
background. The settings have an effect on the Editor and
Runtime.
Note:
These settings are only available for configurable lists.
In addition, the respective focus in the list can be signalized
in Runtime by means of different text and background
colors. These are configured using the project properties (on
page 161).
User defined colors Active: User-defined colors are used.
Text color Color for text display. Clicking on the color opens the color
palette to select a color.
Background color Color for the display of the cell background. Clicking on the color
opens the color palette to select a color.
449
Screen types
Lock column filter in the Runtime Active: The filter for this column cannot be changed in
Runtime.
Note: Only available for:
Batch Control
Extended Trend
Filter screens
Message Control
Recipe Group Manager
Shift Management
Context List
CLOSE DIALOG
Option Description
OK Applies all changes in all tabs and closes the dialog.
Cancel Discards all changes in all tabs and closes the dialog.
Help Opens online help.
450
Screen types
The Context List shows nodes and texts in up to 5 levels in Runtime. The columns that are shown by
default are configured using the screen switching. Depending on the configuration, the columns are
moved and amended by means of the corresponding control elements or by clicking.
451
Screen types
CONTROL ELEMENTS
Column format Opens the dialog for configuration of the individual columns.
Only available in Runtime if the list is shown in the screen.
452
Screen types
Each Context List can contain up to 5 levels. The display of the levels can be controlled by clicking on the node
symbols in the list or by means of a button.
Buttons:
Expand all:
Opens all entries of the next closed level.
Expand all nodes:
Opens all entries of all levels.
Reduce all:
Collapses all nodes of all levels.
Expand selected:
Opens all entries at the selected level.
Reduce selected:
Collapses all entries of the selected level.
453
Screen types
FILTERING OF ENTRIES
SORTING OF ENTRIES
The entries in the Context List can be shown as sorted. In doing so, all nodes and subnodes are sorted.
Up to 5 levels can be created in the Context List. Nodes can contain as many texts as you wish. Text
names must be unique within a node. Names and descriptions can be added and amended. Nodes and
texts can be highlighted as deleted.
CREATING NODES
To create a node:
1. For a node at the uppermost level, nothing can be selected in the Context List.
For a node in a sublevel, highlight a node in the superordinate level.
2. In the Name field, enter a name that is unique within the Context List.
Maximum length: 256 characters.
Note:: The following characters are not permitted: /\:*?<>!|"'#%
3. Confirm the entry by pressing the Enter key.
454
Screen types
CREATING TEXT
To create a text:
1. Highlight a node in the Context List.
2. In the Name field, enter a name that is unique within the level.
Maximum length: 256 characters.
Note:: The following characters are not permitted: /\:*?<>!|"'#%
3. Confirm the entry by pressing the Enter key.
4. Click on the Add text button.
The text is added in the level.
The focus remains on the superordinate node. This is how you can create several texts after one
another.
Note: The button is deactivated if no entry is selected in the Context List.
Hint
To create nodes and texts: In the Name and Description fields, select the Element
option for the Write set value via property.
EDIT ENTRIES
To edit an entry:
1. Highlight the entry in the Context List.
2. Open the field for editing with a double click.
3. Amend the entry.
4. Accept the change by pressing the Enter key or clicking next to the field.
5. Save the change by clicking on the Save button.
SAVING ENTRIES
455
Screen types
Entries in a Context List cannot be deleted; they can only be marked as deleted.
To mark an entry as deleted:
1. Highlight the desired elements in the Context List.
Multiple selection is possible.
2. Click twice on the checkbox in the Mark as "deleted" column or press the Del key.
With multiple selection, click on the Del key.
The checkbox is shown with a tick.
The elements are marked as deleted.
Depending on the setting for the Show texts marked as "deleted" control element, the
elements from the list are removed or shown as grayed out.
If a node is marked as deleted, then all its subelements are marked as deleted. As soon as an entry has
been marked as deleted, the name and description can no longer be changed.
Note: The name and description can always be changed using the API.
If the screen to select alarm causes is used, you can assign entries from the Context List (alarm causes)
to the alarms currently selected in the Alarm Message List using the OK, Cancel and None entries.
In Runtime, only the control elements to select alarm causes, the control elements for column settings
and the control elements to expand and reduce nodes are active in the screen. All other control
elements for editing the Context List, if present in the screen, grayed out.
When using a Context List in a network project, saving is carried out on the server. Clients are
synchronized automatically.
If a list is processed on several clients at the same time, the last-saved version is used by the server and
distributed to all clients.
456
Screen types
If the client loses the connection to the server, the Context List is emptied on the client and the screen
elements are grayed out for editing. Linked entries in the Alarm Message List are shown with the text
<Alarm cause does not exist>.
As soon as there is a connection to the server, the Context List is shown and the screen elements are
released for editing.
If the Operating authorization in the network property is configured for the Network group accordingly
(Global or via equipment model), this leads to the following behavior in Runtime:
If there is operating authorization for the computer, all actions can be carried out as described in
Editing nodes and texts (on page 454).
If there is no operating authorization, these actions are prohibited and a notice dialog is called
up.
If there is operating authorization during editing, but not when closing the screen if there are
unsaved changes, a notice dialog is called up and the changes are discarded.
You can find further information on operating authorizations in the Operating authorizations in the
network chapter.
Alarm causes
The Context List module is available for the Alarm Message List for the configuration and display of
alarm causes.
Access to the Context Lists via the API is possible using the Textlist Manager. In doing so, nodes and
texts can be created. The Textlist Manager creates a unique GUID for each entry in the Context List.
These elements can be accessed via this GUID. An empty string is output if a GUID is invalid. If the GUID
is not found, the notice "alarm cause does not exist" is output.
Texts can be created in several levels. The individual texts are combined for output in the Alarm Cause
column in the Alarm Message List, separated with periods (.).
For example: Alarm causes.Filler.Bottle broken
457
Screen types
Example:
The elements colored blue are correct, the ones colored red are no longer used, because the permitted
number of levels is exceeded.
Attention
The Text List Manager object in the API corresponds to the Context List in zenon. The
Text List objects correspond to the nodes and texts in zenon.
SCRIPT
Option Explicit
Public Sub CreateTree()
Dim TM As TextListManager
Set TM = thisProject.TextListManager
458
Screen types
459
Screen types
18.12 Video
Video recordings - online and from saved data - can be shown in zenon with the use of a screen for
video display and video recording. The format used is .avi.
Videos are played back in Runtime in the center of the assigned frame. They are controlled using control
elements.
Note: The codec required to play back videos must be installed on the computer.
Information
The control of videos integrated into notebooks via the manufacturer's driver does not
always work properly with zenon. In this case:
Install a camera from a third-party provider
Then select the integrated camera as a source
460
Screen types
ENGINEERING
There are two procedures for the creation of a screen from zenon version 8.00:
The use of the screen creation dialog (on page 21)
The creation of a screen using the properties
Steps to create the screen using the properties if the screen creation dialog has been deactivated in the
menu bar under Tools, Settings and Use assistant:
1. Create a new screen.
To do this, select the New screen command in the tool bar or in the context menu of the
Screens node.
461
Screen types
Information
Add template adds pre-defined control elements to pre-defined locations in the screen.
All control elements can be added, deleted and freely positioned. Other dynamic
elements and vector elements can also be added.
With screen Video you can display two types of videos in the Runtime:
1. saved videos (*.avi)
2. Videos of a surveillance camera
Which video is shown depends on which tab was shown when you saved the dialog.
Information
If video files and online video should be displayed, create to screen switch functions.
Video file
The parameters needed for the display of screen Video for showing a surveillance camera are the
following:
Set the video which should be shown
Settings for position, speed, volume and zoom factor of the display
462
Screen types
463
Screen types
Option Description
Video file Selection of the saved video file which is to be displayed. Click
on button ... in order to open the dialog for selecting a file.
Attention: Consider the maximum path length on your system
when naming the video files.
Option Description
Show playbar Display of a slider in the video screen.
Show menu Display a menu for controlling the video with the playback
bar.
Only available if Display playback bar has been activated.
Center view Reference point for the position of the video display in
zooming actions.
Active: The zoomed video is placed in the center of the
frame.
Inactive: The video display is zoomed to bottom right.
Autostart Active: Video file is automatically started when
opening the screen
Repeat Active: Video file is restarted after each end.
Speed Playback speed in thousandths of the original speed.
Default: 1000 (original speed)
Zoom Zoom factor for correctly-proportioned zooming in or
zooming out as a percentage of the original size.
Default: 100 (original size)
Volume Volume in thousandths of the original volume.
Default: 1000 (original volume)
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
464
Screen types
Video online
The parameters needed for the display of screen Video for showing a surveillance camera are the
following:
Setting of the video driver
Setting of the recording options if the video should be recorded
Option Description
Video - drivers Selection of the video driver used from the drop-down list. It
contains the installed and supported drivers.
Note: The driver has to support Microsoft Capturing.
RECORDING
Options for the recording and saving of the video as an AVI-file or Bitmaps.
If only online video should be displayed, there are no settings needed.
465
Screen types
Option Description
Video driver Selection of the video driver from a drop-down list.
Driver-specific settings.
Depending on the driver, additional properties are available:
Display
Format
Compress
Source
Name or shortname Name of the file to be saved.
Format Selection of the video format from the drop-down list.
AVI
BMP
Generate name automatically Active: Name is automatically created on recording.
Syntax: [System time].[Format]
Time limit for recording Time limit in seconds of how long the recording lasts.
Enter in field.
Default: 5
Frame rate Number of pictures per second for recording
Input in field.
Default: 15
Video buffer Reserved buffer for video recording in MB.
Input in field.
Default: 5
Maximum drop rate Maximum allowed drop rate for frames per second in percent
during the recording. If the maximum value is exceeded, a
warning is issued.
Value: 0 to 100
Default: 10
AUDIO
466
Screen types
467
Screen Functions
468
Screen Functions
With this function, a screen is called up in Runtime whose name is defined by a string variable. The
variable is selected with this function.
Parameter Description
Variable for screen name Linked variables with the name of the zenon screen to
which this function is switched.
Click on button ... in order to open the dialog for selecting
variables. A string variable is to be selected from the list
of variables as a transfer parameter.
Monitor Target monitor of the screen switch.
Select from drop-down list:
Current monitor
Screen is switched to the current, calling monitor.
Name of virtual Monitor 1
Screen is switched to the 1st virtual monitor.
Name of virtual Monitor x
Screen is switched to the xth virtual monitor.
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
469
Screen Functions
A defined screen in Runtime is closed with this screen. If, with a multiple-monitor projects, a screen is
switched to several monitors, it is possible to select which screen is closed on which monitor.
470
Screen Functions
CLOSE SCREEN
Parameter Description
Close screen Configuration of which screens are closed when the function is called up.
All screens with the All opened screens with the selected name are closed.
name
Click the ... button and a dialog opens to select a screen. For further details, see
the screen selection dialog section.
Calling screen The calling screen is closed.
This also happens if several screens with the same name are opened; only the
screen from which the call comes is closed. With this option selected, the monitor
selection cannot be configured manually.
Recommendation: Suitable for closing pop-ups.
MONITOR SELECTION
Parameter Description
Monitor selection Configuration of the monitor for which the closing of the screen is to be
configured.
Monitor Selection of the monitor from the list:
All monitors
Current monitor
Selection of a virtual monitor
(Note: the real existing monitors are displayed when called up in Runtime.)
Only available for multi-monitor systems and only for the All screens with the
name option.
Show this dialog in the Active: This dialog is opened in Runtime before the function is executed.
Runtime
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
In the screens selection dialog, screens can be selected for the execution of functions from:
Current project
Subprojects
471
Screen Functions
All projects in the workspace with the Keep project in memory option active
Parameters Description
Project tree window Displays all projects in the workspace. Screens can be selected from
the current project and from all projects with the Keep project in
memory option active
With this function, it is possible to switch to the screen of a template previously called up and since
closed during online operation. These screens that were previously open are administered in a buffer
after they have been closed. When opened again, the same function that is used to to open the screen is
executed once again. This means that screen filters are not saved but have to be recreated. By executing
the Screen switching function, the screens of the corresponding frames (on page 203) are stored in the
memory.
472
Screen Functions
Attention: Each call of the screen switch function counts, even if the screen switch does not ensue
directly but is entered in the screen properties as a start function.
Information
A screen is only entered into the previous screen list if it is closed. Templates that are
open in the background are not considered closed screens however. If screens are
switched in several templates above one another, then the previous screen list remains
empty because all screens are still open.
Hint: In general, never place the templates directly above one another.
DELETE PATH
with this function, the path of the Screen: Return to last function (on page 472) can be deleted in
Runtime.
473
Screen Functions
Note: The Screen-back path can also be deleted automatically in Runtime in the event of a user change.
To do this, the Delete "Screen: Return to last" path during userchange project property in the User
Administration group must be configured.
With this function, the screen center can be moved or the zoom factor can be changed in the
Worldview.
Requirements:
The screen must be larger than the frame
In the screen properties, the Screen size from frame must be deactivated in the Frame group
The size must be defined using the Width [pixels] and Height [pixels] properties
Information
This function is not available under Windows CE.
474
Screen Functions
Parameter Description
Screen Selection of the screen for the new center Clicking on the button opens the
dialog to select the screen.
Select screen center Settings for the screen center
Object name Set desired center of the screen via an object from the object list
Step Set desired zoom factor via the defined zoom steps.
Note: If the Worldview is called up several times, this function is only applied to the last screen called
up.
The screen switch function makes it possible to switch between process screens in runtime
Example
In a project, there is a Start screen and a screen of type Alarm Message List. During
runtime, it should be possible to switch between these two screens. So, for example, a
button is created in the Start screen and a function of type screen switching in the
Alarm Information list screen. After this, the function is linked to the button, for
example by dragging & dropping. Now during runtime, the Start screen can be left by
pressing the button and the Alarm Message List can be switched on.
475
Screen Functions
In the screens selection dialog, screens can be selected for the execution of functions from:
Current project
Subprojects
All projects in the workspace with the Keep project in memory option active
476
Screen Functions
Parameters Description
Project tree window Displays all projects in the workspace. Screens can be selected from
the current project and from all projects with the Keep project in
memory option active
This function activates the element that is being focused on in the frame selected.
This function sets the focus to a defined frame when operating the keys in Runtime.
477
Screen Functions
In the screen, the element gets the focus that has been defined as the first element in the
sequence for left/right. The sequence for top/bottom is ignored.
In the frame selection dialog, frames can be selected for the execution of functions, from:
Current project
Subprojects
All projects in the workspace with the Keep project in memory option active
478
Screen Functions
Parameter Description
Project tree window Displays all projects in the workspace. Frames can be selected from the
current project and from all projects with the Keep project in memory
option active.
Frames window Selection of a frame.
If several frames are selected, the frame at the top of the list is used to
execute the function.
No selection Removes selection and closes dialog.
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
If a frame is displayed on a monitor several times (on page 216), then the focus is switched in the
reverse of the switching sequence each time the functions of the focus are executed. If, for example,
with a frame that is called up several times, the screens Screen1, Screen2 and Screen3 are open and
then the focus is set to this frame, the focus goes to the last screen opened, Screen3. When the Set
focus to frame function is called up again, the focus is set to Screen2 etc.
This function set the focus on a particular element in runtime with keyboard operation and can
therefore be used to navigate within a frame.
479
Screen Functions
Property Action
Direction Define the direction in which the focus should be moved. The following defined
sequence applies in the editor in the context menu or under Edit/change focus
sequence...
on the element Definition of the element for the focus. Enter the object name of the element.
This function takes the focus from the current frame in runtime. To continue operating the keyboard,
the focus must be set to a frame again.
480
Screen Functions
Parameters Description
Action Selection of the action:
Show menu The selected menu is displayed.
Hide menu The selected menu is hidden.
Change menu The current menu is hidden and the selected menu is displayed
instead.
If no menu exists The selected menu is displayed, if no menu is displayed at the
moment.
Menu Selection of menu.
Show this dialog in the Runtime Active: This dialog is opened when the function is carried out in
Runtime.
In a multi-monitor-environment you can assign a certain virtual monitor to a single real existing monitor.
With this function, screens that are covered by other screens in Runtime can be moved to the
foreground. A frame is selected - and a monitor assignment if multiple monitors have been configured.
In Runtime, when executed, all instances of the defined frame are moved to the foreground of the
selected monitor. This function is mainly useful for screens and frames that are called up with a title bar.
481
Screen Functions
482
Screen Functions
Parameter Description
Project tree window Displays all projects in the workspace. Frames can be selected from the
current project and from all projects with the Keep project in memory
option active.
Frames window Selection of a frame.
If several frames are selected, the frame at the top of the list is used to
execute the function.
No selection Removes selection and closes dialog.
Monitor For multi-monitor systems, the selection of the monitor for which this
function is configured from a drop-down list:
All monitors
Current monitor
Designated virtual monitor
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
With this function, the selected frame (on page 203) with all screens that are based on it are closed. In
contrast to the Close screen (on page 470) function, the precise screen name need not to be given in this
case. If, with a multiple-monitor projects, a frame is switched to several monitors, it is possible to select
which frame is closed on which monitor.
483
Screen Functions
484
Screen Functions
CLOSE FRAME
Parameter Description
Close frame Configuration of which frames are closed when the function is called up.
All frames with the All opened frames with the selected name are closed.
name
Click on the ... button to open the dialog to select a frame. For details, see the
Frame selection dialog (on page 485) section.
Calling frame The calling frame is closed. This also happens if several frames with the same
name are opened; only the frame from which the call comes is closed. With this
option selected, the monitor selection cannot be configured manually.
MONITOR SELECTION
Parameter Description
Monitor selection Configuration of the monitor for which the closing of the frame is to be
configured.
Monitor Selection of the monitor from the list:
All monitors
Current monitor
Selection of a virtual monitor
(Note: the real existing monitors are displayed when called up in Runtime.)
Only available for multi-monitor systems and only for the All frames with the
name option.
Show this dialog in the Active: This dialog is opened in Runtime before the function is executed.
Runtime
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
In the frame selection dialog, frames can be selected for the execution of functions, from:
Current project
Subprojects
485
Screen Functions
All projects in the workspace with the Keep project in memory option active
Parameter Description
Project tree window Displays all projects in the workspace. Frames can be selected from the
current project and from all projects with the Keep project in memory
option active.
Frames window Selection of a frame.
If several frames are selected, the frame at the top of the list is used to
execute the function.
No selection Removes selection and closes dialog.
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
This function is used to make a screenshot of the entire screen or of frames (process screens, lists, trend
curves, etc.) in the Runtime.
486
Screen Functions
Give the frame and the additional options as the transfer parameters. This function is configured via the
following dialog.
487
Screen Functions
Property Description
Selected print area Display of the selected area.
Define print area Selection of the area which should be printed.
Total screen area Prints screenshot of the whole screen. For multi-monitor systems the
contents of the default monitor is printed.
Frame list Only available if the Total screen area property is inactive.
Select the desired frame via double click. It is displayed in field
Selected print area.
Fax The hardcopy is rerouted to the fax. For this you must select a fax
device as printer for screenshots in the Printer settings.
488
Screen Functions
The Setpoint input for keyboard screen function is not available for the keyboard screen. In addition the
text field Set value must have been created. It makes it possible to set or set and send a previously
defined value.
Parameters Description
Setpoint input Input of the target value.
Action Selection of action from drop-down list.
(for possible actions, see the following table.)
OK Accepts inputs, closes dialog and creates functions with value and action.
Cancel Discards inputs, closes dialog and creates functions without setpoint and
action.
Help Opens online help.
489
Screen Functions
Action Description
Suggest value The setpoint default is written to the keyboard screen.
Accept value The following happens:
the set value default is written to the keyboard screen
The keyboard screen is closed with OK
RGM: Accept and send If the keyboard screen is called up from the Recipe Group Manger recipe
value table, then:
The setpoint default is written to the keyboard screen
The keyboard screen is closed with OK
The recipe value is written to the variable
RGM: Accept value and If the keyboard screen is called up from the Recipe Group Manger recipe
save recipe table, then:
The setpoint default is written to the keyboard screen
The keyboard screen is closed with OK
The recipe is saved
RGM: Write and send value If the keyboard screen is called up from the Recipe Group Manger recipe
and save recipe table, then:
The setpoint default is written to the keyboard screen
The keyboard screen is closed with OK
The recipe value is written to the variable
The recipe is saved
The Display overview window function displays the overview window in Runtime, which shows the real
existing monitors or frames in a multi-monitor system. A monitor or a frame can be activated by means
of a mouse click.
490
Screen Functions
491
Screen Functions
SETTINGS
Parameter Description
Settings The function can either open, close or toggle the overview window. Selection is carried
out by means of radio buttons:
Display The overview window is opened.
Toggle The display is switched between open and closed.
Close The overview window is closed.
DISPLAY OF
Parameter Description
Display of Selection of display in the overview window. Either frames or monitors are displayed.
Frames The overview window divides the screen into frames.
Monitors The overview window divides the display into monitors.
Position Position of the overview window on the screen, calculated in pixels from the upper left
edge.
WINDOW STYLE
Parameter Description
Window style
with title Active: The overview window has a Windows title bar.
System menu Active: A system menu is displayed if the title bar is activated.
with border Active: Overview window is displayed with a border. The window size can be
adjusted in Runtime by dragging the border. Selection of the border width by means of
radio buttons:
fine Fine border.
bold Bold border.
COLORS
Parameter Description
Colors Definition of the colors in the overview screen. Clicking on Color opens the palette.
Background color Color of window background
current view Currently displayed frames/monitors.
Border Color of border.
492
Screen Functions
493