GetValue

GetValue 1:

This method is called to access the value of the variable in the current command.

Syntax

METHOD GetValue : BOOL
VAR_INPUT
    pValue    : PVOID;
    nSize     : UDINT;
    eDatatype : E_IotCommunicatorDatatype;
END_VAR

GetValue 2: Return value

Name

Type

Description

GetValue

BOOL

The method returns the return value TRUE if the call was successful.

GetValue 3: Inputs

Name

Type

Description

pValue

PVOID

Address of the variable to which the received value is to be written.

nSize

UDINT

Size of the variable specified in pValue

eDatatype

E_IotCommunicatorDatatype

Data type of the variable specified in pValue, based on enum E_IotCommunicatorDatatype