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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
After some asking around (they wish to remain nameless) I discovered that global parameter lists have been deprecated as of 3.5.15.0.
I'm guessing here that the idea is for future libraries to use Function Block Factories?
https://help.codesys.com/webapp/idx-CAA_FBFactory-lib;product=CAA_FBFactory;version=3.5.13.0
Last edit: jtebokkel 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
Is there a workaround without the need of the deprecated Parameter List?
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.
Hi, pretty late to the party, but did the "defining constants per FB instance" actually became a thing? @ingo