Overview

Use
Library Designer
to assign the project, the controller, and any of the Logix objects to one or many library objects. Each library object defines a set of functions, capabilities, and connections. For example, those that support the functions of the valve, motor, and controller modules. Rather than being tied to one application, library objects can be configured to meet the needs of multiple applications.
Library Designer
allows the publishing of a library directly into an ACM database. Options include the ability to specify the location where the library will be published in the ACM database, and the ability to specify the status of the library, either Published or Pending.
Custom properties called "Decorations" can be added to a library object using
Library Designer
. Decorations include parameters, subobjects, functions, substitutions, and external references. Decoration lets the library object be configured when it is implemented in a project in
Studio 5000® Application Code Manager
.
Logix objects can be restricted to a single library object or assigned to multiple library objects, each with a different set of decorations. A library object can contain a single Logix object, or a Logix object can be added as an element of a more complex library object. For example, a P_Alarm Add-On Instruction can be assigned to a valve library object and can also be an element of a Motor or Pump library object.
Each ACD file can support multiple projects, controller libraries, and library objects. The ACD is not required to contain a project or controller library. While the decoration is stored as part of the ACD file, it is treated as a separate layer of information from the base controller code and does not affect code execution.
Decoration controls how the library object is instantiated, including configurations such as naming, tag values, conditional inclusion, and connections to other library objects. One or many distinct instances of a library object can be instantiated within an ACM project and each instance can be separately configured. By using
Library Designer
, each Logix object can be published directly to the ACM database or to a file in HSL4 format.
The
Library Designer
performs these tasks:
  • Creates library objects.
  • Specifies the Logix content that is included in the library object.
  • Decorates the library object with parameters, subobjects, substitutions, functions, external references, linked libraries, and interfaces.
  • Creates substitutions for text strings that extend to all elements of a library object during instantiation.
  • Creates substitution overrides for specific elements.
  • Creates mathematical and logical expressions using decorative elements.
  • Assigns parameters to be populated by user input, calculated values (functions and expressions), or references to other elements.
  • Sets conditions for inclusion of any element of a library object during instantiation.
  • Makes tags and tag members accessible to
    Application Code Manager
    by adding them as parameters or external references.
  • Populates tags based on parameters, functions, and expressions.
  • Publishes Logix library objects directly to the
    Application Code Manager
    Database or to a file in HSL4 format.
Validation is an important part of any code-based system and the
Library Designer
and
Application Code Manager
tools can validate objects within a library structure and controller projects respectively to ensure an error free library or ACM project. The configurable fields within the
Library Designer
or
Application Code Manager
display a validation error or warning icon when an invalid value is specified. For example, If an invalid character is included in a parameter name. The field would be highlighted with an error icon. Hovering over the error icon for error resolution information.
Rockwell Automation®
recognizes that some of the terms that are currently used in our industry and in this publication are not in alignment with the movement toward inclusive language in technology. We are proactively collaborating with industry peers to find alternatives to such terms and making changes to our products and content. Please excuse the use of such terms in our content while we implement these changes.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal