API 9.4.3 TcEventFlags This enum describes the event class. The event class can be set on issuing an alarm and can be used by the clients to distinguish different alarm classes. For e.g. the formatter displays for the different alarm class different icons. enum TcEventClass { TCEVENTFLAG_REQ=0x0001, TCEVENTFLAG_REQMUSTCON=0x0002, TCEVENTFLAG_CON=0x0004, TCEVENTFLAG_RESET=0x0008, TCEVENTFLAG_PRIOCLASS=0x0010, TCEVENTFLAG_FMTSELF=0x0020, TCEVENTFLAG_LOG=0x0040, TCEVENTFLAG_MSGBOX=0x0080, TCEVENTFLAG_SRCID=0x0100, TCEVENTFLAG_SELFRESET=0x0200, TCEVENTFLAG_TCID=0x0400, TCEVENTFLAG_SIGNAL=0x0800, TCEVENTFLAG_ADS=0x8000, }; Table 27:
Parameters 9.4.4 TcEventPriority This enum describes the event priority. Now only the implicit priority is available. enum TcEventPriority { TCEVENTPRIO_IMPLICIT=0, }; Table 28: Parameters Remarks The only priority that is defined by the enum is TCEVENTPRIO_IMPLICIT. For higher priorities the user uses an integer > TCEVENTPRIO_IMPLICIT. In every method where a priority is used the type long is used and not the type TcEventPriority. TcEventLogger 180 Version:
1.1 Item Description TCEVENTFLAG REQ _ sets the alarm that is not confirmable TCEVENTFLAG REQMUSTCON _ sets the alarm that is confirmable TCEVENTFLAG CON _ sets the confirmation TCEVENTFLAG RESET _ resets the event TCEVENTFLAG PRIOCLASS _ the event priority and class is read from the formatter configuration TCEVENTFLAG FMTSELF _ not used yet TCEVENTFLAG LOG _ writes the event to the list of logged events TCEVENTFLAG MSGBOX _ Not used yet TCEVENTFLAG SRCID _ We use a source id instead of a source name TCEVENTFLAG SELFRESET _ the event resets itself directly.
If TCEVENTFLAG LOG is set the _ event is visible in the list of logged alarms TCEVENTFLAG TCID _ not used TCEVENTFLAG SIGNAL _ signals a alarm again TCEVENTFLAG ADS _ indicates that the event is generated via ADS Item Description TCEVENTPRIO IMPLICIT _ The standard priority