Create a user-defined data type property for an Add-On Graphic
Create a user-defined data type property to bind an Add-On Graphic to a controller tag. An Add-On Graphic element cannot bind directly to a controller tag because different projects may not reference the same controllers.
View Designer
allows reusing Add-On Graphics between projects. To create a user-defined data type property for an Add-On Graphic
- In theProperty Definitiontab of the Add-On Graphic, type a name for the user-defined property in theNamebox.TIP:If theProperty Definitiontab is not open, below the screen, clickExpand
.
- Click in theData Typebox and clickSelect data type
. The
opens.Data Type Browser - Select a data type:
- User-Defined.A structure data type defined inLogix Designer.
- Predefined.An atomic or structure data type defined by a controller.
- Module-Defined.A structure data type defined by a module when creating the module. Tags of these types store input, output, and configuration data for the module.The data type is used as a filter criteria for the. Only items in theData Type BrowserLogix Designerproject (.acd) file that meet the filter criteria appear when opening theData Type Browser
- Click the drill-in arrow
next to a controller.
- Navigate to the desired level in the controller and select the data type.
- (optional) In theDescriptioncolumn, type a description for the property to appear when hovering over the property on thePropertieswindow.
- In theCategorycolumn, type the category where the property appears in thePropertieswindow for an instance of the Add-On Graphic.
- Select a graphic element in the definition of the Add-On Graphic.
- To bind a property of the selected graphic element, clickBrowse
to browse to a data type property.
- Click the drill-in arrow
to select the member of the property.
TIP:Tips:- Selecting a user-defined data type displays all of the members within the property and any nested properties. Expand a nested user-defined data type to display all of the members of the nested data type.
- To type the binding instead of browsing to it, use the format:PropertyName.MemberFor example, if the user-defined data type property is named MixerTag and the data type in the controller has a Level member that is the value to show, type MixerTag.Level.
Provide Feedback