Академический Документы
Профессиональный Документы
Культура Документы
TABLE OF CONTENTS
Chapter 18 Functional Designer .................................................................................................................................................. 18-1
18.1 General Information......................................................................................................................................................... 18-3
18.1.1 Description ................................................................................................................................................................ 18-3
18.1.2 Objectives.................................................................................................................................................................. 18-3
18.1.3 Reference Documentation......................................................................................................................................... 18-3
18.1.4 Steps to go ................................................................................................................................................................. 18-3
18.2 Functional Designer ......................................................................................................................................................... 18-4
18.2.1 General ...................................................................................................................................................................... 18-4
18.2.2 Constraints................................................................................................................................................................. 18-4
18.2.3 Workflow .................................................................................................................................................................. 18-4
18.3 Functional Diagram.......................................................................................................................................................... 18-5
18.3.1 Create Functional Diagram....................................................................................................................................... 18-5
18.3.2 Parent Diagram ......................................................................................................................................................... 18-7
18.4 Configuration ................................................................................................................................................................... 18-9
18.4.1 General ...................................................................................................................................................................... 18-9
18.4.2 Diagram..................................................................................................................................................................... 18-9
18.4.3 Description Footer .................................................................................................................................................. 18-11
18.4.4 Structure Browser ................................................................................................................................................... 18-12
18.4.5 Create Modules ....................................................................................................................................................... 18-13
18.4.6 Variables.................................................................................................................................................................. 18-16
18.4.7 Connections............................................................................................................................................................. 18-18
18.4.8 Pages........................................................................................................................................................................ 18-23
18.4.9 Navigation ............................................................................................................................................................... 18-25
18.4.10 Parameterize Modules........................................................................................................................................... 18-26
18.4.11 Execution order ..................................................................................................................................................... 18-31
18.5 Allocatable Groups ........................................................................................................................................................ 18-33
18.5.1 General .................................................................................................................................................................... 18-33
18.5.2 Allocate to Application ........................................................................................................................................... 18-33
18.5.3 Generate Configuration Data.................................................................................................................................. 18-35
18.6 Diagram states................................................................................................................................................................ 18-36
18.7 Display Online Values ................................................................................................................................................... 18-38
18.8 Enable User Control Libraries ....................................................................................................................................... 18-42
18-1
18-2
18.1.2 Objectives
After completion of this chapter you will be able to
18.1.4 Steps to go
Open a project in the Control Builder where to store the Function Diagram
code
In the Function Diagram create a new diagram and use a default template
Select the Control Builder and download the code into the controller
18-3
18.2.2 Constraints
18.2.3 Workflow
The working place for the Functional Designer is the Functional Structure. Here you
will create a Function Diagram. This Function Diagram consists of different diagram
pages.
First of all you have to open a project in the Control Builder where the Functional
Designer can store the control code of its diagram. So far as the Function Diagram is
not allocated to an application, the Functional Designer creates an Unallocatable
Group in the Control Builder project. From then when the Function Diagram is
allocated to an application, then the code is moved from the Unallocatable group to the
application.
After you allocated a Function Diagram to an application you have to generate the
code for the Control Builder. To run a download into the controller you have to switch
to the Control Builder and start the download there.
All the code which was generated by the Functional Designer is read only in the
Control Builder.
18-4
Right
click
Left
click
18-5
10. Select the Function aspect in the New Aspect window via left mouse click.
11. Left click mouse onto the Create button.
18-6
Left
click
An allocation of the parent diagram will allocate the diagram of the child
objects.
18-7
18-8
The code generation of the parent diagram will generate the code for all the
child objects.
A printing of the Parent Diagram will print all the diagrams of the child
objects.
18.4 Configuration
18.4.1 General
To instantiate your modules you have to create a view. Function Designer offers three
different views on the Function aspect:
Component view
Diagram view
Use Component view to create symbols or templates for function components. It gets
opened on the Function aspect of the selected component object in functional
structure.
Use Diagram view to create function diagrams and to insert function components. It
gets opened on the Function aspect of the selected diagram object in functional
structure.
Use Parent Diagram view as an alternative to Diagram view to quickly find and
navigate to a component. It gets opened on the Function aspect of the selected
component object in functional structure, and it displays and automatically navigates
to the component in its parent diagram.
The Function Designer offers the possibility to open simultaneously several
diagram/component documents. Each diagram/component document is opened in a
separate window, so you can have several windows open at the same time. The
Function Designer also offers the possibility to open the same diagram/component
document in several windows. That can be useful, for example, to display different
parts or pages of a diagram/component simultaneously in different windows.
In general, newly created function aspects have an empty Diagram view.
18.4.2 Diagram
1. To open the Functional Diagram editor select with left mouse click the
FIC1010 object.
2. Right mouse click onto the Function aspect in the aspect window.
3. Left mouse click onto Diagram to open the Functional Designer with diagram
view.
18-9
4. In the tool bar of the Function Design editor right mouse click onto File.
5. Left mouse click onto New
18-10
If you reference a template, the diagrams master page layer is read-only. That means
header/footer entries like author, document number, cannot be edited inside the
diagram, but are referenced as aspect properties from a Function Diagram Document
aspect.
18-11
18-12
Right
click
18-13
Right
click
3. Browse in the object type structure view and select the SignalInReal object.
The library path is: Object Types\Control System\AC800M/C
Connect\Libraries\SignalLib\SignalInReal
4. Place your SignalInReal modul via Drag & Drop on the Function Diagram.
5. The default name for the instantiated module is SignalInReal1. To change the
default name right mouse click onto the SignalInreal1 module.
6. Left mouse click onto Control Builder Name.
18-14
18-15
18.4.6 Variables
18.4.6.1 Create a Variable
The simplest way to create a variable is to select a parameter of a Function Block and
assign the variable for this parameter with the Connection Bar.
18-16
18-17
18.4.7 Connections
18.4.7.1 Connections on a diagram page
Connect in-outputs of modules:
1. Left mouse click onto the output ( source ) of a modul.
2. Move the mouse to the input of another modul or already existing connection.
3. Release the mouse button.
18-18
18-19
18-20
15. Place the Input References symbol via Drag & Drop on the left side of
Function Diagram.
16. The Variable Properties window is displayed.
17. Type in the name field variable name ( FIC1020_IN ).
18-21
18. Open the pick list for the data type and select the data type for the variable
(real).
19. Left mouse click onto the OK button.
18-22
26. The Function Diagram is displayed with the Input Reference symbol (
FIC1020_IN ). Below this symbol you see the reference to the other diagram (
FIC1010_OUT ). To navigate to this diagram see the next chapter.
18.4.8 Pages
In Diagram view, a diagram consists of several drawing pages of fixed page size. New
pages can be inserted if necessary.
18-23
There is a special tool bar for the page operations existing. Enable the tool bar by a
right click into the menu area and select the entry Page.
Right
click
18-24
18.4.9 Navigation
18.4.9.1 Navigate from one Function Diagram to another Function Diagram
1. Right mouse click onto a Off-Diagram References symbol ( FIC1020_IN )
2. Left mouse click onto Goto Reference
18-25
18-26
You can set the descriptions in the footer of the diagram with a Document aspect.
Create a new Document aspect in the folder of your diagram and name it Function
Diagram Document. Open the Main View of the aspect and write the parts you need.
After you wrote the footer description in the aspect you have to close and reopen the
Function Diagram again to get the descriptions visible in the footer part of the
diagram.
18-27
2. Create Modules)
3. For parametrizing an input port ( AEConfigHH ) left mouse click onto the port
line.
4. Type in the value ( 1 ) in the connection field on the toolbar menu.
5. Press Return button
Set
value
18-28
2. Place the Variable module via Drag & Drop on the Function Diagram.
3. The Variable Properties window is displayed.
4. Type in the name ( FIC1010_IPar ) in the name field
5. Open the pick list for the data type and select the data type for the
InterActionPar input ( SignalInReal ).
18-29
6. For parametrizing the created variable right mouse click onto the
FIC1010_IPar symbol.
7. Left mouse click onto Aspect Properties
8. Set the values in the Aspect Properties/Parameters window.
18-30
18-31
Symbols with hidden ports are marked by a small triangle displayed in the lower left
corner.
Show hidden in/outputs by the following steps:
1. Select a module with hidden in/outputs via right mouse click on the modul.
2. Left mouse click onto Show Hidden Ports(s) from the context menu.
.
3. The Show Hidden Ports window is displayed. All hidden in/outputs are listed.
4. To make an in/output visible left click mouse onto it.
5. Left mouse click onto the OK button.
18-32
18-33
4. Change the order in the Execution Order list via the arrow up/down button to
move the currently selected component one level higher/lower.
5. Left mouse click onto the Apply button.
18-34
18-35
Left
click
18-36
After generating configuration data all errors and information are listed in the Output
Window, section Build. A double click onto a line will select the fitting part in the
diagram if necessary.
18-37
18-38
18-39
18-40
18-41
5. Select an object in the object tree on the left side of the Dialog window.
6. Select via left mouse click one or more variable on the right side of the Dialog
window.
7. Left mouse click onto the Apply button.
18-42
18-43
3. Open the Functional Designer Diagram for the object FIC1010 in the
Functional Structure. Select the user defined Function Block Type and
instantiate it on the diagram with Drag & Drop functionality.
18-44
18-45
18-46