PLC return values

The error output of all PLC function blocks of the Tc3_Database.compiled library takes place via the I_TcResultEvent interfaces from the Tc3_Eventlogger.compiled library. This new interface structure enables a more detailed description of events, as well as classification.

Interface I_TcMessage
    nEventId: UDINT;
    EventClass: GUID;
    eSeverity: TcEventSeverity;
    ipSourceInfo: I_TcSourceInfo;

nEventID: Specific event code

EventClass: GUID

EventClassName: The corresponding event class name can be read using the RequestEventClassName method

eSeverity: Event classification: from "Info" to "Critical error"

ipSourceInfo: Path to the event location.

Text: Description of the event in plain text can be read with the RequestEventText method

The following event classes can occur: