We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.
01-12-2023 07:21 AM - edited 01-12-2023 07:22 AM
I have the following situation:
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?
Solved! Go to Solution.
01-12-2023 08:21 AM - edited 01-12-2023 08:23 AM
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..."
01-12-2023 08:38 AM - edited 01-12-2023 08:41 AM
Thanks @Thorsten_Brach . I did not know about this possibility.
What is your best practice? Put library and OSD file into separate folder in Std\Objects folder?
01-12-2023 08:49 AM - edited 01-12-2023 08:50 AM
I would create a separate folder in the STD or PrjExt...
for Example :
STD\PLC_Only\MyLib\
PrjExt\PLC_Only\MyLib\
I would not mix it with Objects or Peripherals to have a clear separation, because the object browser would not recognize these elements...
If you want to have it in Objects or Peripheral section - then I would also create a OOD file, so that the object browser can take care about it.