Description: Queries the first DATA_ID in an object table whose named entry field equals the supplied value.
Calling convention: CIP_GetDATAIDFromObjekctByUniqueKey("ObjectName": String, "EntryName": String, EntryValue: Integer): Integer
Parameters:
ObjectName: target object name.
EntryName: key entry belonging to the object.
EntryValue: key value; although registered as Integer, the implementation converts it to String.
Returns: Found DATA_ID. NULL input or an unknown object returns NULL; an unknown entry or no matching row currently leaves the result undefined.
Availability: Default with read access to the object's data table.
Example:
DataID := CIP_GetDATAIDFromObjekctByUniqueKey("Machines", "MachineCode", 120);