RecvReserveNow

RecvReserveNow 1:

With this method, an OCPP client receives a Reserve Now request from the corresponding OCPP server. To respond to the request, the method RespReserveNow must be called.

RecvReserveNow 2:

Syntax

METHOD RecvReserveNow : BOOL
VAR_OUTPUT
    hMessageId     : T_OCPP_MessageId;
    nConnectorId   : UDINT;
    nExpiryDate    : ULINT;
    sIdTag         : T_OCPP1_IdToken;
    sParentIdTag   : T_OCPP1_IdToken;
    nReservationId : UDINT;
END_VAR

RecvReserveNow 3: Return value

Name

Type

Description

RecvReserveNow

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.

RecvReserveNow 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nConnectorId

UDINT

Contains the ID of the Connector to be reserved.

nExpiryDate

ULINT

Date and time at which the reservation ends.

sIdTag

T_OCPP1_IdToken

ID tag for which the Connector is to be reserved.

sParentIdTag

T_OCPP1_IdToken

Optional parent ID tag.

nReservationId

UDINT

Unique ID for the reservation.

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