Embedding of AC500 V2 libraries

Situation

With new Automation_Builder releases often new AC500 V2 system libraries are being installed.

In difference to AC500 V3 libraries, the AC500 V2 libraries are not versioned. An update of the Automation_Builder project might lead to the situation that a login to the PLC is only possible after a rebuild and with an online change – although the application has not been changed.

Avoidance

To avoid this situation, the AC500 V2 libraries can be embedded into the Automation_Builder project.

Note

The feature Embedding of AC500 V2 libraries is available as of Automation_Builder 2.1.1.

Embed user defined libraries

  1. Right-click on the App node of your PLC_AC500_V2 <…> project and click Add object.

  2. Select Library Manager in the appearing window and click Add object.

    Library_Manager appears below your App node

  3. Double-click on the Library_Manager object in the device tree.

    The Library manager editor appears.

    ../_images/347470cc24b687d60a317f34561960b5
  4. Click the Add button and embed your user defined libraries.

Success or failure of the embedding will be displayed in the message window below.

In case of success the libraries are automatically added to the corresponding CoDeSys V2.3 project

../_images/c66c4ca624d550d30a317f34450bc393

Remove user defined libraries

  1. Select your libraries to remove (one or more libraries can be removed) in the library manager editor and click the Remove selected button.

    A confirmation prompt appears.

    ../_images/7840aa7824b696b50a317f3430221cdd
  2. Click Yes

    Information messages are displayed in the message window and the selected libraries are removed from the CoDeSys V2 project.

    ../_images/af3b7a9c24b6760b0a317f340b454460

Embed system libraries

  • Click Embed / Update all in the Library Manager editor.

Note

Via the Embed / Update all button all the system libraries are embedded into the Automation_Builder project.

The system libraries are not added into the CoDeSys V2 project.

The CoDeSys V2 project will use automatically (for the referenced system libraries) these embedded system libraries instead of the system libraries of the latest Automation_Builder installation.

Remove system libraries

  • Click Remove all in the Library Manager editor.

Note

Via the Remove all button the system libraries will be removed from the Automation_Builder project.

The system libraries won’t be removed from the CoDeSys V2 project.

The CoDeSys V2 project will use automatically (for the referenced system libraries) the system libraries of the newest Automation_Builder installation.