WriterDiagnostics (FB)ΒΆ

FUNCTION_BLOCK PUBLIC FINAL WriterDiagnostics EXTENDS Diagnostics IMPLEMENTS IWriterDiagnostics

Data structure for reporting diagnostic information
See IWriterDiagnostics 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

Number of failed DataSetMessages

uiMessageSequenceNumber

UINT

Sequencenumber of last DataSetMessage

eStatusCode

ERROR

Status of last DataSetMessage

udiMajorVersion

UDINT

MajorVersion used for DataSet

udiMinorVersion

UDINT

MinorVersion used for DataSet