CodeMGetContentByFirmcode2 (FUN) ¶ FUNCTION CodeMGetContentByFirmcode2 : RTS_IEC_RESULT Get the license entry stored on a CodeMeter container with the specified identifiers with the possibility to occupy a license. InOut: Scope Name Type Comment Return CodeMGetContentByFirmcode2 RTS_IEC_RESULT Returns error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded Input duiFirmcode UDINT FirmCode of the license duiProductcode UDINT ProductCode of the license bReleaseLicense BOOL TRUE: Release license so it can be used several from several instances FALSE: Don’t release license so it remains occupied and cannot be used by another instance Inout licenseEntry RTS_CMBOXENTRY Returns the content of the license entry
CodeMGetExpirationTime (FUN) ¶ FUNCTION CodeMGetExpirationTime : RTS_IEC_RESULT Get expiration time of an opened license InOut: Scope Name Type Comment Return CodeMGetExpirationTime RTS_IEC_RESULT Error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded Input hCodeMeter RTS_IEC_HANDLE Handle to the CodeMeter license container retrieved by CodeMOpen(). Inout dtExpiration DT Expiration time of the license
CodeMGetFirst (FUN) ¶ FUNCTION CodeMGetFirst : RTS_IEC_HANDLE Open the first CodeMeter license container InOut: Scope Name Type Comment Return CodeMGetFirst RTS_IEC_HANDLE Handle to the CodeMeter container or RTS_INVALID_HANDLE if not available! Inout Result RTS_IEC_RESULT Returns error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded
CodeMGetInfo (FUN) ¶ FUNCTION CodeMGetInfo : RTS_IEC_RESULT Get information of the opened CodeMeter device InOut: Scope Name Type Comment Return CodeMGetInfo RTS_IEC_RESULT Error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded Input hCodeMeter RTS_IEC_HANDLE Handle to the CodeMeter license container retrieved by CodeMOpen() or CodeMGetFirst / CodeMGetNext. Inout info RTS_CODEMETER_INFO Returns information about the specified CodeMeter license container
CodeMGetName (FUN) ¶ FUNCTION CodeMGetName : RTS_IEC_RESULT Get name of the opened CodeMeter container InOut: Scope Name Type Comment Return CodeMGetName RTS_IEC_RESULT Error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded Input hCodeMeter RTS_IEC_HANDLE Handle to the CodeMeter license container retrieved by CodeMOpen() or CodeMGetFirst / CodeMGetNext. Inout wstName WSTRING(255) Returns the name of the specified CodeMeter license container Input nLenBytes UDINT Maximum length of wstName: SIZEOF(wstName)
CodeMGetNext (FUN) ¶ FUNCTION CodeMGetNext : RTS_IEC_HANDLE Open the next CodeMeter license container InOut: Scope Name Type Comment Return CodeMGetNext RTS_IEC_HANDLE Handle to the CodeMeter container or RTS_INVALID_HANDLE if not available! Input hPrevCodeMeter RTS_IEC_HANDLE Handle to the previous CodeMeter license container retrieved by CodeMGetFirst / CodeMGetNext. Inout Result RTS_IEC_RESULT Returns error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded
CodeMGetQuantity (FUN) ¶ FUNCTION CodeMGetQuantity : RTS_IEC_RESULT Get quantity of the license InOut: Scope Name Type Comment Return CodeMGetQuantity RTS_IEC_RESULT Error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded Input hCodeMeter RTS_IEC_HANDLE Handle to the CodeMeter license container retrieved by CodeMOpen(). Inout udiQuantity UDINT Quantity of the license
CodeMGetUnitCounter (FUN) ¶ FUNCTION CodeMGetUnitCounter : RTS_IEC_RESULT Get the unit count InOut: Scope Name Type Comment Return CodeMGetUnitCounter RTS_IEC_RESULT Error code (see CmpErrors2 Interfaces Library) or ERR_OK if succeeded Input hCodeMeter RTS_IEC_HANDLE Handle to the CodeMeter license container retrieved by CodeMOpen(). Inout udiUnitCount UDINT Unit counter of the license
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpCrypto Interfaces ¶ Library Identification ¶ Name: CmpCrypto Interfaces Version: newest Company: System Namespace: CmpCrypto_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpCrypto Interfaces, * (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 01.04.2022, 08:12:33 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpCrypto Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpCrypto Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True SourceLibrary False LastModificationDateTime date 01.04.2022, 08:12:33 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description DocFormat reStructuredText Placeholder CmpCrypto Implementation Project CmpCrypto Implementation Title CmpCrypto Implementation Version version 3.5.18.0