FindObjectItf

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
Inputs
Name | Type | Description |
|---|---|---|
iObject | I_BA_Object | Interface pointer to the subordinate object. |
Outputs
Name | Type | Description |
|---|---|---|
nResultIndex | DINT | Index of the object found. |
Return value
Name | Type | Description |
|---|---|---|
FindObjectItf | BOOL | This indicates whether an object has been found. |