GetObject

This method looks up an object using its index.
Syntax
VAR_INPUT
nIndex : DINT;
END_VAR
VAR_OUTPUT
iResult : I_BA_Object;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
iResult | I_BA_Object | Interface pointer to the subordinate object. |
Return value
Name | Type | Description |
|---|---|---|
GetObject | BOOL | This indicates whether the object searched for has been found. |
Inputs