Call

The method is called in each cycle to write the values to the output buffer. The output buffer is sent as soon as it is filled.

Syntax

METHOD CALL : BOOL
VAR_INPUT
    pBuffer_U         : POINTER TO LREAL;
    pBuffer_I         : POINTER TO LREAL;
    nDataInSizePerCh  : UDINT;
    nOptionPars       : DWORD;
END_VAR

Call 1: Inputs

Name

Type

Description

pBuffer_U

POINTER TO LREAL

Pointer to an array of voltage values. These can be added individually or as an oversampling array.

pBuffer_I

POINTER TO LREAL

Pointer to an array of current values. These can be added individually or as an oversampling array.

nDataInSizePerCh

UDINT

Indicates the size of a single input buffer in bytes.