TheAuditUpdateStateEventTypeis a subtype of the AuditUpdateMethodEventType. It can be used to generate an Eventidentifying that a Transitionof a StateMachinewas triggered. It is formally defined in Table 16.
Table 16– AuditUpdateStateEventType
Attribute |
Value |
|||||
BrowseName |
AuditUpdateStateEventType |
|||||
IsAbstract |
True |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
|
Subtype of the AuditUpdateMethodEventTypedefined in OPC 10000-5 |
||||||
HasProperty |
Variable |
OldStateId |
BaseDataType |
PropertyType |
Mandatory |
|
HasProperty |
Variable |
NewStateId |
BaseDataType |
PropertyType |
Mandatory |
|
Conformance Units |
||||||
Auditing UpdateStates |
The AuditUpdateStateEventTypeinherits the Propertiesof the AuditUpdateMethodEventType.
The inherited Property SourceNodeshall be filled with the NodeIdof the StateMachineinstance where the State changed. If the State changed in a SubStateMachine, then the NodeIdof the SubStateMachinehas to be used.
The SourceNamefor Eventsof this type should be the effect that generated the event (e.g. the name of a Method). If the effect was generated by a Methodcall, the SourceNameshould be the name of the Methodprefixed with "Method/".
OldStateIdreflects the Id of the state prior the change.
NewStateIdreflects the new Id of the state after the change.