• No results found

3.5 Working with Templates and Libraries

3.5.1 Use Solutions from completed Projects

Parts of installations or complete installations from completed projects can be re-used.

Preparation:

From the completed project, export (*.fbd) the function block diagrams from which you want to re-use something. On this point, see Section 2.5.9.2, "Export Programs".

Import Parts of FBD Programs

First open the AS you want to edit and the FBD Editor. The function block diagram may also contain blocks already.

With the FBD Editor open, go to the Win- dows Explorer.

Open the saved function block diagram (*.fbd) by double-clicking on it.

Then, the function block diagram will be opened in a new window in the FBD Editor.

Mark those blocks that you want to re-use. It is also possible to copy complete over- view blocks.

block diagram for the AS you want to edit.

Press the "Paste" button and place the blocks ("Paste" will appear on the cursor). It is not possible to place blocks on routing channels ("No parking" on the cursor). All the set block parameters except house addresses are transferred.

Of course, other blocks can be added or more adjustments can be made.

The function block diagram from which blocks are copied must not have a higher Func- tionality Index than the destination AS.

Link additional PDBL

Another possible way of using parts of an existing project is to link the PDBL for an ex- isting project to the active project. Then complete AS or parts of them can be re-used from the existing project.

In the Workbench, select the "Edit | New PDBL Link" function.

Find the PDBL (*.lpf) for the existing project and press the "Open" button.

Important:

The PDBL you want to link must not be from the same project.

Then, this PDBL will be opened in addition to the active project.

You can now use Drag and Drop to copy complete AS or you can open the AS to copy parts of them.

All the set block parameters except house addresses are transferred.

Of course, other blocks can be added or more adjustments can be made.

If the PDBL is no longer needed, mark the relevant item in the top window of the Workbench.

Then select the "Edit | Delete" function. The PDBL link will be removed from the Workbench.

3.5.2

Libraries (CasePrjLib)

The special library PDBL "CasePrjLib" contains a large number of ready-made partial solutions. In addition, this library contains AS objects with all the hardware I/O blocks that map the volume structure of the relevant AS.

This special PDBL is also required for an export from CASE Prj. From this PDBL, CASE Prj automatically copies the AS objects that are needed into the FBD project and adds any linked function block diagrams to the AS.

However, you can also use this library independently of CASE Prj. In the Workbench, select the "Edit | New PDBL Link" function.

Open the library PDBL. Use the PDBL with the latest date.

The templates for function block diagrams and the AS templates are saved in a special PDBL named CasePrjLib_xxxxxxxxxx_EN.lpf (xxxxxx = year, month, day; _EN = lan- guage). They are provided with all the other libraries on the CD that is supplied, and they are installed under ...\program path\Library_Data\.

The library PDBL will then be opened in addition to the active project.

You can now copy AS objects from the "Templates AS" into the project.

Using Drag and Drop, drag an AS object to the "AS" folder of your project.

These AS objects contain all the hardware I/O blocks that map the volume structure of the relevant AS.

large number of function block diagrams. In the "Templates FBD" folder, these FBD objects are stored, subdivided by trade. However, these objects cannot be dragged to an AS with Drag and Drop. Open an FBD object by double-clicking on it. Then, the FBD Editor will open. In the FBD Editor, you can now copy these charts manually to use them in your project.

If the library PDBL is no longer needed, mark the relevant entry in the top window of the Workbench.

Then select the "Edit | Delete" function. The PDBL link will be removed from the Workbench.

3.6

User Administration

The integrated user administration allows you to manage access rights in your projects. The user administration has been modelled on the Windows user manager. Definition of users and groups is largely based on the familiar Windows concepts.

As default, the following groups are defined, with their associated rights:

Group Access rights

Administrators ƒ Read ƒ Write ƒ Execute ƒ Delete ƒ Change permissions ƒ Take ownership Engineers ƒ Read ƒ Write ƒ Execute ƒ Delete Users ƒ Read ƒ Execute

As default, the following users and their properties are defined:

User Group membership Password

Administrator Administrators

Sauter (*) Administrators tacaseppl

Engineer Engineers reenigne User Users 12345

(*)=standard users: if you create a project or a new PDBL, you are then automatically logged in as user Sauter.

Do not create any new user groups. Otherwise, you must define the access rights for each new object (AS, AS net etc.). Use the existing groups and add new users to these groups.

3.6.1

User

The function of a User is similar to that of a Windows user. It enables someone using the system to be authenticated for access using his user name and password, and al- lows the relevant rights and releases to be granted to him.

You must be logged in with administrator rights in order to be able to modify user ac- counts.

In the Workbench, select the menu item "Administrator | User Accounts".

Then you will see the screen for managing user accounts.

3.6.1.1

Create User

Press the "Add User" button.

In the "Name" box, enter a unique log-in name.

In the "Comment" box, you may enter an optional comment.

In the "Password" box, enter the password for the user.

Then press the "OK" button. User groups

This means that the user is given all the rights for this group.

Mark the group you want and press the "Edit" button.

Mark the new user and use the "Add" but- ton to add this user to this group.

Then press the "OK" button.

3.6.1.2

Change Groups and Users

You can change existing group or user settings at any time.

Mark a group or a user and press the "Edit" button. You will then see the input mask to perform the relevant changes. Use the "Remove" button to delete the marked group or user from the user ac- counts.

Related documents