Process Recorder
Process Recorder
Process Recorder
Process Recorder
v.7.60
©2017 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
3. Introduction ................................................................................................................................ 6
3.1 Recording .................................................................................................................................................... 6
3.2 Replay.......................................................................................................................................................... 6
3
Welcome to COPA-DATA help
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
(mailto: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 (mailto: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 (mailto:sales@copadata.com).
4
Process Recorder
2. Process Recorder
The Process Recorder module offers you the possibility to record process data in the productive
Runtime. At a later point in time, this recorded data can be visualized in Runtime in a project simulation
client.
Generally:
Selected variables are recorded during the course of the productive process.
Recording is carried out in the event of value changes.
These recordings can be played back in zenon Runtime in simulation mode.
Time and time period of this playback can be freely selected.
Existing zenon screens can be used.
If playback is not started in a Runtime with several projects, all recorded values from all projects
are loaded, correctly sorted in chronological order and played back.
The module is integrated into the zenon network and also supports redundancy.
License information
Must be licensed for Editor and Runtime (single-user, Server, Standby and Client).
The Process Recorder module requires a license for the server (Server, Standby, and
Editor). The client is automatically licensed via the server.
The project simulation is included in the license of the process recorder.
5
Introduction
3. Introduction
The module Process Recorder consists of two parts:
1. When configuring a project in zenon, variables for logging are activated.
These variables are logged in Runtime during the course of the productive process.
2. The recorded data is played back again in Runtime by means of project simulation.
This recorded data can be called up at any time and played back. This playback is carried out
in simulation mode of Runtime outside of the productive process.
With this playback, recorded processes can be visualized or analyzed.
Existing zenon screens can be used for this playback. Because each desired zenon screen is
used for playback, processes from the past can be traced in the working environment.
Screens that have only been configured by the person configuring the project for playback
can also be used for the analysis.
3.1 Recording
Recording is activated for each configured variable by means of the Activate recording variable property.
3.2 Replay
Recorded data from the productive environment can be played back at a later time:
The recorded data can be played back for each recorded point in time.
This playback is carried out in simulation mode of Runtime outside of the productive
process.
With this playback, recoded processes can be visualized or analyzed.
Existing zenon screens can be used for this playback. Because each desired zenon screen is
used for playback, processes from the past can be traced in the working environment.
Playback is controlled with a zenon Process Recorder screen.
Screens that have only been configured by the person configuring the project for playback
can also be used for the analysis.
6
Introduction
Display in playback is carried out solely on the basis of the recorded values. Current process data
is not visualized during playback.
Only screens with recorded values are supplied. All other zenon modules do not receive any
data.
EXCEPTIONS
Internal driver
The values of the internal values that have not been activated for recording in the process
recorder are (in addition to the recorded values) supplied with current values, even in playback.
system driver
The values of the system driver variables that have not been activated for recording in the
Process Recorder are also supplied with current values during playback.
This is applicable for variables of the following themes:
Batch Control
Command Processing
User-defined
User Administration
Printer
Folder
Project information
Command Sequencer
System information
REQUIREMENT
The appropriate file for the given start time is selected on starting. A corresponding LOG message is
created and can be displayed in the Diagnosis Viewer tool.
If no file meets these criteria, no file is loaded and a LOG message is also written.
7
Engineering in the Editor
To record variables for subsequent playback, this must be activated with the Activate recording property
for recording. You can find this property in the Process Recorder properties group of the variable or the
data type.
Apply variables when creating new parameters for the data type property.
The variables with parameters set as such are advised when Runtime starts. The variables are
unadvised again when Runtime is ended.
INHERITANCE
Variables and data types take on an existing parameter setting from the higher-level data type.
Please note:
8
Engineering in the Editor
Data types take on the parameters of the property at the time the data type is newly created.
Changes to the original data type are not applied.
Variables take on the parameters of the property from the assigned data type.
Changes to the data type are applied for the variable:
If the Activate recording property has been applied by the data type and not amended, all
changes to the data type are applied for the variable.
If the Activate recording property has been amended for the variable, changes to the data
type are no longer applied for the corresponding variable.
This is also applicable if the property corresponds to the parameter settings of
the data type again after several changes. A change to the data type is not applied to the
variable in this case.
If a variable is assigned a new data type, the current parameter setting of the variable remains.
This is then independent of the parameter settings of the (newly-assigned) data type.
Arrays:
The behavior of arrays is the same as that for variables.
Structure data types:
Are supported. The behavior is the same as for data types.
Hint
If the properties of a variable have been amended, the parameter setting can be
transferred from the data type again with the Link all properties with data
type context menu entry.
If the existing configuration of one or more variables is subsequently changed, the recording is amended
accordingly after the project is reloaded into Runtime. Newly-activated variables are only available for
use in the Process recorder from the time of activation and reloading. The same apples for amendments
to a data type.
To have process data available for subsequent playback or evaluation in the Process Recorder module,
all variables are saved in files with the Activate recording property activated.
Recording occurs:
Each time there is a value change
Each time the status bit of the variable is changed
Each time a time stamp is changed
9
Engineering in the Editor
The respective new value is written to the file. If there is still no value when Runtime is started, no entry
is written.
Please note that the requirements for storage space grow. The longer the recording runs, the more
memory intensive the required storage space on the drive becomes.
10
Engineering in the Editor
Attention
Ensure that you have sufficient storage space. Also note the quality of the storage
location: Removable media or USB sticks are expressly not recommended.
The Process Recorder screen is for controlling playback of recorded process data in Runtime. The
recorded data is played back in zenon in simulation mode.
Hint
Configure the Process Recorder screen in its own template.
11
Engineering in the Editor
The Process Recorder screen is for control when playing back recorded process data in zenon
Runtime.
ENGINEERING
12
Engineering in the Editor
REPLAY
Parameter Description
Playback position Shows the point in time of playback in local time.
Empty if Runtime is not in playback mode.
Format: DD.MM.YYYY HH:MM:SS.MMM
The value is N/A if no recorder file is loaded.
Cancel Cancels the reloading of recorded data.
Playback is continued at the current point in time.
START/PAUSE
The display of this button in Runtime depends on whether playback is currently running or not.
Pause:
In playback mode, with playback running
Start:
Playback mode has not been started yet
13
Engineering in the Editor
Parameter Description
Play Starts playback mode.
Not visible in playback mode.
Pause Pauses playback mode.
Not visible with playback mode paused.
SINGLE STEP
Clicking on the button jumps to playback of the next or previous value change. The next or previous
value change is listed in the event preview.
Control element Description
Step forward Switches to the next value change for playback.
Not active in playback mode.
Step backward Switches to the previous value change for playback.
Not active in playback mode.
INTERVAL STEP
LIST OF EVENTS
List of the next or previous value changes of the recording. The events within the current interval are
displayed.
14
Engineering in the Editor
Playback jumps to the time of the selected event by selecting an event in the list and clicking on the
Jump to event button.
With playback active, these lists are blocked and are not updated.
List window in Runtime:
The columns can be sorted and filtered in Runtime.
Filtering and sorting can be saved in the filter profiles.
The column width can be amended by holding down the right mouse button.
Columns can be rearranged by means of drag&drop.
Control element Description
Next event Display of the next event for playback.
Previous event Display of the previous event for playback.
List of next events List of the next value changes in playback.
The display of the list is configured in the screen switch
function (on page 23).
The display of this list is empty in Runtime if the
recording file is empty.
The entries in this list are filtered for the duration of the
interval.
List of previous events List of the previous value changes of the playback.
The display of the list is configured in the screen
switching function (on page 23).
The display of this list is empty in Runtime if the
recording file is empty.
The entries in this list are filtered for the duration of the
interval.
JUMP TO EVENT
Skips through playback to the time of an event selected in a preview list. If there are several events or no
event from a preview list is selected, the button is grayed out in Runtime.
TIME LINE
The time list visualizes the time period of playback. Positioning in the zenon screen is possible
horizontally or vertically.
The position of playback can be moved forwards and backwards in Runtime with the mouse pointer. To
do this, move the slide control in the scroll bar with the mouse button held down. This positioning is
possible in each mode of the Process Recorder. Playback is then continued at the position of the time
15
Engineering in the Editor
line. To stop moving, move the mouse out to the to the display area. The slide control is then placed in
the initial position again.
The start and end of a playback period can also be shown in Runtime with the system driver
variables [Process Recorder] start of playback period and [Process Recorder] end of
playback period in Runtime.
Operation in Runtime
16
Engineering in the Editor
If zenon Runtime is not running in Process Recorder playback mode, all screen elements of the
Process Recorder screen type are grayed out or empty.
You start the project simulation with the Activate/deactivate project simulation function. In this chapter,
you get information about this function that is relevant for the Process Recorder module.
17
Engineering in the Editor
You can find further information on this function in the project simulation manual, in the
Activate/deactivate project simulation chapter.
Parameter Description
Process Recorder files When starting the project simulation, the pre-existing
logging files are used for the simulation.
Not active if Initialize with process image and
Runtime files is not active.
Start the Process Recorder in playback mode The project simulation starts in the playback mode of the
Process Recorder. Existing recordings can thus be
visualized in Runtime.
Only available if Process Recorder files is active.
As an alternative to this property, the Process
Recorder: activate/deactivate playback (on page
32) function can also be used at the start of playback.
: The current playback mode is also shown in the system driver variable [Process Recorder]
Recorder mode.
18
Engineering in the Editor
FOR VISUALIZATION
ENGINEERING
Information
In simulation, the Process Recorder does not record any further data.
Replay
In the Playback tab, you configure parameters for the playback mode of the Process Recorder module.
If this dialog is shown in Runtime, only the time requirements can be amended.
19
Engineering in the Editor
They only make sense if a switch from live mode direct to playback is to be made.
Parameter Description
Start Process Recorder in replay mode Checkbox to select the Runtime behavior after the
function has been executed.
Active:
Runtime starts in playback mode.
Inactive:
Runtime is started in simulation mode.
Default: Inactive
FILTER
20
Engineering in the Editor
Parameter Description
Time filter absolute Start and end of the playback area are given manually.
Entry of the start time of playback in input fields,
separated according to start and end.
Format:
Date: DD.MM.YYYY
Default: Date of day
Time: hh:mm:ss
Default: 12:00:00 AM
Default: active
not active if the filter type is Time filter relative.
Time filter relative Start of playback range, relative to the start time. The
start time is configured in the Start time area.
Entry of the difference in input fields.
Deduct time:
d hh:mm:ss.
Add time:
d hh:mm:ss.
Default: Inactive
not active if the filter type is absolute time filter.
START TIME
The options are then only available if relative time filter is activated as a filter. Otherwise the options are
grayed out. Selection of the start time from an option field.
21
Engineering in the Editor
Parameter Description
Manual The start time of playback for the Process Recorder
module is entered manually.
Configuration of the start time with entry into both
Default: Date of day / 00:00:00
From variable The start time of playback for the Process Recorder
module is then taken from the value of the configured
variable.
Click on button ... in order to open the dialog for selecting
variables.
The DINT data type is recommended for the linked
variable.
If the variable does not have a valid value or has the value
0, the function is not executed! A corresponding LOG
entry is created in the process.
Take over from calling screen The start time of playback in Runtime in the Process
Recorder module is taken from the calling screen.
Please note:
The Activate/deactivate project simulation function
can be successfully called up from a zenon Alarm
Message List or Chronological Event
List screen.
For calling up, only one entry (alarm or event) from
the list can be selected.
The incoming time can be used as a start time for
playback in the Process Recorder module.
If the function cannot be successfully started up using
Take over from calling screen, a corresponding LOG
entry is written.
CLOSE DIALOG
Options 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.
22
Engineering in the Editor
A screen switching function is for calling up screens in Runtime. For screen switching to a Process
Recorder screen, you can also configure the step size of the interval as well as the graphical appearance
of the lists in the event preview.
ENGINEERING
23
Engineering in the Editor
REPLAY SETTINGS
Parameter Description
Interval size Entry of the interval size. Entry in seconds.
Default: 30
Configuration of the display in Runtime for event list forwards and event list backwards.
24
Engineering in the Editor
Parameter Description
Preview Preview of the configured display.
Configuration by means of mouse click, context
menu or the Column selection... and Column
format... buttons
Column selection... Opens the dialog for selecting the columns which should
be displayed (on page 26).
Column format… Opens the dialog for configuring the column formats (on
page 27).
Use user-defined colors for next event For the next and previous result in the event preview list
and in the interval list, text and background color can - in
contrast to configuration for the complete list - be
configured separately.
If this option is activated, only specially-configured
appearances configured are used for the next or previous
entry in the list. All other entries in the list use the
settings as configured in Column format (on page 27).
Activation by means of checkbox.
Textfarbe Color for the text display for the next event in the event
preview list. Clicking on the color opens the color palette
to select a color.
not active if Use user-defined colors for next
event is inactive.
Hintergrundfarbe Color for the background color of the next event in the
preview list.
not active if Use user-defined colors for next
event is inactive.
Configuration of the display in Runtime for previous event list and next event.
25
Engineering in the Editor
Parameter Description
Preview initial amendments can already be configured in
this preview by clicking the mouse or by means of the
context menu.
Column selection... Opens the dialog for selecting the columns which should
be displayed.
Column format… Opens the dialog for configuring the column display.
CLOSE DIALOG
Option Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
Help Opens online help.
Column selection
26
Engineering in the Editor
Options 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.
Column Format
27
Engineering in the Editor
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.
28
Engineering in the Editor
AVAILABLE COLUMNS
Options 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.
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.
29
Engineering in the Editor
Lock column filter in the Runtime Active: The filter for this column cannot be changed in
Runtime.
Only available for:
Batch Control
Extended Trend
Filter screens
Message Control
Recipe Group Manager
Shift Management
Context List
CLOSE DIALOG
Options 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.
30
Engineering in the Editor
AVAILABLE COLUMNS
Options 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.
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.
31
Engineering in the Editor
Lock column filter in the Runtime Active: The filter for this column cannot be changed in
Runtime.
Only available for:
Batch Control
Extended Trend
Filter screens
Message Control
Recipe Group Manager
Shift Management
Context List
CLOSE DIALOG
Options 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 start or stop the playback of recording in Runtime with the Activate/deactivate project simulation
function.
32
Engineering in the Editor
Parameter Description
Simulation mode Type of simulation in zenon Runtime.
Selection of the mode from an option field:
Process Recorder playback
Starts Runtime in playback mode of the
project simulation for the Process Recorder
module.
Simulation
Switches Runtime from playback mode back
to project simulation.
Default: Simulation
Playback start Start time of playback.
Entry of the point in time at which playback is started in
Runtime.
Selection of date and time from a combobox.
Display format: DD.MM.YYYY or HH:MM:SS
Click on the desired area to highlight this for the change.
Change the area with an entry or by clicking on the cursor
keys.
Default: Date of the call, 00:00:00
Note: Not active if simulation mode is simulation.
Show this dialog in the Runtime Checkbox to select whether this dialog is shown in
Runtime:
Active:
This dialog is called up during operation in Runtime
on the current computer or in the network on the
calling client. Changes made by the user in the
existing project configurations are thus made
possible.
Inactive:
This dialog is not shown in Runtime during
operation. The function or the command is
immediately executed with the project configuration
created in the Editor.
Default: Inactive
CLOSE DIALOG
Options Description
OK Applies settings and closes the dialog.
Cancel Discards all changes and closes the dialog.
33
Process Recorder in the Runtime
Options Description
Help Opens online help.
Hint
In order to have the greatest flexibility during playback in Runtime, configure the
function with Show this dialog in Runtime activated.
Link this function to a button in a template that can be reached by the screens used in
playback.
As a result, the start time can be selected flexibly during ongoing playback.
PLAYBACK MODE
Examples:
No recording of Process Recorder data.
Files are created or read in the simulation directory (for example: batch, command sequences).
34
Process Recorder in the zenon network
The AUTOEND_Simul script also works in playback mode when Runtime is closed.
When closing Runtime, the Variable image remanent property is taken into account for each
driver.
Archives cannot be exported.
The import of command sequences that have been created during simulation is not carried out.
The Shift Management module does not access the database.
No data that is created by the playback is saved during playback. This is applicable for the following
modules:
CEL
Alarm Message List
Historian
Process Recorder
HD saving
Information
The teaching process for the Command Sequencer module is also available if Runtime
is running in Process Recorder's playback mode.
35
LOG entries
Attention
Please note:
On the Standby Server, the values of the primary server are recorded in the Process
Recorder. It is not the values that have been received by the standby server's own driver
that are used.
Seamless redundancy is not supported for the Process Recorder. The variables are
advised to the standby server but are not buffered. Recording is thus not guaranteed
during redundancy switching.
7. LOG entries
The Process Recorder writes the following LOG entries.
36
LOG entries
RECORDING
Could not write to file ERROR Access to the file failed or the file has not yet
! been created.
This message can occur the first time a variable is
advised, because the required file is not yet
present and is only now created automatically.
Filehandler not ERROR Functionalities for the writing of the Process
initialized Recorder file have not been started.
This LOG entry can only be made on starting.
NETWORK
37
LOG entries
RUNTIME
38
LOG entries
REPLAY
39
LOG entries
40
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: