F_BACnet_GetObjectListIndex : DINT
Application
Function for determining the position of a BACnet object ID in a list of IDs. Returns the index (position) of the input object ID in a list, or -1. A BACnet object list provides the function block FB_BACnet_ObjectListProperty for the property Object_List.
VAR_INPUT
tObjectId : T_BACnet_ObjectIdentifier:=16#FFFFFFFF;
tObjectId: Specifies the object (Object_Identifier: object type and object instance) whose position is to be determined in the list.
VAR_IN_OUT
stObjIDList : ST_BACnet_ObjectIdentifierList;
stObjIDList: List of BACnet object IDs.
Return value: Position within the list (from 0 to length -1), or -1 if not present.