SysTargetGetId (FUN)

FUNCTION SysTargetGetId : RTS_IEC_RESULT

<description>Returns the TargetId.

NOTE: Highword of the TargetId is the VendorId! The VendorId is managed by 3S.

</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysTargetGetId

RTS_IEC_RESULT

Input

pulTargetId

POINTER TO DWORD

<param name=”pulTargetId” type=”OUT”>Pointer to the TargetId</param>