SubmoduleInfo (STRUCT)

TYPE SubmoduleInfo : STRUCT

This data structure assembles module/submodule identification- and status-data.

If xStateInformation is TRUE, then either some ModuleDiff-infomation has been received at startup or any diagnosis events (alarms) occured.

InOut:

Name

Type

Comment

ID

DWORD

unique (within project) ID of submodule. Use with CommFB function blocks.

API

UDINT

The application process identifier of the diagnosis source.

Slot

UINT

The slot number of the diagnosis source.

Subslot

UINT

The subslot number of the diagnosis source.

ModuleIdentNumber

UDINT

Module Identification number

SubmoduleIdentNumber

UDINT

Submodule Identification number

xEnabled

BOOL

Module is enabled.

xActive

BOOL

Submodule is part of an active connection. This does not necessarily mean that the transmitted IO data is valid (see IO-Provider State)!

xStateInformation

BOOL

field SubmoduleStatus indicates some diagostic information.

SubmoduleState

SubmoduleStatus

Submodule status with detailed information on diagnosis entries or configuration missmatch.