26
Depending on the current status, the user interface displays different states (
running
,
step
mode
,
break point(s)
,
stopped
).
A bar chart shows the PLC load.
In addition to information about the status of the straton project running, the following actions can be
executed in the straton Runtime user interface:
Slider Allowed maximum of the PLC resources:set allowed maximum
Settings... (on page 27) button: Makes configuration possible via three tabs
General settings
(on page 27)
Redundancy
(on page 29)
Advanced users
(on page 30)
Start/Stop button: opens the dialog to start Runtime or stops Runtime
Messages (on page 32) button: opens and closes the message window
5.1.1
Slider Allowed maximum
The slider Allowed maximum is used to guarantee other applications which run on the same device -
such as zenon - system resources.
With this slider the maximal allowed execution time related to the cycle time can be set. If with a set
cycle time of 10 ms the slider is set to 50% the PLC cycle may take a maximum of 5ms. If the PLC cycle
takes longer that 5 ms, the remaining calculation is done in the next cycle. So one cycle has to be
omitted from the PLC. This results in a cycle overflow.
The slider can be set between 10% and 100% steplessly.
27
The bar graph (PLC load) shows, how high the PLC load is in relation to the setting of the slider. From
this you can conclude how to set the slider for an optimal tuning.
PLC load high (Slider between 50 and 100%): Set slider towards 100% or increase cycle time.
5.1.2
Settings
The settings make it possible to configure the straton Runtime with the help of three tabs:
General settings
Redundancy
Advanced users
General
In the tab General the different parameter of the straton Runtime can be changed:
Communication
Port (Main):
IP port of the straton Runtime for the cyclic data transfer (e.g. straton
Workbench).
Port (Binding):
IP port of the straton Runtime for the on change data transfer (e.g.
CA_PRODUCTNAME
Workbench or binding).
Run-up
No start. Open this box:
When the straton Runtime is started, first this box is opened.
Cold start:
Initialized run-up. Also retain variables are started initialized.
Cold start (loading of RETAIN
variables):
Initialized run-up with current values of the retain variables.
Warm start:
Restart with all variable values from the last stop.
Delay [s]
Delays the start by the set number of seconds.
28
Default: 0
Storage path RETAIN data
Here the file with the retain variables is stored. The default setting depends
on whether the straton Runtime is started.
Real-time priority
Sets the straton Runtime process to the windows priority
Realtime
. If the
flag is not set, it means priority
Normal
.
Start in step mode
Starts the straton Runtime and immediately stops it in debug mode.
Write messages to
STRATONRTLOG.TXT
Error messages which were generated by the straton Runtime are saved in
this file.
Writing log files can influence the PLC cycle!
Info
If the straton Runtime has been started with the zenon Runtime or with the straton
Runtime Manager, changes done in this user interface are not effective after a restart of
the straton Runtime. Please make the changes as usual in the straton project properties of
the zenon Editors or in the straton Runtime Manager.
In such cases the dialog helps to determine which parameters were forwarded to the
straton Runtime.
The changes to the settings which were done in this dialog are only effective if the straton
Runtime is started directly (e.g. using the Windows Explorer).
29
Redundancy
In tab Redundancy you can see the redundancy settings for the straton Runtime.
You can check or enter the following entries:
Activate redundancy
Runtime runs in redundancy mode
Server port:
Port for replication connection
Server Time-out [ms]
Time-out in order to determine if the passive client is
available. After the time-out expires, the replication is
stopped.
Client Time-out [ms]
Time-out in order to determine that the active server is no
longer available. After the time-out expires, the passive
client becomes the active server.
Partner address:
IP address of the redundancy partner.