File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 02.03.2023, 11:01:39 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpErrors2_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpErrors2_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsInterfaceLibrary bool True Released True LastModificationDateTime date 02.03.2023, 11:01:37 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace CmpErrors Description See: Description DocFormat reStructuredText Project CmpErrors2_Itfs Title CmpErrors2 Interfaces Version version 3.5.19.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
CmpEventMgr Implementation Library Documentation ¶ Company System Title CmpEventMgr Implementation Version 3.5.17.0 Categories System|SysLibs Author CODESYS Development GmbH Placeholder CmpEventMgr Implementation Description 1 ¶ This library provides access to the event manager of the runtime system. The event manager handles events from components (provider) and transmits these events via callbacks to IEC consumers (functions or function-blocks). Contents: ¶ EventClose2 (Function) EventCreate (Function) EventCreate2 (Function) EventCreateEventID (Function) EventDelete2 (Function) EventGetClass (Function) EventGetEvent (Function) EventOpen (Function) EventPost (Function) EventPost2 (Function) EventPostByEvent (Function) EventPostByEvent2 (Function) EventRegisterCallback (Function) EventRegisterCallback2 (Function) EventRegisterCallbackFunction (Function) EventRegisterCallbackFunction2 (Function) EventRegisteredCallbacks (Function) EventUnregisterCallback (Function) EventUnregisterCallbackFunction (Function) EventUnregisterCallbackFunction2 (Function) Indices and tables ¶ 1 Based on CmpEventMgr Implementation.library, last modified 20.04.2021, 15:40:14. LibDoc 4.4.0.0-b.27 The content file CmpEventMgr Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:40:15.
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
EventClose2 (FUN) ¶ FUNCTION EventClose2 : RTS_IEC_RESULT Close an event specified by handle InOut: Scope Name Type Comment Return EventClose2 RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Event handle
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 EventCreate2 RTS_IEC_HANDLE Input EventId UDINT Event ID of the event. Contains the class and the event CmpIdProvider UDINT Component ID of the provider nCallbacksPossible UDINT Maximum number of callbacks possible on this event or EVENT_CALLBACKS_NO_LIMIT for no limit Inout Result RTS_IEC_RESULT Error code
EventCreateEventID (FUN) ¶ FUNCTION EventCreateEventID : UDINT Create your own EventID InOut: Scope Name Type Comment Return EventCreateEventID UDINT Input Event UINT Event Class UINT Class, see classes in EventClass Inout Result RTS_IEC_RESULT Error code
CodeMOpen (FUN) ¶ FUNCTION CodeMOpen : RTS_IEC_HANDLE Open a license with the specified identifiers InOut: Scope Name Type Comment Return CodeMOpen RTS_IEC_HANDLE Handle to the CodeMeter container on which the license is installed or RTS_INVALID_HANDLE if not available! Input udiFirmCode UDINT FirmCode of the license udiProductCode UDINT ProductCode of the license udiFeatureCode UDINT Feature code of the license Inout Result RTS_IEC_RESULT Returns error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded
GlobalConstants ¶ EventIDs (GVL)
EventIDs (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant CMPID_CmpCodeMeter DWORD 16#7A EVTPARAMID_CMPCODEMETER_LICENSEACTIVATED WORD 16#1 EVTVERSION_CMPCODEMETER_LICENSEACTIVATED WORD 16#1 EVT_CMPCODEMETER_LICENSEACTIVATED DWORD (SHL(UINT_TO_DWORD(EVTCLASS_INFO), 16) OR 16#1)