ControllerConfigUtil.GetSubmoduleInfo (METH)

METHOD GetSubmoduleInfo : BOOL

Get the detailed Profinet SubmoduleInfo data from a Profinet Slave- / Module- / Submodule- node that is attached somewhere below a controller node.
Some Profinet config nodes may contain more than a single submodule, like for example the slave-node itself which contains at least one interface- and serveral port-submodules.
InOut:

Scope

Name

Type

Comment

Return

GetSubmoduleInfo

BOOL

Input

pnDevice

DED.IDevice

A Profinet Config node that contains submodule-data.

submoduleIndex

DINT

The index of the submodule within the device node (starting with 0)

Output

submodule

ProfinetCommon.SubmoduleInfo

The data of the current submodule. (Valid if return value is TRUE)