ReaderDiagnostics (FB)ΒΆ

FUNCTION_BLOCK PUBLIC FINAL ReaderDiagnostics EXTENDS Diagnostics IMPLEMENTS IReaderDiagnostics

Data structure for reporting diagnostic information
See IReaderDiagnostics for more details
InOut:

Scope

Name

Type

Comment

Inherited from

Input Const

eDiagnosticsLevel

DiagnosticsLevel

Diagnostics

Output

itfTotalInformation

IDiagnosticsCounter

Provides the sum of all counters in this Objectdiagnostics with DiagnosticsClassification.Information

Diagnostics

itfTotalError

IDiagnosticsCounter

Provides the sum of all counters in this Objectdiagnostics with DiagnosticsClassification.Error

Diagnostics

xSubError

BOOL

Indicates if any statistics Object of the next PubSublayer Objects shows a value > 0 in itfTotalError

Diagnostics

itfStateError

IDiagnosticsCounter

PubSub state machine changed to STATE.ERROR

Diagnostics

itfStateOperationalByMethod

IDiagnosticsCounter

State changed to STATE.OPERATIONAL triggered by Enable Method call.

Diagnostics

itfStateOperationalByParent

IDiagnosticsCounter

State changed to STATE.OPERATIONAL triggered by an operational parent.

Diagnostics

itfStateOperationalFromError

IDiagnosticsCounter

State changed from STATE.ERROR to STATE.OPERATIONAL

Diagnostics

itfStatePausedByParent

IDiagnosticsCounter

State changed to STATE.PAUSED triggered by a paused or disabled parent.

Diagnostics

itfStateDisabledByMethod

IDiagnosticsCounter

State changed to STATE.DISABLED triggered by Disable Method call.

Diagnostics

itfFailedDataSetMessages

IDiagnosticsCounter

e.g. because of unknown MajorVersion

uiMessageSequenceNumber

UINT

SequenceNumber of last DataSetMessage

eStatusCode

ERROR

Status of last DataSetMessage

udiMajorVersion

UDINT

MajorVersion of available DataSet Meta Data

udiMinorVersion

UDINT

MinorVersion of available Data Set Meta Data