If I try to read a type STRING or BOOL, I can read data in PLC with function DL_ReadNode without problem. For exampIe: if declare Value as type Bool and I can read: system/resources/network/interfaces/XF10/ipForwarding
if I declare Value as type STRING, I canb read: system/resources/network/interfaces/XF10/mode
But If I try to read OBJECT: system/resources/network/interfaces/XF10/addresses DL_ReadNode return me always ACCES_ERROR(4).
In this example how I must declare Value to read: system/resources/network/interfaces/XF10/addresses with DL_ReadNode function?
I looked into this for awhile and I think we might be lacking the functionality or at least documentation to do this. First of all, it took me awhile to find the PLC library associated with the datalayer type definition "networkmanager_Address".
I only found it by browsing the documentation of each ctrlX library. I found some POUs in the CXA_DEVICEADMIN_FBS library that look like they are intended to handle these types of operations. There are not associated DUTs in the library.
There are not examples in the documentation on using the POUs. I haven't been successful in reading out the addresses. Here is my code for reference. I think this is close as the address string returns "<" when I have addresses configured and an empty string when I do not.