EventCreate
(FUN)
FUNCTION EventCreate : 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
EventCreate
RTS_IEC_HANDLE
Input
EventId
UDINT
Event ID of the event. Contains the class and the event
CmpIdProvider
UDINT
Component ID of the provider
Inout
Result
RTS_IEC_RESULT
Error code