Hi all,
I am currently experimenting with namespaces in version 2023.6 of PLCNext Engineer and ran into a problem. I can’t seem to find a way to send namespaced data structures to the HMI. Is this possible or am I doing something wrong?
The symbol I created takes in a data structure called “Data” of type udt_HMI which belongs to the namespace CYCLONE.
image.pngIn my program I have a function block called CYC of type fb_CYCLONE and this function block contains the relevant data structure that I want to send to the HMI.
image.pngThe function block is configured to use the CYCLONE namespace, which, in this case, means that the data structure HMI is of type CYCLONE.udt_HMI. Same as the Data parameter required by the HMI symbol.
image.pngThe picture below shows the instantiation of the function block in the program.
image.pngYet, I cannot pass the CYCLONE.udt_HMI structure of the function block to the HMI symbol.
image.pngHere is the definition of the udt_HMI data structure inside the CYCLONE namespace.
image.png
Hi!
It can be visible as gsd variable, but for some reasons, hided as local variable with hmi access activated for program and fb pous.
But nevertheless can be reached in all cases by textual reference.
Namespace_test.7z.