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_UL1        : POINTER TO LREAL;
    pBuffer_UL2        : POINTER TO LREAL;
    pBuffer_UL3        : POINTER TO LREAL;
    pBuffer_IL1        : POINTER TO LREAL;
    pBuffer_IL2        : POINTER TO LREAL;
    pBuffer_IL3        : POINTER TO LREAL;
    nDataInSizePerCh   : UDINT;
    nOptionPars        : DWORD;
END_VAR

Call 1: Inputs

Name

Type

Description

pBuffer_UL1 - UL3

POINTER TO LREAL

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

pBuffer_IL1 - IL3

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.