Read Array from DataLayer

Hi,

Is it possible to read the entire array from the datalayer to the PLC_APP? I've tried using the DL_ReadNode function block but i get access errors. I can successfully read individual dimensions but cant read the entire array. Any help would be much appreciated.

ย 

ย 

Best reply by CodeShepherd

Could you add a screenshot of the metadata of the arrays head element in the data layer? There you see which data type is used and what can be done (read,write...) to this node.

As you are trying to access OPC UA variables via our app you can use the corresponding library CXA_OPCUAClient for accessing one dimensional arrays in whole.ย 

View original
2 replies