RecvDataTransfer
With this method, an OCPP server receives a Data Transfer request from an OCPP client. To respond to the request, the method RespDataTransfer must be called.
Syntax
METHOD RecvDataTransfer : BOOL
VAR_INPUT
hStationId : UDINT;
END_VAR
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
sVendorId : STRING(255);
sMessageId : STRING(63);
END_VAR
VAR_IN_OUT
sData : T_OCPP1_DataTransferData;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RecvDataTransfer | BOOL | The method returns the return value TRUE if the call was successful. A method call is also considered successfully completed in the event of an error. |
Inputs
Name | Type | Description |
---|---|---|
hStationId | UDINT | Identifier of the OCPP client in the instance of the OCPP server. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | MessageId of the received message. | |
sVendorId | STRING(255) | Identifier for the vendor-specific implementation. |
sMessageId | STRING(63) | Identifier for the individual message. |

Inputs/outputs
Name | Type | Description |
---|---|---|
sData | Text without specified length and format. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.