Call

The method is called in each cycle to read the values from the input buffer when new data is present. The function block waits for input data if the method outputs neither new results nor an error. This is a regular behavior in the process of the analysis chain.

Syntax

METHOD CALL : HRESULT
VAR_INPUT
    pOutputData   : POINTER TO LREAL,
    nDataOutSize  : UDINT;
END_VAR

Call 1: Inputs

Name

Type

Description

pOutputData

POINTER TO LREAL

Pointer to the output buffer.

nDataOutSize

UDINT

Indicates the size of the output buffer in bytes.

Call 2: Return value

Name

Type

Description

Call

BOOL

Indicates whether the method was executed successfully. Further information is provided in the Event interface of the function block.