Get

Get 1:

As soon as bBusy is FALSE and if no error has occurred (bError = FALSE), this method can be used to get a result from the queried list.

Syntax

METHOD Get        : HRESULT
VAR_INPUT
    nIndex        : UDINT;
    fbCauseRemedy : REFERENCE TO FB_TcCauseRemedy;
END_VAR

Get 2: Inputs

Name

Type

Description

nIndex

UDINT

Index in the list of cause/remedy elements to be queried.

fbCauseRemedy

Reference to FB_TcCauseRemedy

Reference to a FB_TcCauseRemedy in which the texts are stored.

Get 3: Outputs

Name

Type

Description

Get

HRESULT

S_OK on success

ADS_E_INVALIDSTATE if the query is still running.

ADS_E_INVALIDSIZE if an index is queried that is not assigned.