07-20-2022 08:02 AM
Hello together
I have a project with OPC UA MES connection. I want to use the public interface status addons to get diagnose in error state.
Unfortunately I have more than 128 opc ua addons in my project.
After export I get error messages because the array idx is higher than maximum.
Is it possible to change the size of the array with an editable constant?
Thanks in advance
07-20-2022 03:42 PM - edited 07-20-2022 03:44 PM
Changing the library constant PUBLIC_INTERFACE_STATUS_MAX_SHOWN_MEMBERS to a library parameter will not help you, because the array size is also defined in the OSD file of the add-on. The HMI only uses the definition of the OSD file independently of the value in the PLC.
I am wondering about performance issues in the HMI if we increase the array too much. How many add-ons do you have?
Maybe we can also find another solution:
07-21-2022 02:32 PM
Hello Steffen
Thanks for reply.
Unfortunately I cannot change to my WorkProcess addons. We defined a standard sequence in our line and I don't to change this, staying line compatible.
Update to new CPS version will be done, so after that hopefully I can use PublicInterfaceStatus.
In my project I have 166 instances.
But DataSetAccess instances will be added as well.
Thanks