EventDelete2 (FUN) ¶ FUNCTION EventDelete2 : RTS_IEC_RESULT Deletes an event specified by handle. InOut: Scope Name Type Comment Return EventDelete2 RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Event handle
EventGetClass (FUN) ¶ FUNCTION EventGetClass : UINT Extract the event class from eventid. Return value is the event class InOut: Scope Name Type Comment Return EventGetClass UINT Input EventId UDINT Event id
EventGetEvent (FUN) ¶ FUNCTION EventGetEvent : UINT Extract the event from eventid. Return value ist the event InOut: Scope Name Type Comment Return EventGetEvent UINT Input EventId UDINT Event ID
EventOpen (FUN) ¶ FUNCTION EventOpen : RTS_IEC_HANDLE Opens an existing event object. Can be used to check, if the event was created by the provider. If the event does not exist, an error code is returned. InOut: Scope Name Type Comment Return EventOpen RTS_IEC_HANDLE Input EventId UDINT EventID of the event. Contains the class and the event CmpIdProvider UDINT Component ID of the provider Inout Result RTS_IEC_RESULT Error code
EventPost (FUN) ¶ FUNCTION EventPost : RTS_IEC_RESULT Post or sent an event InOut: Scope Name Type Comment Return EventPost RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Event handle pEventParam POINTER TO EventParam Pointer to the event parameters
EventPost2 (FUN) ¶ FUNCTION EventPost2 : RTS_IEC_RESULT Post or sent an event InOut: Scope Name Type Comment Return EventPost2 RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Event handle pEventParam POINTER TO EventParam2 Pointer to the event parameters
EventPostByEvent (FUN) ¶ FUNCTION EventPostByEvent : RTS_IEC_RESULT Post an event direct without the event handle InOut: Scope Name Type Comment Return EventPostByEvent RTS_IEC_RESULT Input EventId UDINT Event ID of the event. Contains the class and the event CmpIdProvider UDINT Component ID of the provider pEventParam POINTER TO EventParam Pointer to the event parameters
EventPostByEvent2 (FUN) ¶ FUNCTION EventPostByEvent2 : RTS_IEC_RESULT Post an event direct without the event handle InOut: Scope Name Type Comment Return EventPostByEvent2 RTS_IEC_RESULT Input EventId UDINT Event ID of the event. Contains the class and the event CmpIdProvider UDINT Component ID of the provider pEventParam POINTER TO EventParam2 Pointer to the event parameters
EventRegisterCallback (FUN) ¶ FUNCTION EventRegisterCallback : RTS_IEC_HANDLE Register an callback method to an event. The callback must be an interface from an Iec function block! Result will be set to ERR_DUPLICATE if pICallback is already registered. InOut: Scope Name Type Comment Return EventRegisterCallback RTS_IEC_HANDLE Input hEvent RTS_IEC_HANDLE Handle to event pICallback ICmpEventCallback Interface ICmpEventCallback Inout Result RTS_IEC_RESULT Error code
EventRegisterCallback2 (FUN) ¶ FUNCTION EventRegisterCallback2 : RTS_IEC_HANDLE Register an callback method to an event. The callback must be an interface from an Iec function block! Result will be set to ERR_DUPLICATE if the combination of pICallback and pUserParameter is already registered. InOut: Scope Name Type Comment Return EventRegisterCallback2 RTS_IEC_HANDLE Input hEvent RTS_IEC_HANDLE Handle to event pICallback ICmpEventCallback Interface ICmpEventCallback pUserParameter POINTER TO BYTE Pointer to user parameter, that is transmitted to the callback (see EventParam) Inout Result RTS_IEC_RESULT Error code