Call_1Ph_32Bit

The method is called to scale the 32-bit input data of type DINT according to the configured parameters.

Syntax

METHOD Call_1Ph_32Bit : BOOL
VAR_INPUT
    pInputBuffer_U     : POINTER TO DINT;
    pInputBuffer_I     : POINTER TO DINT
    nInputBufferSize   : UDINT;
    pOutputBuffer_U    : POINTER TO LREAL;
    pOutputBuffer_I    : POINTER TO LREAL;
    nOutputBufferSize  : UDINT;
END_VAR
VAR_OUTPUT
END_VAR

Call_1Ph_32Bit 1: Inputs

Name

Type

Description

pInputBuffer_U

POINTER TO DINT

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

pInputBuffer_I

POINTER TO DINT

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

nInputBufferSize

UDINT

Indicates the size of a single input buffer in bytes.

pOutputBuffer_U

POINTER TO LREAL

Pointer to an array in which the scaled voltage values are to be stored.

pOutputBuffer_I

POINTER TO LREAL

Pointer to an array in which the scaled current values are to be stored.

nOutputBufferSize

UDINT

Indicates the size of a single output buffer in bytes.

Call_1Ph_32Bit 2: Return value

Name

Type

Description

Call_1Ph_32Bit

BOOL

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