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