7 OPC UA Types and Instances ToC Previous Next

7.12 IWwEventMessageType InterfaceType Definition ToC Previous Next

The IWwEventMessageType provides the common extensions for all events and conditions and is formally defined in Table 28. Each instance definition that includes this interface with a HasInterface reference defines the predefined extensions.

Table 28 – IWwEventMessageType Definiton

Attribute Value        
BrowseName IWwEventMessageType        
IsAbstract True        
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the 0:BaseInterfaceType defined in OPC 10001-7          
0:HasProperty Variable EventCategory WwEventCategoryEnumeration 0:PropertyType M, RO
0:HasProperty Variable MessageId 0:String 0:PropertyType M, RO
0:HasProperty Variable MessageName 0:String 0:PropertyType O, RO
0:HasProperty Variable PathParts 0:String[] 0:PropertyType M, RO
0:HasProperty Variable Group 0:String 0:PropertyType O, RO
0:HasProperty Variable LocalizedMessages 0:LocalizedText[] 0:PropertyType O, RO
0:HasProperty Variable Arguments WwMessageArgumentDataType[] 0:PropertyType O, RO

The EventCategory Variable provides the category of the event.

The MessageId Variable is a unique Identifier like a number or name of the message in the cause path (PathParts) determined Module. Example: “A4711” or “1”

The MessageName Variable is a short name like a number or title to reference a translation of the general message text. Example: “ID_MSG_EmergencyAlarm”.

The PathParts Variable is an array of Path information strings based on a server independent hierarchical structure of modules or an application specific expansion of that. It is an additional location information beside the SourceName. Example:

readme_files/image016.png

Key

1 = Machine with feed direction 	2 = Top preasure beam 	3 = Chain beam 	4 = Control 	5 = Sizing with 		Milling 1 and 		Milling 2 inside 	6 = Addition operation zone 	7 = Integrated enclosure 	8 = Fixed side 	9 = Movable side

|   “Machine”|   “FixedSide”|“Sizing”|   “Milling1”| |—|—|—|—|

Figure 12 – PathParts

The Group Variable specifies the class or group of the Message. The contents are set by the machine manufacturer. Examples are “safety”, “emergency”, “consumable”.

The LocalizedMessages Variable contains an array of localized messages corresponding to the installed server languages. The 0:Message property contains the content of of the LocalizedMessages entry, which corresponds to the currently set language of the session. There are no placeholders in the messages. The 0:Message property and the LocalizedMessages are all resolved.

The Arguments Variable is an argument that can be used to parameterize the message. The number of the indexing in the array corresponds to the placeholder number in the message text. This ensures that the formatting functions of the implementations enable the localized message texts to be created. If a client wants to use this feature, it has to use the MessageId. With this Id the raw message can be taken from a repository of the woodworking manufacturer. Then the placeholders can be resolved using the Arguments. The format of the raw message is up to the manufacturer.

Previous Next