Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Creating function block library issue

Inna
2020-12-28
2020-12-29
  • Inna - 2020-12-28

    Hello,
    For our project we need a retentive timer functionality. We've created a function block that implements this functionality. I created my own library with this function block and added this library to a project. I get a lot of errors when I build the project - it doesn't recognize any type from the Standard library.
    Any help you can provide would be greatly appreciated.

    Thanks

     
  • Morberis

    Morberis - 2020-12-28

    It looks like from that picture that the Standard library hasn't been added in your library manager. If you have added the libraries check the library manager in the device tree as well as the POU tab.

     
    πŸ‘
    1
  • TimvH

    TimvH - 2020-12-29

    It is best to add this standard library also to the library manager of your library (in the POU pool), so end-users will never have any problems when using your library.

     
    πŸ‘
    1

Log in to post a comment.