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