SendDataTransfer
With this method, an OCPP server sends a Data Transfer request to the corresponding OCPP client. The response from the OCPP client is processed directly within the method.
Syntax
METHOD SendDataTransfer : BOOL
VAR_INPUT
hStationId : UDINT;
sVendorId : STRING(255);
sMessageId : STRING(63) := '';
END_VAR
VAR_IN_OUT CONSTANT
sData : T_OCPP1_DataTransferData;
END_VAR
VAR_OUTPUT
eStatus : E_OCPP1_DataTransferStatus;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SendDataTransfer | 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. |
sVendorId | STRING(255) | Identifier for the vendor, which identifies the vendor-specific implementation. |
sMessageId | STRING(63) | Additional identification field for a single message. |

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