62
the zenon Runtime driver or the shared memory area must have the straton project name
Attention
The start of the zenon Runtime must not be performed from the zenon Editor but with a
direct call from the zenon Runtime!
The zenon redundancy must be set up. Details: See help chapter Network.
5.8.2
Configure redundancy
straton and zenon can control each other in redundant operation by means of a watchdog. If the straton
Runtime fails:
the local zenon Runtime is also closed
both systems are switched to redundancy mode
63
To activate redundancy:
activate property Redundant operation in group Runtime of the properties of the straton
project in zenon
define
Failure recognition after [s]
Function for failure recognition
The settings for redundancy are made in tab
Redundancy
(on page 29) auf the driver settings.
With the watchdog each side checks the other for changes to this counter. If the counter for a projected
time is not changed, this is reported to the program:
zenon: a function configured in an integrated project is carried out (Function for failure
recognition)
straton: A function block output becomes active
The watchdog examination starts as soon as the other side has changed its watchdog for the first time.
This is necessary because the time is needed to start or the straton Runtime does not necessarily need to
start with the zenon Runtime.
Info
If straton Runtime is a started manually, the following
command line settings
(on page 34)
must be made:
zenon path:
ZENPATH=
Name zenon project:
ZENPROJECT=
Information on zenon network project:
REDENABLE=<0,1>
64
REDZENON=<0,1>
zenon checks straton Runtime Watchdog if:
straton Runtime executes code, timeout is <> 0 and Runtime can be assigned to an integrated
straton project
straton Runtime is stopped
straton Runtime is passive or started passively
straton Runtime is ended and was previously passive or active
With the
Function for failure recognition property, a function is selected that is executed as soon as
the time-out defined in Failure recognition after [s] for the watchdog has expired. The watchdog is
only rechecked if Runtime is registered again.
If a function from another project is used, the project must already have been loaded when the project
with the integrated straton project is loaded.
The straton zenRt driver connection can be logged with the diagnosis Viewer. The module name is
straton. Each message contains the name of the zenon project and the name of the straton project. The
logging includes:
Error
zprj: sprj: Runtime watchdog expired.
Runtime watchdog was not operated by Runtime for too long.
zprj:
sprj: Runtime: Unknown straton project.
straton Project cannot be assigned to an integrated zenon project.
65
Warnings
vm: zenon project '' unknown
Name of the straton projects is not known in zenon.
If the zenon time-out failure recognition is <> 0, the zenon watchdog is checked on an ongoing basis.
This check takes place if:
Code is executed
Runtime is active or passive.
The number of switch attempts count up in the time-out cycle. If the straton Runtime project cannot be
assigned to a zenon network project, the network timeout time (Timeout [s] property in Network
group) is added to the failure recognition time (Failure recognition after [s] property). The time that
the ERROR output is active is now no longer MAX_SWITCH * cycle but MAX_SWITCH *
timeout [+ network timeout].
The non-process-handling, non-dominant zenon computer is considered a standby server.
The non-process handling, dominant computer (server starts as standby) is not considered a standby.
In this OEM specification the possibilities of the COPA-DATA straton Runtime are described which are
referred to in the straton Workbench help with "see OEM specification".
As a standard the straton Workbench contains several features and an extensive library of functions and
function blocks.. Depending on the Runtime configuration, some features or blocks may be not
available. Therefore it is possible to select configurations for the Workbench in order to highlight the
features which are not supported by the Runtime.
In the straton Workbench a list of this configurations is available under
Project -> Configuration...
. This can
change with the product/version cycle.