In general there is no library providing easy to use function blocks for the Network information currently, like CXA_OPCUAClient or CXA_EtherCatMaster. So you will have to directly use the CXA_DataLayer.DL_Read_NodeValue and read out the object (flatbuffer) and extract the information like in the examples mentioned above.
To get to know which flatbuffer you need to use check the ctrlX Data Layer viewer on your ctrlX CORE:
ctrlX Data Layer - system interfaces
By clicking on reference you will be redirected to the corresponding reference area:
ctrlX Data Layer - interface reference
In the ctrlX PLC Engineering then use add library and insert the flatbuffer to find the library where it is included:
ctrlX PLC Engineering - add library of flatbuffer
I will create an example how to read the complete object. Easy to use workaround would be to read all single nodes.
Beware that it seems only to available from version 2.02 on not in 1.20.
... View more