EventCreate2 (FUN)
FUNCTION EventCreate2 : RTS_IEC_HANDLE
- Creates a new event object. If event still exists, a handle to this object will be returned.
An IEC event is typically created by the provider in FB_Init of a function block
- InOut:
Scope
Name
Type
Comment
Return
EventCreate2RTS_IEC_HANDLEInput
EventIdUDINTEvent ID of the event. Contains the class and the event
CmpIdProviderUDINTComponent ID of the provider
nCallbacksPossibleUDINTMaximum number of callbacks possible on this event or EVENT_CALLBACKS_NO_LIMIT for no limit
Inout
ResultRTS_IEC_RESULTError code