Correct way to add custom library to a project

I have the following situation:

  • There is a library for TwinCat which is not part of any existing repository.
  • The library does not need OES part (HMI, Types, Object).
  • I want to use this library only in TwinCAT.
  • If the project is opened by someone else without this library, he should do only OES export and the library will be deployed automatically on his system and shown in references.

I programmed lot of objects and addons, so I know how to inlude library in OOD. Now I see only one option, and that is to create an AddOn without any functionality that will contain only my library.

Is this the only option or is there another way to resolve this request?

Best reply by Thorsten_Brach

You don't need to create a complete object or addon for this library  - only a library.osd file...

Just add your library.osd file to the STD files of the PLC content via rigth mouse click "Add STD file..."

 

View original
3 replies
Resolved