FindObjectItf

FindObjectItf 1:

This method looks up the index of a subordinate object using the interface pointer of the object.

Syntax

VAR_INPUT
  iObject      : I_BA_Object;
END_VAR
VAR_OUTPUT
  nResultIndex  : DINT;
END_VAR

FindObjectItf 2: Inputs

Name

Type

Description

iObject

I_BA_Object

Interface pointer to the subordinate object.

FindObjectItf 3: Outputs

Name

Type

Description

nResultIndex

DINT

Index of the object found.

FindObjectItf 4: Return value

Name

Type

Description

FindObjectItf

BOOL

This indicates whether an object has been found.