Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
TABLE OF CONTENTS
Chapter 11 Bulk Data Manager ................................................................................................................................................... 11-1
11.1 General Information......................................................................................................................................................... 11-3
11.1.1 Description ................................................................................................................................................................ 11-3
11.1.2 Objectives.................................................................................................................................................................. 11-3
11.1.3 Reference Documentation......................................................................................................................................... 11-3
11.2 Introduction ...................................................................................................................................................................... 11-4
11.2.1 General ...................................................................................................................................................................... 11-4
11.2.2 Bulk Data Manager Functions .................................................................................................................................. 11-4
11.3 Working with Bulk Data Manager .................................................................................................................................. 11-6
11.3.1 Starting Bulk Data Manager ..................................................................................................................................... 11-6
11.3.2 Reading Objects and Aspects from Plant Explorer.................................................................................................. 11-7
11.3.3 Instantiate Objects................................................................................................................................................... 11-13
11.3.4 Delete Objects ......................................................................................................................................................... 11-16
11.3.5 Offline Parametrizing.............................................................................................................................................. 11-17
11.3.6 Online Parametrizing .............................................................................................................................................. 11-20
11.3.7 Initial Values ........................................................................................................................................................... 11-23
11.4 Error Logging................................................................................................................................................................. 11-24
11.5 Bulk Data Manager Templates ...................................................................................................................................... 11-26
11.5.1 CBM_IOVariables .................................................................................................................................................. 11-26
11.5.2 CBM_CrossReferences........................................................................................................................................... 11-31
11-1
11-2
11.1.2 Objectives
After completing this lesson the students will be able to
11-3
11.2 Introduction
11.2.1 General
Bulk Data Manager is a component of Engineering Workplace. It supports list oriented
bulk data operations like handling of signal lists, tag lists, etc. It also integrates Excel
sheets into Aspect Objects offering the possibility to create formatted templates.
The Bulk Data Manager is composed of:
Formatted templates offer the user among others the following features:
Enter and retrieve (reporting) engineering data formatted templates.
Link data from other Industrial IT applications into a template. Linked data can
be updated automatically or on the users demand.
Build user defined templates using the rich set of Microsoft Excel formatting and
graphic features.
11-4
11-5
2. Right mouse click onto any object ( e.g. Area1 in Functional Structure ).
3. On the context menu select Advanced and then Bulk Data Manager.
4. Left click mouse onto Bulk Data Manager command.
11-6
5. An excel sheet is opened. The Bulk Data Manager is activated and connected
to the system automatically.
11-7
There can be one Default Data Area and many Auto-update Data
Areas per worksheet.
Each data area has a headline that defines which properties of which
aspect category are to be handled in the data area.
This action automatically fills all accessible property names into the headline.
The first drop operation also automatically fills in the four required properties
Command, Object Identification, Source Object and Basic Property
Structure/Functional Structure.ParentObject.
Properties, which are not needed, can be deleted from the headline. Do not
delete the properties Command, Object Identification and Source
Object.
The following steps describe how to configure a Default Data Area and then read
some objects from the functional structure:
1. Select an object in the functional structure ( e.g. FIC1002_AIN ) and via drag
& drop, drag the Functional Structure aspect of this object into the default
data area of a managed excel sheet. Upon dropping the aspect onto the sheet,
the three required properties appear along with the functional structure
property
11-8
Drag
&Drop
6. Select an object (e.g. Area1 ) in the Functional Structure and drag & drop it
into the second line of the Bulk Data Manager sheet. All objects including
child objects appear in the sheet along with the values of their properties.
11-9
Drag
&Drop
11-10
5. Below the Command headline, create a filter to define which data should be
loaded into the BDM sheet. For example, to filter for all objects with the name
FIC1002 in the functional structure, select field A2.
6. Open the pick list and left mouse click onto Filter:
11-11
9. Change the Default Data Area to an Auto-update Area using context menu
Right mouse click onto the Command field.
10. Left mouse click onto the Make Auto-update Data Area command.
11-12
11. To perform an update select in the excel toolbar menu Update All Objects via
left mouse click. Or save and close the document. If you open the document
you also perform an update.
11-13
11-14
8. Left mouse click onto Save All Objects button to create your board instances
in the control structure.
Left
Click
11-15
Select
11-16
Left
click
11-17
11-18
6. In the excel sheet the extended command line with the settings ( 1_Min) is
visible.
7. Via drag & drop, import a board object onto the second line of the BDM
sheet.
11-19
9. Left mouse click onto the Save All Objects in the toolbar menu.
10. Check the result in Control Builder via right mouse click onto the board.
11. Left mouse click in the context menu onto Editor.
12. Open the Properties tap.
11-20
11-21
6. In the excel sheet the extended command line with the settings ( Max, Min
settings) is visible.
13. Via drag & drop, import the AnalogInCC object onto the second line of the
BDM sheet. The online values for the Max and Min parameter are displayed.
14. Change the Max value from 100 to 89 and Min from 0 to 10.
15. Left mouse click onto the Save All Objects in the toolbar menu.
16. Check the result in Control Builder via right mouse click onto the
AnalogInCC module in Online Mode.
17. Left mouse click in the context menu onto Online Editor.
18. Open the structured data type InteractionPar
11-22
Working with the Bulk Data Manager and initial values is equal to work with offline
parameters as described in chapter 11.3.5 Offline Parametrizing.
11-23
Clicking on the actual error will place you directly to the data cell that caused
the error.
You can correct the error and save [objects] the data again.
In the example below, the Task Object ( Fast ) is not unique in the system. More than
one task exists in the project and the system therefore does not know which task object
to use. If you Save All Objects, an Errors sheet is created.
11-24
11-25
11.5.1 CBM_IOVariables
With the Excel sheet CBM_IO_Variables it is possible to read and write the following
CBM variables:
Global variables from Applications
Local variables from Applications
Local variables from Programs
Local variables from Single Control Modules
External variables from Single Control Modules
Access variables from Controllers
or
2. In PE choose an object and in the right-mouse menu click Advanced and then
Engineering Templates
11-26
11-27
9. Left mouse click in the toolbar menu onto the Bulk Data Sheet: Import Filter
button.
10. The Import Filter window is displayed.
11. Left mouse click onto the Browse for Object button for Project.
12. The Select Object Dialog window is displayed.
13. Select in Control Structure the Boiler project and left mouse click onto the OK
button.
14. In the Import Filter window left mouse click onto the Filter Included
checkbox.
15. Left mouse click onto the OK & Load button.
Left
click
Left
click
18. The CBM_IO_Variables window is displayed and all variables of the Boiler
project are shown in the excel sheet.
11-28
Left
click
11-29
11-30
11.5.2 CBM_CrossReferences
There are two possibilities to start the templates CBM_CrossReferences:
1. open the folder Engineering Templates on your desktop with a double click
or
2. In PE choose an object and in the right-mouse menu click Advanced and then
Engineering Templates
11-31
11-32
11. Left mouse click onto the Get Cross References for All Variables
11-33
12. The cross references are shown in the Variable List worksheet below each
variable.
11-34