Management Of Enumerations; Creating Enumeration Types - Siemens SIMATIC PCS 7 Operating Manual

Plant automation accelerator 3.0
Hide thumbs Also See for SIMATIC PCS 7:
Table of Contents

Advertisement

Management of enumerations

9.1

Creating enumeration types

Note
Working with central enumeration types
If you wish to work with a central enumeration library, create this in the base project. Export the
enumeration types by means of the XML export and then import these into your engineering
project. You can define further enumeration types in the engineering project.
Requirement
The "Type configurator" plugin is open. See also chapter Opening the Type configurator plugin
(Page 59).
Procedure
1. Select the "Insert new object > Enumeration" command in the menu bar of the plugin.
The shell for an enumeration is created in the "Type library" column. The name of the newly
created shell is "Enumeration_<consecutive number>". The enumeration is displayed in the
"Type structure" column. The attribute "Name" is the identifier of the enumeration type in
PAA and independent of the used language. Any existing enumerations are listed.
2. Define the details of the enumeration type in the "Type attributes" column.
If you have created a new enumeration type,The "Display name" for this enumeration type
is automatically generated. The "Display name" describes the enumeration type with a
name for the UI and it is language dependant. The default display name is the same as shell
name and its editable in type configurator.
3. To create some enumeration values, right-click on the enumeration in the "Type structure"
column and select the "Insert new object > Value" command in the context menu.
The display name of enumeration values are displayed on the UI and they are language
dependent.
4. To save your entries, click on "Apply" button in type configurator.
Result
The enumeration type is saved in the node "@Template > @PCS 7 > Shared declarations>
Enumeration types".
See also chapter Using enumerations in CMT/EMT (Page 54).
Plant Automation Accelerator 3.0
Operating Manual, 04/2019, A5E46351208-AA
9
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents