RecvCancelReservation

RecvCancelReservation 1:

With this method, an OCPP client receives a Cancel Reservation request from the corresponding OCPP server. To respond to the request, the method RespCancelReservation must be called.

RecvCancelReservation 2:

Syntax

METHOD RecvCancelReservation : BOOL
VAR_OUTPUT
    hMessageId     : T_OCPP_MessageId;
    nReservationId : UDINT;
END_VAR

RecvCancelReservation 3: Return value

Name

Type

Description

RecvCancelReservation

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.

RecvCancelReservation 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nReservationId

UDINT

ID of the reservation to be canceled.

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