GetValue
![GetValue 1:](Images/jpg/13574060683__Web.jpg)
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
Return value
Name | Type | Description |
---|---|---|
GetValue | BOOL | The method returns the return value TRUE if the call was successful. |
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 |