DiagnosisSource (STRUCT)

TYPE DiagnosisSource : STRUCT

The diagnosis source is the information where the diagnosis is located on the device.

The diagnosis source is defined by the tuple (API, Slot, Subslot, ChannelNumber, Direction, Accumulative).

A diagnosis source holds one to many diagnosis information.

InOut:

Name

Type

Initial

Comment

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

ChannelNumber

UINT

The channel number of the diagnosis source (0x8000 means the whole submodule)

Accumulative

BOOL

TRUE : the source is a channel group.

FALSE : the source is a specific channel or the whole submodule

Direction

DiagnosisDirection

DiagnosisDirection.Undefined

The direction of the affected IO-data