6
Here the first steps in order to create a straton project in zenon are explained. In addition information is
given on how to configure and edit the project in zenon. If this is your first contact to straton in zenon,
go through this introduction step by step.
3.4.1
Create a straton project in a zenon project
After creating a zenon workspace and a zenon project (see also: Project and workspace) you can find the
module straton (IEC 61131-3) in the Project manager. With a right mouse click on straton (IEC
61131-3) or in the detail view of the project manager the entry New straton Project ... can be
selected in the context menu. By clicking the straton project new icon in the detail view of the project
manager in order to perform the same action.
7
With this command the following window appears:
Here, you can give the straton project a freely definable name.
The Name
consists of alphabetic characters
must not exceed 15 characters
must not be empty
must only contain valid characters:
invalid characters are: all numbers and special characters such as \ / , ; ß ä ö ü : * ? " < > | ( )
a dot may only be used within the name not at the beginning of the name
Button Finish is only active if an valid name was entered.
Select
STRATON32
or
IEC870
as driver. This selection defines the eventual Runtime communication
between straton and zenon. In addition the creation of the operating and monitoring (O and M) variables
is based on this: Based on the name when using the STRATON32
-
driver, based on the address when
using the IEC870
-
driver
Attention
If you have selected a driver once, you cannot change it afterwards.
Info - Decision guidance for the driver selection
STRATON32 driver: This driver is based on Ethernet TCP/IP. Its advantages are that you can
operate it cyclically or on change. Referring to the integrated solution (straton in zenon) another
8
advantages is that complex data types (structured data types and arrays) are supported.
IEC870 driver: This driver is mostly used in the infrastructure automation. You can operate it
serial (-101) or over Ethernet TCP/IP (-104). It generally uses on change data traffic. Complex
data types are not supported.
IEC850 driver: It is the successor of the IEC60870 standard and is completely object-orientated.
Click on Finish in order to apply the selected driver.
For information about the configuration take a look at the corresponding driver help:
STRATON32 driver: STRATON32
IEC870 driver:
IEC870
(Main.chm::/IEC870.chm::/IEC870.htm)
IEC850 driver: IEC850
Now a straton project is created with the name you chose. The straton Workbench is started
automatically.
You can now start with the engineering/programming of your PLC!
9
Info
Keep in mind that a new straton project already has a few default values in the project
properties. Make sure that these values meet for requirements. Change the project settings
where appropriate. In order to do this open the project settings in the Workbench under
Project/Settings....
You adjust the properties of the straton projects in the zenon project in the properties window of the
zenon Editor. You will find a description of the single properties in the property help.
3.4.2
Edit a straton project
With a double click on the project or the context menu, you can open an existing straton project for
editing. Alternatively you can click the corresponding icon in the toolbar in the details window.
3.4.3
Design of the Workbench
The straton Workbench can be divided in the following areas:
1
In this section documents are displayed and edited (programs, watch lists, ...).
2
The workspace: Documents are created and opened in this list.
3
The output window displays messages and provides diagnosis tools.
4
In the variable editor variables and instances are declared.
5
The property tab and the Z arrangement are used for the engineering of the graphics documents.
10
6
The tab Libraries lists all available functions and function blocks
7
The tab Spy list displays the online values of selected variables during the debugging.
8
The tab Definitions displays all definitions.
9
The tab Graphics lists al graphical objects.
Each section (except section 1) can be shown and hidden with commands from the menu Views.
In the central area you will find the documents of the workspace. If several documents are opened at the
same time, you can switch between the different documents using the tab at the bottom. With button X
in the header the active document can be closed.
The variable editor and the document area in the center can be maximized at any time with the
corresponding button (blue symbol with white line) or a double-click on the header.
If serveral documents are open in the central area, one of these can be fixed in the top or left part. In
order to do this right click the corresponding tab an select Fix. With the same menu you can unfix the
document at any time and fix another one:
The intelligent integration of straton in zenon offers considerable advantages in engineering PLC and
SCADA projects. The O&M variables (operating and monitoring) from the PLC system are available in
zenon with just a few mouse clicks. When changing the variable (name, datatype, ...) these changes are
immediately passed on the other system.
The advantage of the integration:
Easy handling of O&M variables
Immediate alignment of changes
Saving of labor because of omission of import/export
Increased quality by minimizing causes for errors
Dostları ilə paylaş: |