6.3 BaseLogEventType

This EventType can be used by an application to generate Events that provide log information.

Its representation in the AddressSpace is formally defined in Table 21.

Table 21 – BaseLogEventType definition
Attribute Value
BrowseName0:BaseLogEventType
IsAbstractTrue
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the 0:BaseEventType defined in OPC 10000-5.
0:HasPropertyVariableErrorCode0:StatusCode0:PropertyTypeO
0:HasPropertyVariableErrorCodeNode0:NodeId0:PropertyTypeO
0:HasPropertyVariableConditionClassId0:NodeId0:PropertyTypeM
0:HasPropertyVariableConditionClassName0:LocalizedText0:PropertyTypeM
0:HasPropertyVariableTraceContext0:TraceContextDataType0:PropertyTypeO
ConformanceUnits
LogObject BaseEvent

Events of this type can be generated by Servers that support LogObjects. The Event may be generated for propagation of this Event to an external LogObject.

ErrorCode is associated with the status related to the Node generating the LogRecord. It may be set to Good or Bad with no subcode, if no specific error is being reported. This field may be null or empty.

ErrorCodeNode is the NodeId of the Node related to the problem. This Node may be unrelated to the SourceNode. It may be null if no specific Node is related to the LogRecord.

The ConditionClassId and ConditionClassName in BaseEventType are made mandatory in this EventType.

The ConditionClassId shall be set to LogEntryConditionClassType.

TraceContext is an instance of TraceContextDataType (see 5.6.3). Although it is optional, it is recommended to be provided if the event results from an external action.