No option to create "Parameter List" in library

jtebokkel
2020-05-29
2024-10-07
  • jtebokkel

    jtebokkel - 2020-05-29

    I've seen parameter lists in other libraries, but I can't seem to be able to find any information on them in the docs. They are also not an option in the context menu.

    Have they been removed? What should be used instead?

    How are they accessed if they haven't been removed?

     
  • JAPIB

    JAPIB - 2020-06-10

    Hi,
    As you said this option has been deleted from from the current versions of CODESYS.
    But, there is a solution I used.

    You can dowload a library called "DebugLogger.library" here : https://forge.codesys.com/lib/debuglogger/home/Home/
    In this library there is a Parameter List.
    You can then copy or export this library into your own library and modify his name and the content to adapt the parameters to your needs.

    But be CAREFUL and only modify the usage parameters once in your project, otherwise you risk bizarre behavior of your application !! Especially if a library with parameters is called several times by other libraries, you risk modifying the same parameter several times.

    BR

     
  • hermsen

    hermsen - 2021-08-28

    Is there a workaround without the need of the deprecated Parameter List?

     
  • Ingo

    Ingo - 2021-08-29

    Currently I know no real successor. But (as a teaser) for SP18 I saw already concepts for defining constants per FB instance. With this it will be possible to scale buffers for each FB instance. I believe that this will substitute most uses for library parameters in a much better way.

     
    • egau - 2024-10-07

      Hi, pretty late to the party, but did the "defining constants per FB instance" actually became a thing? @ingo

       

Log in to post a comment.