RecvCancelReservation
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.
Syntax
METHOD RecvCancelReservation : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
nReservationId : UDINT;
END_VAR
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. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | 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.