20
xyz_
xyz__
Twice with Underscore
MotorOn
Motor On
space
Motor_On
Motor On
Slash
mw10
1mw10
Numeral/ number at the
beginning
xyz
#xyz
Hash
_Motor1
_Motor 1
space
Disturbance
Disturbance
Umlaut/diphthong
Bridge
Bridge
Umlaut/diphthong
Mo_tor
Mo-tor
hyphen
Now it it possible to use variables which are following the IEC 61131-3 regulations (free variable names).
Take care when using free variable names.
Follow these rules when using free variable names:
The following characters are not allowed to be part of a variable name: '(*', '*)', '//', '{' and '}'
Variable names are not allowed to start with '__' (two underscores)
If free variable names are used when using programming language ST or IL, they must be
between {}.
If free variable names are used with structure of array, they must be between {}.
Variables with free variable names with a basis data type can be used without {} in programming
languages FBD and LD. They must be declared as
variables.
Variables with the same name once with {} and once without {} are regarded as two different
variables.
21
Arrays can be created in zenon and straton for both systems. The declaration as O&M variable takes
place as described in chapters
Creating O and M variables in straton
(on page 11) and
Creating O and M
variables in zenon
(on page 14).
Take care when creating arrays in straton that you must activate the single elements in zenon.
When creating arrays in zenon, set the array start to 0. Thus the arrays have the same indices in both
systems.
Structure datatypes can be created in zenon or in the straton Workbench.
Info
When creating structure data types in zenon the IEC 61131-3 naming convention has to be
used otherwise the structure data type is not available in straton. Also see
Variable names
(on page 19). Here the spelling is not checked by zenon!
Info
If you create structure data types in straton, they are always declared as linked in zenon.
Therefore it is better to create a structure data type in zenon because then you can decide
whether you want a linked or a embedded data type.
22
It is possible that more than one engineer is working on one zenon project. Thus for example one
engineer works on a straton project and another works on the zenon project.
In distributed engineering O&m variables (operating and monitoring) are handled separately by the
straton project.
You can create variables in straton as usual. If the variables should also be available in zenon, they have
to be equipped with the corresponding property (embedded symbol, profile straton (*Operating and
Monitoring for zenon*)). After that the variable in created in zenon. You can check it in for other
engineers (apply changes). You cannot edit a checked in variable in the straton Workbench. It is marked
accordingly in the straton variable list.
straton drivers are attended separately in distributed engineering by the straton project. That means if
you want to make changes, you have to check out the STRATON32 driver (enable changes).
In order to edit a multi-user straton project, it has to be checked out (enable changes). After the
engineering, the changes can be undone or accepted.
23
straton projects which were created with the stand-alone Workbench of COPA-DATA can be integrated
easily in a zenon project.
Select in the context menu of the detail view of the module straton (IEC 61131-3) menu
itemExternal straton Import project.... With this command you can indicate an existing
straton project (mark folder) and integrate it in the existing zenon project.
Another possibility is the XML import. In the context menu of the detail view of the module
(IEC 61131-3) you will find the command Import XML. Thus straton
projects which were first exported in XML can easily be imported in the zenon project.
24
In this area you can find the manual for the straton Workbench. It is only available as online help.
25
The straton Runtime interprets the compiled PLC Code of the straton Workbench. Runtime runs on
Windows 2000, XP and XP embedded PCs, VISTA and Windows CE platforms.
This chapter gives an overview of the use of the straton Runtime and the configuration tool straton
Runtime Manager.
Attention
Due to performance issues the straton Runtime Version 6.22 SP0 Build 2 needs the
straton driver for the same or earlier zenon versions. Earlier straton Runtime
versions still work with all straton drivers.
Usually the straton Runtime can only be found as a symbol in the system tray. A double-click on the
symbol with the green arrow or on menu item
Show
in the context menu opens the straton Runtime user
interface.
Dostları ilə paylaş: |