RecvChangeAvailability

RecvChangeAvailability 1:

With this method, an OCPP client receives a Change Availability request from the corresponding OCPP server. To respond to the request, the method RespChangeAvailability must be called.

RecvChangeAvailability 2:

Syntax

METHOD RecvChangeAvailability : BOOL
VAR_OUTPUT
    hMessageId   : T_OCPP_MessageId;
    nConnectorId : UDINT;
    eType        : E_OCPP1_AvailabilityType;
END_VAR

RecvChangeAvailability 3: Return value

Name

Type

Description

RecvChangeAvailability

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.

RecvChangeAvailability 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nConnectorId

UDINT

ID of the Connector of a Charge Point.

eType

E_OCPP1_AvailabilityType

Type of availability change that the Charge Point is to carry out.

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