Event Formatting The following table describes the nodes of the XML file TcEventLogger 124 Version: 1.1 Interface Description TcEventSource The only root element, it contains a list of Source nodes from 0 to infinite. Source Sub element of the TcEventSource node. This node is the configuration of a Source. The sub elements are Ids of the Source. 1 to infinite for the Source Name in different languages and 0 to infinite for the Events and Properties. id Sub element of the Source node. An Intger with the Source Id. Name Sub element of the Source node. The Source Name for the different languages. The language is defined by the attribute *LcId.
If no *LcId attribute exists, the *LcId 1033 (US-English) is used. Event Sub element of the Source node. This node is the configuration of a Event. The sub elements are Event id. a Message string for the different languages from 0 to infinite, ParaFormat is the format string for the Event data, the MustConfirm flag, the UserFlags, DocLinks from 0 to infintie and Property fron 0 to infinite. Property Sub element of the Source node. The property is displayed by name, value and comment. id Sub element of the Event node. A Integer with the Event Id. Message Sub element of the Event node. The Event message for the different Languages. The language is defined by the attribute *LcId.
If no *LcId attribute exists, the *LcId 1033 (US-English) is used. The eventData was assigned when the Event was started from the PLC module ADSLOGEVENT by setting the Flag from FALSE to TRUE or by calling the function ITcEventLogC::ReportEvent [} 138], ITcEventC3 ::ReportEventEx [} 143] or ITcEventLog:: ReportEvent [} 129]. It can added to the message with %1, %2, %,3 ... , %x is the number of the index of eventData. ParaFormat Sub element of the Event node. Defines a printf format description, that is used for eventData. The attribute ParaNo represents the Index of eventData for that the format string is used.