SendData
This method is called once to send data to the broker.
Syntax
METHOD SendData : BOOL
VAR_INPUT
pMachineStruct : PVOID;
nStructSize : UINT;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SendData | BOOL | The method returns the return value TRUE if the call was successful. |
Inputs
Name | Type | Description |
---|---|---|
pMachineStruct | PVOID | Address for the structure in which the device variables are declared. |
nStructSize | UINT | Size of the structure specified in pMachineStruct. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.