FindObjectSbj

This method looks up the index of an object using the subject identifier.
Syntax
VAR_INPUT
sSbjIdentifier : REFERENCE TO T_BA_MedString;
nSbjIndex : UDINT := 0;
nSbjHash : DWORD := 0;
END_VAR
VAR_IN_OUT
nResultIndex : DINT;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
sSbjIdentifier | REFERENCE TO T_BA_MedString | Subject identifier of the object. |
nSbjIndex | UDINT | Index of the object. |
nSbjHash | DWORD | Hash value of the object. |
/
Inputs/Outputs
Name | Type | Description |
|---|---|---|
nResultIndex | DINT | Result index of the object to be found. |
Return value
Name | Type | Description |
|---|---|---|
FindObjectSbj | BOOL | This indicates whether an object exists. |