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
Right-click on the App node of your PLC_AC500_V2 <…> project and click Add object.
Select Library Manager in the appearing window and click
Add object
.- ⇒
Library_Manager appears below your App node
Double-click on the Library_Manager object in the device tree.
- ⇒
The Library manager editor appears.
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
Remove user defined libraries
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.
Click
Yes
- ⇒
Information messages are displayed in the message window and the selected libraries are removed from the CoDeSys V2 project.
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.