Professional Documents
Culture Documents
V ER S I ON 6 . 1/ 2
Wrapper Objects
800xA – AC800M – Minerals Library
Contents
1. Overview ...................................................................................................................................... 3
Principles of Wrapping in 800xA ..............................................................................................3
2. Control ........................................................................................................................................ 4
Control Modules .......................................................................................................................... 4
Wrapper CM.................................................................................................................................. 4
2.2.1. Parameters ..................................................................................................................5
2.2.2. Data Type .................................................................................................................... 6
Interface CM ................................................................................................................................. 6
2.3.1. Communication Watchdog ..................................................................................... 6
3. Operation ..................................................................................................................................... 7
Extended Info Links in Faceplate Header ............................................................................... 7
Extended Info Viewer .................................................................................................................. 7
3.2.1. Configuration ............................................................................................................. 9
3.2.2. Examples .................................................................................................................... 11
1. Overview
Contained herein is a description of the Tools and Solutions available to add additional func-
tionality to the Mineral Library in the Form of Composite Objects by using an “Object Wrap-
per”. A structure for such objects is proposed and some examples are shown. It is intended
to help engineers during the design and implementation of their own control solutions by re-
using the Minerals Library Standard Object Types.
SerialLink
SerialLink
2. Control
Control Modules
The Wrapper Object includes all needed Objects from Minerals Library as well as an addi-
tional Control Module to process Interface Data. It does normally not have a Faceplate or
Graphical Elements itself.
Composite Object Type (Wrap- CBM Instantiated Composite Object Composite Object after Name
per) Upload
Wrapper CM
Note that the Wrapper Control Module must be configured to be instantiated as Aspect Ob-
ject for the inner Objects to be accessible from Plant Explorer.
2.2.1. Parameters
All Parameters from included Consumer Objects, that are not defined by the Interface or
other constraints from the Wrapper Object, should be declared as Parameters of the Wrapper
Object so it stays adaptable.
1 Name string[20] INIT: Tag name of the serial object (. : - ok, no blanks al-
lowed!)
2 Motor_Name string[20] INIT: Tag name of the motor (. : - ok, no blanks allowed!)
8 GrpStartStep dint cBMI.DINT_ IN: Start step no 1..999, if set to 0 -> not part of group se-
0 quence
9 GrpStopStep dint cBMI.DINT_ IN: Stop step no 1001..1999, if set to 0 -> not part of
0 group sequence
10 GrpStartDelay time cBMI.Time0s IN: Start delay when started from group sequence
11 GrpStopDelay time cBMI.Time0s IN: Stop delay when stopped from group sequence
13 MCNominal real INIT: Nominal (rated) load (current or power) of the motor
16 ExtendedInfo dint cBMI.MNSiS IN: Mux 1 = ConsumerExt, 2 = Alarm List, 4 = Event List, 8 =
_MBTCP.Ext DetailGraphic, 16 = Status, 32 = Trend, 64 = Faceplate
endedInfo
Table 1 - Wrapper Object Parameters
The InterfaceType Parameter is also used for the Extended Info Aspect and should therefore
be created in all Wrapper Objects.
As all Objects with Faceplates need to have unique Names, all Name Parameters of included
Control Modules need to be declared as Parameters of the Wrapper Object.
For Serial Interfaces, a structured Datatype should be defined containing all Input and Output
Data Variables that are to be connected on the Hardware Unit in CBM.
Interface CM
The Interface Control Module is used to convert Data coming from the serial Interface into the
Data needed for the Minerals Library Control Modules. In case the LCB Signals (LcbStart /
LcbStop) are generated in this Control Module, it needs to run in FastTask.
For Serial Interfaces, in general a Watchdog should be implemented in the User Application
on both sides to trigger the execution of Failsafe logic in case of Communication Error.
Code similar to the following can be used, one Boolean is inverted in the Application on Mas-
ter side:
Where in the User Application in the field side the same Boolean is just copied back from Out
to In.
3. Operation
The Faceplate for all Consumer Objects includes Links to different Aspects that are used to
give the operator access to additional Information from the Wrapper Object.
Extended Info Extended Info Table with additional Properties of the Wrapper Object, mainly
Viewer used for Diagnostic / Detailed Warnings
Extended Status ../Status The “Status” Aspect of the Wrapper Object, particularly the Miner-
alsLib WebView Aspect configured in the Wrapper Object
Overlap Display Overlap_<Name> Any Overlap Display in Functional Structure, where the Aspect
Graphic Display Name is equal to the Object Name with the Prefix and Suffix as de-
fined in the “BMI Overlap Link” General Properties Aspect
Extended Trend ../Trend A Trend configured in the Wrapper Object (named “Trend”)
Extended Alarm List ../Alarm List The Alarm List of the Wrapper Object
Extended Event List ../Event List The Event List of the Wrapper Object
Table 3 - Extended Info Aspect Links
It is possible for special cases to configure the reference to the Object (Search Path) in the
“BMI Overlap Link” General Properties Aspect.
Detailed Warning and Failure Data, which is not needed for normal operation, can be shown
on this Aspect as a List of Text Strings. It can use all Data that is available in the Wrapper Ob-
jects OPC Property List.
Normally, all boolean Values that are equal to their configured normal value are not shown.
This can be changed with the “Show normal position values” Checkbox.
3.2.1. Configuration
The Configuration of the Extended Info Viewer is stored in an Aspect of Category “Minerals
Library Extended Info Configuration Entry” on the Wrapper Object.
To configure the Extended Info Viewer, create a new “Minerals Library Extended Info Configu-
ration Entry” Aspect in the Object Type Structure and configure it to be inherited in every in-
stance.
The Configuration Aspect contains a Table specifying the Properties and Descriptions to be
shown in the Viewer.
The “Search Options” are not applicable for the Extended Info Viewer.
Column Description
EntryName Grouping of multiple Configuration Entries into one List Entry. This Column is only used for
the InterfaceFilter Option and shall be left empty otherwise.
Description The Description as shown in the List, for int and real Types this text is parsed for the unit
String enclosed in parentheses
DataType Datatype of the Property, one of real, uint, int, dint, bool, bits
Grouping To sort the List into Groups, this column shall contain the Group Header that is shown to the
User
InterfaceFilter Value of the InterfaceType Parameter for which this Entry is shown, or “-1” to show it inde-
pendent of the configured InterfaceType.
In addition to this, there must be an Entry in the Configuration with EntryName and Descrip-
tion set to “InterfaceFilter” that refers to a Property of Datatype “int” that is used to filter the
Properties shown depending on the Interface Type configured on the Control Module.
Table 4 - Extended Info Configuration Keywords
Real withparams load Unit and Fraction information from OPC, only possible for Variables of
Type RealIO
Bool NormPos = x the Normal Position of the Value (x = 0 for false or 1 for true), in case the Ac-
tual Value is equal to Normal Position, the Row will be hidden in the Con-
sumerExt01
Bits NormPos = x, NormPos is same as for Bool, while yyy is the Bitmask in Hex that will be ap-
AndMask = &hyyy plied to the Value. If the Value is not equal to 0 after applying the Mask, the
Value is True, else False
int Base = 16 show the Value as Hex, correct negative Values by adding 2^16, assuming 16
Bit signed Integer Data
(without this option, the Decimal Value will be shown)
dint Base = 16 show the Value as Hex, correct negative Values by adding 2^32, assuming 32
Bit signed Integer Data
(without this option, the Decimal Value will be shown)
string Format=x exectutes string.format with {0} as the OPC Value and x as the format string.
NormPos=y string y defines the normal position (hides the value)
Table 5 - Extended Info Configuration Format Options
3.2.2. Examples
An error indication is shown in the lower right edge if there are some issues, either Data Qual-
ity Bad (any configured Data could not be read with good quality) or Configuration Error
(wrong or missing data in configuration aspect).
4. Revision history
Rev. Page (P) Description Date Dept./Init.
Chapt. (C)
E Replace old VB Aspect with new Extended Info Viewer 03.02.15 ATBPA/LK