RecvDataTransfer

RecvDataTransfer 1:

With this method, an OCPP client receives a Data Transfer request from the corresponding OCPP server. To respond to the request, the method RespDataTransfer must be called.

RecvDataTransfer 2:

Syntax

METHOD RecvDataTransfer : BOOL
VAR_OUTPUT
    hMessageId : T_OCPP_MessageId;
    sVendorId  : STRING(255);
    sMessageId : STRING(63);
END_VAR
VAR_IN_OUT
    sData      : T_OCPP1_DataTransferData;
END_VAR

RecvDataTransfer 3: 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.

RecvDataTransfer 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

sVendorId

STRING(255)

Identifier for the vendor, which identifies the vendor-specific implementation.

sMessageId

STRING(63)

Additional identification field for a single message.

RecvDataTransfer 5:RecvDataTransfer 6: Inputs/outputs

Name

Type

Description

sData

T_OCPP1_DataTransferData

Text without specified length and format.

Possible errors are output at the outputs bError and hrErrorCode of the function block instance.