beckhoff — 9.5.2 TcEventHeader

API Table 31: Parameters TcEventLogger 182 Version: 1.1 TcEventHeader item DataType Description nClass TcEventClass [} 179] The class of the alarm, like alarm, warning, hint nPriority TcEventPriority [} 180] (long) The event priority. Since now the priority is always: TcEventPriority.TCEVENTPRIO IMPLICIT=0 _ dwFlags TcEventFlags [} 180] (long) The flags control the behavior of the alarm. That could be combined by a OR junction. dwUserData long A spare variable that can be used by the user. nId long The event id, that unique represent this type of event for this one Event Source.

nInvokeId long fDate VARIANT-DATE The date and time when this event occur nMs long The millisecond part of the event date varSource variant The source id source name. The event source is used to distinguish different device. Like I/O Event, or different parts of the PLC program. szFmtProgId BSTR string The PrgId of the formatter. If we want to use the standard XML formatter the string should bet set to "TcEventFormatter.TcXmlFormatter"