Create O and M variables in straton
All variables created in the straton Workbench can be marked as O&M (operating and monitoring)
Local program variables
Retain variables (=remanent variables)
UDFB instances (User Defined Function Block)
In order to do this the following steps are necessary:
(Refer to the online help of the straton Workbench for the exact steps to create a variable in straton.)
Right click on a variable in the variable list.
Select Properties from the context menu.
Activate checkbox Embed symbol in the following dialog.
Change the profile in the combo box from
Click on OK.
Now the O&M variable has been entered in the zenon variable list. The O&M variable is displayed with a
You can set the profile and the flag directly in the variable list of straton. Thus you do not have to open
the context menu and the dialog.
Mark the line Properties of the corresponding variable. Press
. Thus the profile straton is
displayed in this line. In addition you must activate the checkbox for embedding the symbol via double
in column Symb..
The additional attributes Identification_and_Description'>Identification and Description of a variable are also displayed in
zenon when you select the profile STRATON (*Operating and Monitoring for zenon*). In zenon the
contents of identification and description can be found in the variable properties Identification and
If arrays or structure variables are marked with the profile STRATON (*Operating and Monitoring for
zenon*), they are also displayed in the variable list in zenon. You must however activate the desired
elements of the variable.
UDFB instances which are marked with profile STRATON (*Operating and Monitoring for zenon*), they
are not automatically available in zenon. In case you want them to be available, you must activate this
functionality manually with the help of the following entry in file K5DBK.INI. In file K5DBK.INI scroll to
section [XS] and enter
UDFBs are created.
straton IO variables can be used zenon if in the straton Workbench they:
have an alias name; this name is used in zenon instead of
(board type, board index, bit
An alias is necessary if the straton profile is used and property Embed symbol was activated. In this
case the variable is also available in zenon (Editor and Runtime).
IO variables cannot be renamed in zenon.
IO variables for straton IO cards cannot be created in zenon.
The data type of IO variables should not be changed in zenon: Changes are not adopted in the
variable for the straton32 driver can be created as hardware I/O variable for straton.
Create O and M variables in zenon
O&M (operating and monitoring) variables for the soft PLC straton can also be declared in zenon. In
order to do this create a variable in zenon as usual: