ST_IPCDiag_ModuleList

The function block FB_IPCDiag_Register creates a list of all modules that are active on the system. Modules are parts of the MDP (Modular Device Profile) and contain diagnostic parameters that are hereby grouped.

Each module list is valid for one target system, which is specified via the AMS Net Id.

TYPE ST_IPCDiag_ModuleList :
STRUCT
    aModules  : ARRAY[0..255] OF ST_IPCDiag_Module;    (* array idx = nModId of the module *)
    nModules  : UINT;        (* number of all instantiated modules (max.256) *)
    sNetId    : T_AmsNetID;
END_STRUCT
END_TYPE

Detailed information on MDP addressing can be found in the documentation on the Beckhoff Device Manager.